Skip to content

Commit

Permalink
docs(readme): adds missing UID and GID env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
garethflowers committed Nov 24, 2024
1 parent e5234ff commit 056f99a
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ docker run \

```yml
services:
ftp-server:
container_name: my-ftp-server
environment:
- PUBLIC_IP=192.168.0.1
- FTP_PASS=123
- FTP_USER=user
image: garethflowers/ftp-server
ports:
- "20-21:20-21/tcp"
- "40000-40009:40000-40009/tcp" # For passive mode
volumes:
- "/data:/home/user"
ftp-server:
container_name: my-ftp-server
environment:
- PUBLIC_IP=192.168.0.1
- FTP_PASS=123
- FTP_USER=user
image: garethflowers/ftp-server
ports:
- "20-21:20-21/tcp"
- "40000-40009:40000-40009/tcp" # For passive mode
volumes:
- "/data:/home/user"
```
## Configuration
Expand All @@ -59,6 +59,8 @@ services:
| ----------- | ------------- | ------------------------------------------------- |
| `FTP_PASS` | `bar` | The FTP password |
| `FTP_USER` | `foo` | The FTP username |
| `UID` | `1000` | User ID for the `$FTP_USER` user |
| `GID` | `1000` | Group ID for the `$FTP_USER` user |
| `PUBLIC_IP` | `0.0.0.0` | Public IP address to use for Passive connections. |

## License
Expand Down

0 comments on commit 056f99a

Please sign in to comment.