update base image; add compose file
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
This is a micro-service image for VSFTPD.
|
||||
|
||||
It is a fork from [panubo's docker-vsftpd](https://github.com/panubo/docker-vsftpd) (thanks!) and slightly modified to suit my needs:
|
||||
* Update base image to `debian:latest`
|
||||
* Support for configurable min and max port in passive mode
|
||||
by templating the config files (via envsubst)
|
||||
|
||||
There are a few limitations but it will work if you are using host networking
|
||||
`--net host` or have a direct/routed network between the Docker container and
|
||||
the client.
|
||||
@@ -33,6 +38,10 @@ which is in the _whois_ debian package.
|
||||
- `FTP_PASV_ADDRESS`: override the IP address that vsftpd will advertise in
|
||||
response to the PASV command
|
||||
|
||||
- `FTP_PASV_MIN_PORT`: Minimum port for passive mode (remember to bind the ports if not used with compose file)
|
||||
|
||||
- `FTP_PASV_MAX_PORT`: Maximum port for passive mode (remember to bind the ports if not used with compose file)
|
||||
|
||||
## Usage Example
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user