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 | |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 32 | tls-init-container: |
| 33 | container_name: dfc_tls-init-container |
| 34 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container |
| 35 | networks: |
| 36 | - dfcnet |
| 37 | volumes: |
| 38 | - ./tls:/opt/tls/shared:rw |
| 39 | |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 40 | drsim: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame] | 41 | networks: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 42 | - dfcnet |
| 43 | environment: |
| 44 | DRR_SIM_IP: ${DR_REDIR_SIM} |
| 45 | DR_FEEDS: ${DR_FEEDS} |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 46 | image: drsim_common:latest |
| 47 | ports: |
| 48 | - "3906:3906" |
| 49 | - "3907:3907" |
| 50 | container_name: dfc_dr-sim |
| 51 | command: node dmaapDR.js ${DR_TC} |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 52 | volumes: |
| 53 | - ./tls:/app/cert/:rw |
| 54 | depends_on: |
| 55 | - tls-init-container |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 56 | |
| 57 | drsim_redir: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame] | 58 | networks: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 59 | - dfcnet |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 60 | environment: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 61 | DR_SIM_IP: drsim |
| 62 | DR_REDIR_FEEDS: ${DR_REDIR_FEEDS} |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 63 | image: drsim_common:latest |
| 64 | ports: |
| 65 | - "3908:3908" |
| 66 | - "3909:3909" |
| 67 | container_name: dfc_dr-redir-sim |
| 68 | command: node dmaapDR_redir.js ${DR_REDIR_TC} |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 69 | volumes: |
| 70 | - ./tls:/app/cert/:rw |
| 71 | depends_on: |
| 72 | - tls-init-container |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 73 | |
| 74 | mrsim: |
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame] | 75 | networks: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 76 | - dfcnet |
| 77 | environment: |
| 78 | SFTP_SIMS: ${SFTP_SIMS} |
| 79 | FTPS_SIMS: ${FTPS_SIMS} |
| 80 | NUM_FTP_SERVERS: ${NUM_FTP_SERVERS} |
| 81 | MR_GROUPS: ${MR_GROUPS} |
| 82 | MR_FILE_PREFIX_MAPPING: ${MR_FILE_PREFIX_MAPPING} |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 83 | image: mrsim:latest |
| 84 | ports: |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 85 | - "2222:2222" |
| 86 | - "2223:2223" |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 87 | container_name: dfc_mr-sim |
| 88 | command: python mr-sim.py ${MR_TC} |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 89 | volumes: |
| 90 | - ./tls:/app/cert/:rw |
| 91 | depends_on: |
| 92 | - tls-init-container |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 93 | |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 94 | sftp-server0: |
| 95 | networks: |
| 96 | - dfcnet |
| 97 | container_name: dfc_sftp-server0 |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 98 | image: atmoz/sftp:alpine |
| 99 | ports: |
| 100 | - "1022:22" |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 101 | restart: on-failure |
| 102 | command: onap:pano:1001 |
| 103 | |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 104 | sftp-server1: |
| 105 | networks: |
| 106 | - dfcnet |
| 107 | container_name: dfc_sftp-server1 |
| 108 | image: atmoz/sftp:alpine |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 109 | ports: |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 110 | - "1023:22" |
| 111 | restart: on-failure |
| 112 | command: onap:pano:1001 |
| 113 | |
| 114 | sftp-server2: |
| 115 | networks: |
| 116 | - dfcnet |
| 117 | container_name: dfc_sftp-server2 |
| 118 | image: atmoz/sftp:alpine |
| 119 | ports: |
| 120 | - "1024:22" |
| 121 | restart: on-failure |
| 122 | command: onap:pano:1001 |
| 123 | |
| 124 | sftp-server3: |
| 125 | networks: |
| 126 | - dfcnet |
| 127 | container_name: dfc_sftp-server3 |
| 128 | image: atmoz/sftp:alpine |
| 129 | ports: |
| 130 | - "1025:22" |
| 131 | restart: on-failure |
| 132 | command: onap:pano:1001 |
| 133 | |
| 134 | sftp-server4: |
| 135 | networks: |
| 136 | - dfcnet |
| 137 | container_name: dfc_sftp-server4 |
| 138 | image: atmoz/sftp:alpine |
| 139 | ports: |
| 140 | - "1026:22" |
| 141 | restart: on-failure |
| 142 | command: onap:pano:1001 |
| 143 | |
| 144 | ftpes-server-vsftpd0: |
| 145 | networks: |
| 146 | - dfcnet |
| 147 | container_name: dfc_ftpes-server-vsftpd0 |
| 148 | image: ftps_vsftpd:latest |
| 149 | ports: |
| 150 | - "1032:21" |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 151 | environment: |
| 152 | FTP_USER: onap |
| 153 | FTP_PASSWORD: pano |
BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame] | 154 | restart: on-failure |
BjornMagnussonXA | 42dcb26 | 2019-04-26 19:29:54 +0000 | [diff] [blame] | 155 | command: vsftpd /etc/vsftpd_ssl.conf |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 156 | volumes: |
| 157 | - ./tls:/etc/ssl/private/:rw |
| 158 | depends_on: |
| 159 | - tls-init-container |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 160 | |
| 161 | ftpes-server-vsftpd1: |
| 162 | networks: |
| 163 | - dfcnet |
| 164 | container_name: dfc_ftpes-server-vsftpd1 |
| 165 | image: ftps_vsftpd:latest |
| 166 | ports: |
| 167 | - "1033:21" |
| 168 | environment: |
| 169 | FTP_USER: onap |
| 170 | FTP_PASSWORD: pano |
| 171 | restart: on-failure |
| 172 | command: vsftpd /etc/vsftpd_ssl.conf |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 173 | volumes: |
| 174 | - ./tls:/etc/ssl/private/:rw |
| 175 | depends_on: |
| 176 | - tls-init-container |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 177 | |
| 178 | ftpes-server-vsftpd2: |
| 179 | networks: |
| 180 | - dfcnet |
| 181 | container_name: dfc_ftpes-server-vsftpd2 |
| 182 | image: ftps_vsftpd:latest |
| 183 | ports: |
| 184 | - "1034:21" |
| 185 | environment: |
| 186 | FTP_USER: onap |
| 187 | FTP_PASSWORD: pano |
| 188 | restart: on-failure |
| 189 | command: vsftpd /etc/vsftpd_ssl.conf |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 190 | volumes: |
| 191 | - ./tls:/etc/ssl/private/:rw |
| 192 | depends_on: |
| 193 | - tls-init-container |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 194 | |
| 195 | ftpes-server-vsftpd3: |
| 196 | networks: |
| 197 | - dfcnet |
| 198 | container_name: dfc_ftpes-server-vsftpd3 |
| 199 | image: ftps_vsftpd:latest |
| 200 | ports: |
| 201 | - "1035:21" |
| 202 | environment: |
| 203 | FTP_USER: onap |
| 204 | FTP_PASSWORD: pano |
| 205 | restart: on-failure |
| 206 | command: vsftpd /etc/vsftpd_ssl.conf |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 207 | volumes: |
| 208 | - ./tls:/etc/ssl/private/:rw |
| 209 | depends_on: |
| 210 | - tls-init-container |
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 211 | |
| 212 | ftpes-server-vsftpd4: |
| 213 | networks: |
| 214 | - dfcnet |
| 215 | container_name: dfc_ftpes-server-vsftpd4 |
| 216 | image: ftps_vsftpd:latest |
| 217 | ports: |
| 218 | - "1036:21" |
| 219 | environment: |
| 220 | FTP_USER: onap |
| 221 | FTP_PASSWORD: pano |
| 222 | restart: on-failure |
| 223 | command: vsftpd /etc/vsftpd_ssl.conf |
ecaiyanlinux | 796e8fe | 2019-08-21 12:10:33 +0000 | [diff] [blame] | 224 | volumes: |
| 225 | - ./tls:/etc/ssl/private/:rw |
| 226 | depends_on: |
| 227 | - tls-init-container |