-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
59 lines (55 loc) · 1.23 KB
/
docker-compose.test.yml
File metadata and controls
59 lines (55 loc) · 1.23 KB
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
55
56
57
58
59
services:
sftp:
image: atmoz/sftp:latest
ports:
- "2222:22"
command: ["testuser:testpass:1001:100:upload"]
healthcheck:
test: ["CMD", "pgrep", "sshd"]
interval: 15s
timeout: 10s
retries: 10
start_period: 15s
ftp:
image: fauria/vsftpd:latest
ports:
- "21:21"
- "21000-21010:21000-21010"
environment:
FTP_USER: testuser
FTP_PASS: testpass
PASV_ADDRESS: localhost
PASV_MIN_PORT: 21000
PASV_MAX_PORT: 21010
volumes:
- ftp-data:/home/vsftpd
healthcheck:
test: ["CMD", "pgrep", "vsftpd"]
interval: 15s
timeout: 10s
retries: 10
start_period: 15s
localstack:
image: localstack/localstack:latest
ports:
- "4566:4566"
environment:
LOCALSTACK_AUTH_TOKEN: ${LOCALSTACK_AUTH_TOKEN:-}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4566/_localstack/health"]
interval: 15s
timeout: 10s
retries: 10
start_period: 30s
webdav:
image: hacdias/webdav:latest
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./webdav-config.yml:/config.yaml:ro
- webdav-data:/data
volumes:
sftp-data:
ftp-data:
webdav-data: