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: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 4 | dfcnet: |
| 5 | external: |
| 6 | name: dfcnet |
| 7 | |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 8 | services: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 9 | |
| 10 | consul-server: |
| 11 | networks: |
| 12 | - dfcnet |
| 13 | container_name: dfc_consul |
| 14 | image: docker.io/consul:1.4.4 |
| 15 | ports: |
| 16 | - "8500:8500" |
| 17 | volumes: |
| 18 | - ./consul/consul/:/consul/config |
| 19 | |
| 20 | config-binding-service: |
| 21 | networks: |
| 22 | - dfcnet |
| 23 | container_name: dfc_cbs |
| 24 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.3.0 |
| 25 | ports: |
| 26 | - "10000:10000" |
| 27 | environment: |
| 28 | - CONSUL_HOST=consul-server |
| 29 | depends_on: |
| 30 | - consul-server |
| 31 | |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 32 | drsim: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame] | 33 | networks: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 34 | - dfcnet |
| 35 | environment: |
| 36 | DRR_SIM_IP: ${DR_REDIR_SIM} |
| 37 | DR_FEEDS: ${DR_FEEDS} |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 38 | image: drsim_common:latest |
| 39 | ports: |
| 40 | - "3906:3906" |
| 41 | - "3907:3907" |
| 42 | container_name: dfc_dr-sim |
| 43 | command: node dmaapDR.js ${DR_TC} |
| 44 | |
| 45 | drsim_redir: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame] | 46 | networks: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 47 | - dfcnet |
| 48 | environment: |
| 49 | DR_SIM_IP: drsim |
| 50 | DR_REDIR_FEEDS: ${DR_REDIR_FEEDS} |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 51 | image: drsim_common:latest |
| 52 | ports: |
| 53 | - "3908:3908" |
| 54 | - "3909:3909" |
| 55 | container_name: dfc_dr-redir-sim |
| 56 | command: node dmaapDR_redir.js ${DR_REDIR_TC} |
| 57 | |
| 58 | mrsim: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame] | 59 | networks: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 60 | - dfcnet |
| 61 | environment: |
| 62 | SFTP_SIMS: ${SFTP_SIMS} |
| 63 | FTPS_SIMS: ${FTPS_SIMS} |
| 64 | NUM_FTP_SERVERS: ${NUM_FTP_SERVERS} |
| 65 | MR_GROUPS: ${MR_GROUPS} |
| 66 | MR_FILE_PREFIX_MAPPING: ${MR_FILE_PREFIX_MAPPING} |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 67 | image: mrsim:latest |
| 68 | ports: |
| 69 | - "2222:2222" |
| 70 | container_name: dfc_mr-sim |
| 71 | command: python mr-sim.py ${MR_TC} |
| 72 | |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 73 | sftp-server0: |
| 74 | networks: |
| 75 | - dfcnet |
| 76 | container_name: dfc_sftp-server0 |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 77 | image: atmoz/sftp:alpine |
| 78 | ports: |
| 79 | - "1022:22" |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 80 | restart: on-failure |
| 81 | command: onap:pano:1001 |
| 82 | |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 83 | sftp-server1: |
| 84 | networks: |
| 85 | - dfcnet |
| 86 | container_name: dfc_sftp-server1 |
| 87 | image: atmoz/sftp:alpine |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 88 | ports: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 89 | - "1023:22" |
| 90 | restart: on-failure |
| 91 | command: onap:pano:1001 |
| 92 | |
| 93 | sftp-server2: |
| 94 | networks: |
| 95 | - dfcnet |
| 96 | container_name: dfc_sftp-server2 |
| 97 | image: atmoz/sftp:alpine |
| 98 | ports: |
| 99 | - "1024:22" |
| 100 | restart: on-failure |
| 101 | command: onap:pano:1001 |
| 102 | |
| 103 | sftp-server3: |
| 104 | networks: |
| 105 | - dfcnet |
| 106 | container_name: dfc_sftp-server3 |
| 107 | image: atmoz/sftp:alpine |
| 108 | ports: |
| 109 | - "1025:22" |
| 110 | restart: on-failure |
| 111 | command: onap:pano:1001 |
| 112 | |
| 113 | sftp-server4: |
| 114 | networks: |
| 115 | - dfcnet |
| 116 | container_name: dfc_sftp-server4 |
| 117 | image: atmoz/sftp:alpine |
| 118 | ports: |
| 119 | - "1026:22" |
| 120 | restart: on-failure |
| 121 | command: onap:pano:1001 |
| 122 | |
| 123 | ftpes-server-vsftpd0: |
| 124 | networks: |
| 125 | - dfcnet |
| 126 | container_name: dfc_ftpes-server-vsftpd0 |
| 127 | image: ftps_vsftpd:latest |
| 128 | ports: |
| 129 | - "1032:21" |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 130 | environment: |
| 131 | FTP_USER: onap |
| 132 | FTP_PASSWORD: pano |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 133 | restart: on-failure |
BjornMagnussonXA | 42dcb26 | 2019-04-26 19:29:54 +0000 | [diff] [blame] | 134 | command: vsftpd /etc/vsftpd_ssl.conf |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 135 | |
| 136 | ftpes-server-vsftpd1: |
| 137 | networks: |
| 138 | - dfcnet |
| 139 | container_name: dfc_ftpes-server-vsftpd1 |
| 140 | image: ftps_vsftpd:latest |
| 141 | ports: |
| 142 | - "1033:21" |
| 143 | environment: |
| 144 | FTP_USER: onap |
| 145 | FTP_PASSWORD: pano |
| 146 | restart: on-failure |
| 147 | command: vsftpd /etc/vsftpd_ssl.conf |
| 148 | |
| 149 | ftpes-server-vsftpd2: |
| 150 | networks: |
| 151 | - dfcnet |
| 152 | container_name: dfc_ftpes-server-vsftpd2 |
| 153 | image: ftps_vsftpd:latest |
| 154 | ports: |
| 155 | - "1034:21" |
| 156 | environment: |
| 157 | FTP_USER: onap |
| 158 | FTP_PASSWORD: pano |
| 159 | restart: on-failure |
| 160 | command: vsftpd /etc/vsftpd_ssl.conf |
| 161 | |
| 162 | ftpes-server-vsftpd3: |
| 163 | networks: |
| 164 | - dfcnet |
| 165 | container_name: dfc_ftpes-server-vsftpd3 |
| 166 | image: ftps_vsftpd:latest |
| 167 | ports: |
| 168 | - "1035:21" |
| 169 | environment: |
| 170 | FTP_USER: onap |
| 171 | FTP_PASSWORD: pano |
| 172 | restart: on-failure |
| 173 | command: vsftpd /etc/vsftpd_ssl.conf |
| 174 | |
| 175 | ftpes-server-vsftpd4: |
| 176 | networks: |
| 177 | - dfcnet |
| 178 | container_name: dfc_ftpes-server-vsftpd4 |
| 179 | image: ftps_vsftpd:latest |
| 180 | ports: |
| 181 | - "1036:21" |
| 182 | environment: |
| 183 | FTP_USER: onap |
| 184 | FTP_PASSWORD: pano |
| 185 | restart: on-failure |
| 186 | command: vsftpd /etc/vsftpd_ssl.conf |
| 187 | |