Adding compose example
This commit is contained in:
parent
9d39d54f58
commit
2cc6ab0808
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal 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"
|
Loading…
Reference in New Issue
Block a user