Skip to content

Instantly share code, notes, and snippets.

@taufiqibrahim
Created April 18, 2022 17:42
Show Gist options
  • Save taufiqibrahim/5f57b111c8577d105c30aaa4c4b18bd4 to your computer and use it in GitHub Desktop.
Save taufiqibrahim/5f57b111c8577d105c30aaa4c4b18bd4 to your computer and use it in GitHub Desktop.
version: '3'
services:
ftpd_server:
image: stilliard/pure-ftpd
container_name: pure-ftpd
ports:
- "21:21"
- "30000-30009:30000-30009"
volumes: # remember to replace /folder_on_disk/ with the path to where you want to store the files on the host machine
- "/ftpdata/ftpuser/buckets:/home/ftpuser/"
- "/ftpdata/ftpuser/passwd:/etc/pure-ftpd/passwd"
environment:
PUBLICHOST: "localhost"
FTP_USER_NAME: ftpuser
FTP_USER_PASS: changeme
FTP_USER_HOME: /home/ftpuser
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment