Created
April 18, 2022 17:42
-
-
Save taufiqibrahim/5f57b111c8577d105c30aaa4c4b18bd4 to your computer and use it in GitHub Desktop.
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 characters
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