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: |
| 48 | - "${PORTFTPS}:21" |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 49 | environment: |
| 50 | FTP_USER: onap |
| 51 | FTP_PASSWORD: pano |
| 52 | PASV_ADDRESS: localhost |
| 53 | PASV_MIN_PORT: 8001 |
| 54 | PASV_MAX_PORT: 8010 |
| 55 | volumes: |
| 56 | - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro |
| 57 | - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro |
| 58 | - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro |
| 59 | - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro |
RehanRaza | 48f9204 | 2019-03-20 08:12:55 +0000 | [diff] [blame] | 60 | - ./files/onap/:/srv/ |
TamasBakai | d38feb6 | 2019-02-28 09:06:19 +0000 | [diff] [blame] | 61 | restart: on-failure |
| 62 | command: vsftpd /etc/vsftpd_ssl.conf |
| 63 | |