BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 1 | version: '2' |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame^] | 2 | |
| 3 | networks: |
| 4 | dfcnet: |
| 5 | ipam: |
| 6 | config: |
| 7 | - subnet: 192.168.100.0/16 |
| 8 | |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 9 | services: |
| 10 | |
| 11 | drsim: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame^] | 12 | networks: |
| 13 | dfcnet: |
| 14 | ipv4_address: 192.168.100.2 |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 15 | image: drsim_common:latest |
| 16 | ports: |
| 17 | - "3906:3906" |
| 18 | - "3907:3907" |
| 19 | container_name: dfc_dr-sim |
| 20 | command: node dmaapDR.js ${DR_TC} |
| 21 | |
| 22 | drsim_redir: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame^] | 23 | networks: |
| 24 | dfcnet: |
| 25 | ipv4_address: 192.168.100.3 |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 26 | image: drsim_common:latest |
| 27 | ports: |
| 28 | - "3908:3908" |
| 29 | - "3909:3909" |
| 30 | container_name: dfc_dr-redir-sim |
| 31 | command: node dmaapDR_redir.js ${DR_REDIR_TC} |
| 32 | |
| 33 | mrsim: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame^] | 34 | networks: |
| 35 | dfcnet: |
| 36 | ipv4_address: 192.168.100.1 |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 37 | image: mrsim:latest |
| 38 | ports: |
| 39 | - "2222:2222" |
| 40 | container_name: dfc_mr-sim |
| 41 | command: python mr-sim.py ${MR_TC} |
| 42 | |
| 43 | sftp-server: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame^] | 44 | network_mode: bridge |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 45 | container_name: dfc_sftp-server |
| 46 | image: atmoz/sftp:alpine |
| 47 | ports: |
| 48 | - "1022:22" |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 49 | restart: on-failure |
| 50 | command: onap:pano:1001 |
| 51 | |
| 52 | |
| 53 | ftpes-server-vsftpd: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame^] | 54 | network_mode: bridge |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 55 | container_name: dfc_ftpes-server-vsftpd |
| 56 | image: docker.io/panubo/vsftpd |
| 57 | ports: |
| 58 | - "21:21" |
| 59 | - "8001-8010:8001-8010" |
| 60 | environment: |
| 61 | FTP_USER: onap |
| 62 | FTP_PASSWORD: pano |
| 63 | PASV_ADDRESS: localhost |
| 64 | PASV_MIN_PORT: 8001 |
| 65 | PASV_MAX_PORT: 8010 |
| 66 | volumes: |
| 67 | - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro |
| 68 | - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro |
| 69 | - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro |
| 70 | - ./configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro |
| 71 | |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 72 | restart: on-failure |
| 73 | |