forked from ebarault/pimp-my-port21
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (49 loc) · 1.4 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version : '2'
services:
admin:
build:
context: .
dockerfile: Dockerfile-admin-aws
volumes:
- ftpdata:/var/proftpd/
- ftplimits:/etc/proftpd/conf.d
- ./conf.yml:/users/conf.yml
- ./ssl/:/var/ssl/
- ./acme_config/:/etc/acme/
environment:
- SETUP_REFRESH_FREQUENCY=3600
- USER_CONF_ROOT=/users
ftps:
depends_on:
- admin
build:
context: .
dockerfile: Dockerfile-proftpd-alpine-source
ports:
- "21:21"
- "30000-30099:30000-30099" # passive ports
volumes:
- ftpdata:/var/proftpd/
- ftplimits:/etc/proftpd/conf.d
- ./ssl/:/var/ssl/
environment:
- SETUP_REFRESH_FREQUENCY=3600
- PROFTPD_CONF_FILE=/etc/proftpd/proftpd_ftps.conf
- FTPS_REQUIRED=FALSE
sftp:
depends_on:
- admin
build:
context: .
dockerfile: Dockerfile-proftpd-alpine-source
ports:
- "2200:22"
volumes:
- ftpdata:/var/proftpd/
- ftplimits:/etc/proftpd/conf.d
- ./ssl/:/var/ssl/
environment:
- PROFTPD_CONF_FILE=/etc/proftpd/proftpd_sftp.conf
volumes:
ftpdata:
ftplimits: