Skip to content

Commit

Permalink
docs: Display name
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 26, 2024
1 parent 7f1962f commit 297123e
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
image: dockurr/samba
container_name: samba
environment:
NAME: "Data"
USER: "samba"
PASS: "secret"
ports:
Expand All @@ -39,22 +40,34 @@ docker run -it --rm -p 445:445 -e "USER=samba" -e "PASS=secret" -v "/home/exampl

## Configuration ⚙️

### How do I choose the shared folder?
### How do I choose the location of the shared folder?

To change the location of the shared folder, include the following bind mount in your compose file:
To change the location of the shared folder, include the following bind mount in your compose file:

```yaml
volumes:
- /home/example:/storage
```
```yaml
volumes:
- /home/example:/storage
```
Replace the example path `/home/example` with the desired folder.

### How do I modify the display name of the shared folder?

You can change the display name of the shared folder by adding the following environment variable:

```yaml
environment:
NAME: "Data"
```

### How do I connect tot the shared folder?

Replace the example path `/home/example` with the desired folder.
To connect to the shared folder enter: `\\192.168.0.2\Data` in Windows Explorer.

> [!NOTE]
> The name of the share will be `Data`, so to connect to it enter: `\\192.168.0.2\Data` in Windows Explorer (replace the example IP address with that of your host).
>
> [!NOTE]
> Replace the example IP address above with that of your host.

### How do I modify the credentials?
### How do I modify the default credentials?

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

Expand Down

0 comments on commit 297123e

Please sign in to comment.