Advertisement
Guest User

Untitled

a guest
May 10th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.69 KB | None | 0 0
  1. version: '2'
  2. services:
  3.   ftpdserver:
  4.     image: docker.io/stilliard/pure-ftpd:hardened
  5.     ports:
  6.      - "21:21"
  7.       - "30000:30000"
  8.       - "30001:30001"
  9.       - "30002:30002"
  10.       - "30003:30003"
  11.       - "30004:30004"
  12.       - "30005:30005"
  13.       - "30006:30006"
  14.       - "30007:30007"
  15.       - "30008:30008"
  16.       - "30009:30009"
  17.     volumes:
  18.      - "/home/ubuntu/apps/upload:/home/ftpusers"
  19.       - "/home/ubuntu/apps/configs/ftp:/etc/pureftpd"
  20.     environment:
  21.       PUBLICHOST: "54.193.59.226"
  22.     restart: always
  23.  
  24.  
  25.     pure-pw useradd pyware -f /etc/pure-ftpd/passwd/pureftpd.passwd -m -u ftpuser -d /home/ftpusers/pyware
  26.  
  27. - FTP_PASSWORD: qUe69-Rx
  28. - FTP_USERNAME: pyware
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement