update base image; add compose file
This commit is contained in:
16
compose.yml
Normal file
16
compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
vsftpd:
|
||||
container_name: vsftpd
|
||||
image: wululu/vsftpd:${VERSION:-2.0}
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
VERSION: ${VERSION:-2.0}
|
||||
volumes:
|
||||
- ./data:/srv
|
||||
- ./config:/etc/vsftpd
|
||||
- ./logs:/var/log
|
||||
ports:
|
||||
- "${FTP_PORT:-21}:21"
|
||||
- "${FTP_PASV_MIN_PORT:-4559}-${FTP_PASV_MAX_PORT:-4564}:${FTP_PASV_MIN_PORT:-4559}-${FTP_PASV_MAX_PORT:-4564}"
|
||||
env_file: .env
|
||||
Reference in New Issue
Block a user