Adding compose example

This commit is contained in:
Dan Hamik 2024-11-22 22:28:36 -06:00
parent 9d39d54f58
commit 2cc6ab0808

17
docker-compose.yml Normal file
View File

@ -0,0 +1,17 @@
services:
proftpd:
image: git.hamik.net/paradizelost/proftpd:1.0
container_name: proftpd
restart: always
ports:
- "20:20"
- "21:21"
- "50000-50100:50000-50100"
network_mode: "host"
environment:
FTP_LIST: "${FTPUSER}:${FTPPASS}"
USERADD_OPTIONS: "-o --gid 33 --uid 33"
PASSIVE_MIN_PORT: 50000
PASSIVE_MAX_PORT: 50100
volumes:
- "/docker/consume:/home/scanner"