blob: 4d2d32984997acacc803fbf2a8203096bb238cf7 [file] [log] [blame]
TamasBakai9b780332019-02-15 08:38:16 +00001version: '3'
2
3services:
4
5 sftp-server1:
6 container_name: sftp-server1
7 image: atmoz/sftp:alpine
8 ports:
9 - "1022:22"
10 volumes:
11 - ./files/onap/:/home/onap/
12 restart: on-failure
13 command: onap:pano:1001
14
15 ftpes-server-vsftpd:
16 container_name: ftpes-server-vsftpd
17 image: docker.io/panubo/vsftpd
18 ports:
19 - "21:21"
20 - "8001-8010:8001-8010"
21 environment:
22 FTP_USER: onap
23 FTP_PASSWORD: pano
24 PASV_ADDRESS: localhost
25 PASV_MIN_PORT: 8001
26 PASV_MAX_PORT: 8010
27 volumes:
28 - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
29 - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
30 - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
31 - ./configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
32
33 - ./files/onap/0.5MB.tar.gz:/srv/0.5MB.tar.gz:ro
34 - ./files/onap/1MB.tar.gz:/srv/1MB.tar.gz:ro
35 - ./files/onap/5MB.tar.gz:/srv/5MB.tar.gz:ro
36 - ./files/onap/10MB.tar.gz:/srv/10MB.tar.gz:ro
37 restart: on-failure
38 command: vsftpd /etc/vsftpd_ssl.conf
39