From 2cc6ab0808e0a436faed38e4ac3c02fd2e6f076c Mon Sep 17 00:00:00 2001 From: Dan Hamik Date: Fri, 22 Nov 2024 22:28:36 -0600 Subject: [PATCH] Adding compose example --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..18f2cbf --- /dev/null +++ b/docker-compose.yml @@ -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"