Merge pull request #1 from arne-cl/patch-1

fixed usage examples and typo in README
This commit is contained in:
Alexander Chumakov 2018-11-04 17:59:44 +03:00 committed by GitHub
commit 67b4454357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,8 @@ Small and flexible docker image with vsftpd server
docker run -d \
-p 21:21 \
-p 21000-21010:21000-21010 \
-e USERS="one|1234"
-e ADDRESS=ftp.site.domain
-e USERS="one|1234" \
-e ADDRESS=ftp.site.domain \
delfer/alpine-ftp-server
```
@ -17,9 +17,9 @@ docker run -d \
Environment variables:
- `USERS` - space and `|` separated list (optional, default: `ftp|alpineftp`)
- format `name1|password1|[folder1][|uid1] name2|password2|[folder2][|uid2]`
- `ADDRESS` - external address witch clients can connect passive ports (optonal)
- `MIN_PORT` - minamal port number may be used for passive connections (optonal, default `21000`)
- `MAX_PORT` - maximal port number may be used for passive connections (optonal, default `21010`)
- `ADDRESS` - external address witch clients can connect passive ports (optional)
- `MIN_PORT` - minamal port number may be used for passive connections (optional, default `21000`)
- `MAX_PORT` - maximal port number may be used for passive connections (optional, default `21010`)
## USERS examples