forked from stilliard/docker-pure-ftpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
32 lines (31 loc) · 989 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: "3.8"
services:
pure_ftpd:
# image: stilliard/pure-ftpd
build:
context: .
args:
BANNER: "---------- Welcome to SocialGouv Pure-FTPd [TLS] ----------"
container_name: pure-ftpd
# user: "1001:1001"
ports:
- "2121:2121"
- "30000-30009:30000-30009"
# volumes:
# - "$PWD/data:/home/ftpusers/dev/"
# - "$PWD/passwd/:/pureftpd/etc/passwd/"
# # or ssl/tls with Let's Encrypt (cert and key as two files)
# - "/etc/letsencrypt/live/<your_server>/cert.pem:/etc/ssl/private/pure-ftpd-cert.pem"
# - "/etc/letsencrypt/live/<your_server>/privkey.pem:/etc/ssl/private/pure-ftpd-key.pem"
environment:
PUBLICHOST: "localhost"
FTP_USER_NAME: dev
FTP_USER_PASS: dev
# FTP_USER_HOME: /home/ftpusers/dev
TLS_CN: "localhost"
TLS_ORG: "SocialGouv"
TLS_C: "FR"
ADDED_FLAGS: "--tls=1 --verboselog"
# # dev only
TLS_USE_DSAPRAM: "true"
restart: "no"