Skip to content

Commit

Permalink
docs: Add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 14, 2024
1 parent 64c9b4e commit dbaff71
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,23 @@ docker run -it --rm -p 445:445 -e "USER=samba" -e "PASS=secret" -v "/home/exampl

You can set the `USER` and `PASS` environment variables to modify the credentials from their default values: user `samba` with password `secret`.

```yaml
environment:
USER: "samba"
PASS: "secret"
```

### How do I modify the permissions?

You can set `UID` and `GID` environment variables to change the user and group ID.

To mark the share as read-only, add the variable `RW: false`.
```yaml
environment:
UID: "1002"
GID: "1005"
```

To mark the share as read-only, add the variable `RW: "false"`.
### How do I modify other settings?
Expand Down

0 comments on commit dbaff71

Please sign in to comment.