You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tai f8071aaa63 Made app specific guides more consistent 3 years ago
..
README.md Made app specific guides more consistent 3 years ago

README.md

Minimum File structure

/home/
└── ~/
    └── docker/
        └── pureftpd/
            ├── .env
            ├── docker-compose.yml

Notes

Make sure port 521 is open on your firewall or ufw. Do not use Caddy for this. Just docker-compose up -d when you are done.

Connect to the ftp server with your IP:521 and the USERNAME + PASS set in .env.

.env

FTP_USER_NAME=
FTP_USER_PASS=
FTP_USER_HOME=/home/

docker-compose.yml

version: '3'

services:
  ftpd_server:
    image: stilliard/pure-ftpd
    container_name: ftp
    ports:
      - "521:21"
      - "30000-30009:30000-30009"
    volumes:
      - "./:/home/admin/test"
      - "./:/etc/pure-ftpd/passwd"
# uncomment for ssl/tls
#      - "./:/etc/ssl/private/"
    environment:
      PUBLICHOST: "localhost"
      FTP_USER_NAME: ${FTP_USER_NAME}
      FTP_USER_PASS: ${FTP_USER_PASS}
      FTP_USER_HOME: ${FTP_USER_HOME}
# also for ssl/tls:
#      ADDED_FLAGS: "--tls=2"
    restart: unless-stopped