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 |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 22 | env_file: |
| 23 | - ./config/netconf.env |
| 24 | restart: on-failure |
| 25 | |
| 26 | sftp-server-${I}: |
| 27 | container_name: sftp-server-$I |
| 28 | image: atmoz/sftp:alpine |
| 29 | networks: |
| 30 | front-${I}: |
| 31 | ipv4_address: "${IPSFTP}" |
| 32 | volumes: |
| 33 | - ./files/onap/:/home/onap/ |
| 34 | restart: on-failure |
| 35 | command: onap:pano:1001 |
| 36 | |
| 37 | ftpes-server-vsftpd-${I}: |
| 38 | container_name: ftpes-server-vsftpd-$I |
| 39 | image: docker.io/panubo/vsftpd |
| 40 | networks: |
| 41 | front-${I}: |
| 42 | ipv4_address: "${IPFTPS}" |
| 43 | environment: |
| 44 | FTP_USER: onap |
| 45 | FTP_PASSWORD: pano |
| 46 | PASV_ADDRESS: localhost |
| 47 | PASV_MIN_PORT: 8001 |
| 48 | PASV_MAX_PORT: 8010 |
| 49 | volumes: |
| 50 | - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro |
| 51 | - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro |
| 52 | - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro |
| 53 | - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro |
RehanRaza | 48f9204 | 2019-03-20 08:12:55 +0000 | [diff] [blame] | 54 | - ./files/onap/:/srv/ |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 55 | restart: on-failure |
| 56 | command: vsftpd /etc/vsftpd_ssl.conf |
| 57 | |