TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 1 | version: '2' |
| 2 | networks: |
Bartek Grzybowski | e293ccd | 2020-06-10 12:14:34 +0200 | [diff] [blame] | 3 | front: |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 4 | driver: bridge |
| 5 | ipam: |
| 6 | config: |
| 7 | - gateway: "${IPGW}" |
| 8 | subnet: "${IPSUBNET}/28" |
| 9 | driver: default |
| 10 | services: |
| 11 | pnf-simulator-${I}: |
| 12 | container_name: pnf-simulator-${I} |
TamasBakai | 114c21c | 2019-03-19 09:56:28 +0000 | [diff] [blame] | 13 | image: nexus3.onap.org:10003/onap/masspnf-simulator:1.0.0-SNAPSHOT |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 14 | networks: |
Bartek Grzybowski | e293ccd | 2020-06-10 12:14:34 +0200 | [diff] [blame] | 15 | front: |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 16 | ipv4_address: "${IPPNFSIM}" |
| 17 | volumes: |
| 18 | - ./logs:/var/log |
| 19 | - ./json_schema:/json_schema |
TamasBakai | 114c21c | 2019-03-19 09:56:28 +0000 | [diff] [blame] | 20 | - ./config/config.yml:/config/config.yml:rw |
| 21 | - ./files/:/files/:rw |
RehanRaza | c5121c5 | 2019-04-04 12:42:15 +0000 | [diff] [blame] | 22 | environment: |
| 23 | TZ: "${TIMEZONE}" |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 24 | env_file: |
| 25 | - ./config/netconf.env |
| 26 | restart: on-failure |
| 27 | |
| 28 | sftp-server-${I}: |
Bartek Grzybowski | 1fbf854 | 2020-06-10 15:16:23 +0200 | [diff] [blame] | 29 | container_name: sftp-server-${I} |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 30 | image: atmoz/sftp:alpine |
| 31 | networks: |
Bartek Grzybowski | e293ccd | 2020-06-10 12:14:34 +0200 | [diff] [blame] | 32 | front: |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 33 | ipv4_address: "${IPSFTP}" |
TamasBakai | b59bffb | 2019-03-22 09:52:03 +0000 | [diff] [blame] | 34 | ports: |
| 35 | - "${PORTSFTP}:22" |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 36 | volumes: |
| 37 | - ./files/onap/:/home/onap/ |
Bartek Grzybowski | 633caca | 2020-05-15 06:23:38 -0700 | [diff] [blame] | 38 | - ./fix-sftp-perms.sh:/etc/sftp.d/fix-sftp-perms.sh |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 39 | restart: on-failure |
| 40 | command: onap:pano:1001 |
| 41 | |
| 42 | ftpes-server-vsftpd-${I}: |
Bartek Grzybowski | 1fbf854 | 2020-06-10 15:16:23 +0200 | [diff] [blame] | 43 | container_name: ftpes-server-vsftpd-${I} |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 44 | image: docker.io/panubo/vsftpd |
| 45 | networks: |
Bartek Grzybowski | e293ccd | 2020-06-10 12:14:34 +0200 | [diff] [blame] | 46 | front: |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 47 | ipv4_address: "${IPFTPS}" |
TamasBakai | b59bffb | 2019-03-22 09:52:03 +0000 | [diff] [blame] | 48 | ports: |
Bartek Grzybowski | 3161bfe | 2020-02-19 13:37:31 +0100 | [diff] [blame] | 49 | - "${PORTFTPS}:21" |
| 50 | - "${FTPS_PASV_MIN}-${FTPS_PASV_MAX}:${FTPS_PASV_MIN}-${FTPS_PASV_MAX}" |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 51 | environment: |
| 52 | FTP_USER: onap |
| 53 | FTP_PASSWORD: pano |
| 54 | PASV_ADDRESS: localhost |
Bartek Grzybowski | 7d43e6c | 2020-02-19 09:55:02 +0100 | [diff] [blame] | 55 | PASV_MIN_PORT: ${FTPS_PASV_MIN} |
TamasBakai | e781c7c | 2019-07-11 11:26:20 +0000 | [diff] [blame] | 56 | PASV_MAX_PORT: ${FTPS_PASV_MAX} |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 57 | volumes: |
| 58 | - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro |
| 59 | - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro |
| 60 | - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro |
| 61 | - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro |
RehanRaza | 48f9204 | 2019-03-20 08:12:55 +0000 | [diff] [blame] | 62 | - ./files/onap/:/srv/ |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 63 | restart: on-failure |
| 64 | command: vsftpd /etc/vsftpd_ssl.conf |