Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- ftpdserver:
- image: docker.io/stilliard/pure-ftpd:hardened
- ports:
- - "21:21"
- - "30000:30000"
- - "30001:30001"
- - "30002:30002"
- - "30003:30003"
- - "30004:30004"
- - "30005:30005"
- - "30006:30006"
- - "30007:30007"
- - "30008:30008"
- - "30009:30009"
- volumes:
- - "/home/ubuntu/apps/upload:/home/ftpusers"
- - "/home/ubuntu/apps/configs/ftp:/etc/pureftpd"
- environment:
- PUBLICHOST: "54.193.59.226"
- restart: always
- pure-pw useradd pyware -f /etc/pure-ftpd/passwd/pureftpd.passwd -m -u ftpuser -d /home/ftpusers/pyware
- - FTP_PASSWORD: qUe69-Rx
- - FTP_USERNAME: pyware
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement