blob: 466ca5642ca609136debf7eb7a78cfebb21f198c [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:
RehanRazad75f6132019-02-19 14:21:30 +000011 - ./files/onap/sftp/:/home/onap/
TamasBakai9b780332019-02-15 08:38:16 +000012 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
RehanRazad75f6132019-02-19 14:21:30 +000033 - ./files/onap/ftps/:/srv/
TamasBakai9b780332019-02-15 08:38:16 +000034 restart: on-failure
35 command: vsftpd /etc/vsftpd_ssl.conf
36