TamasBakai | 9b78033 | 2019-02-15 08:38:16 +0000 | [diff] [blame] | 1 | version: '3' |
| 2 | |
| 3 | services: |
| 4 | |
| 5 | sftp-server1: |
| 6 | container_name: sftp-server1 |
| 7 | image: atmoz/sftp:alpine |
| 8 | ports: |
| 9 | - "1022:22" |
| 10 | volumes: |
RehanRaza | d75f613 | 2019-02-19 14:21:30 +0000 | [diff] [blame] | 11 | - ./files/onap/sftp/:/home/onap/ |
TamasBakai | 9b78033 | 2019-02-15 08:38:16 +0000 | [diff] [blame] | 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 | |
RehanRaza | d75f613 | 2019-02-19 14:21:30 +0000 | [diff] [blame] | 33 | - ./files/onap/ftps/:/srv/ |
TamasBakai | 9b78033 | 2019-02-15 08:38:16 +0000 | [diff] [blame] | 34 | restart: on-failure |
| 35 | command: vsftpd /etc/vsftpd_ssl.conf |
| 36 | |