TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 1 | version: '2' |
| 2 | networks: |
| 3 | front-${I}: |
| 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: |
| 15 | front-${I}: |
| 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}: |
| 29 | container_name: sftp-server-$I |
| 30 | image: atmoz/sftp:alpine |
| 31 | networks: |
| 32 | front-${I}: |
| 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/ |
| 38 | restart: on-failure |
| 39 | command: onap:pano:1001 |
| 40 | |
| 41 | ftpes-server-vsftpd-${I}: |
| 42 | container_name: ftpes-server-vsftpd-$I |
| 43 | image: docker.io/panubo/vsftpd |
| 44 | networks: |
| 45 | front-${I}: |
| 46 | ipv4_address: "${IPFTPS}" |
TamasBakai | b59bffb | 2019-03-22 09:52:03 +0000 | [diff] [blame] | 47 | ports: |
TamasBakai | e781c7c | 2019-07-11 11:26:20 +0000 | [diff] [blame^] | 48 | - "${PORTFTPS}:21" |
| 49 | - "${FTPS_PASV_MIN}-${FTPS_PASV_MAX}:${FTPS_PASV_MIN}-${FTPS_PASV_MAX}" |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 50 | environment: |
| 51 | FTP_USER: onap |
| 52 | FTP_PASSWORD: pano |
| 53 | PASV_ADDRESS: localhost |
TamasBakai | e781c7c | 2019-07-11 11:26:20 +0000 | [diff] [blame^] | 54 | PASV_MIN_PORT: ${FTPS_PASV_MIN} |
| 55 | PASV_MAX_PORT: ${FTPS_PASV_MAX} |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 56 | volumes: |
| 57 | - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro |
| 58 | - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro |
| 59 | - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro |
| 60 | - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro |
RehanRaza | 48f9204 | 2019-03-20 08:12:55 +0000 | [diff] [blame] | 61 | - ./files/onap/:/srv/ |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 62 | restart: on-failure |
| 63 | command: vsftpd /etc/vsftpd_ssl.conf |
| 64 | |