Last active
August 15, 2020 08:57
-
-
Save bluetoothfx/0890109e2e84fdca3a982892ed0a3c17 to your computer and use it in GitHub Desktop.
Revisions
-
bluetoothfx renamed this gist
Aug 15, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
bluetoothfx created this gist
Aug 15, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ version: '2' # Usage example: https://github.com/stilliard/docker-pure-ftpd/wiki/Docker-stack-with-Wordpress-&-FTP # repo: https://github.com/stilliard/docker-pure-ftpd services: ftpd_server: image: stilliard/pure-ftpd container_name: pure-ftpd ports: - "1700:21" - "30000-30099:30000-30099" volumes: # remember to replace /folder_on_disk/ with the path to where you want to store the files on the host machine - "/home/ftpfiles/data:/home/linuxftp/" - "./passwd:/etc/pure-ftpd/passwd" # uncomment for ssl/tls, see https://github.com/stilliard/docker-pure-ftpd#tls # - "/folder_on_disk/ssl:/etc/ssl/private/" environment: PUBLICHOST: "YOUR.SERVER.IP.ADDRESS" FTP_USER_NAME: linuxftp FTP_USER_PASS: mystrongpass123 FTP_USER_HOME: /home/linuxftp FTP_MAX_CLIENTS: 50 FTP_PASSIVE_PORTS: 30000:30099 # also for ssl/tls: # ADDED_FLAGS: "--tls=2" restart: always