blob: 2ee5026a625ca0cea01f0f8945b465ef20ec8203 [file] [log] [blame]
waqas.ikramb01df8b2019-07-09 16:14:17 +00001version: '3'
2services:
3################################################################################
waqas.ikram7d753292019-07-18 16:41:17 +00004 mariadb:
5 image: ${NEXUS_DOCKER_REPO_MSO}/mariadb:10.1.11
6 ports:
7 - "3306:3306"
8 volumes:
9 - ${TEST_LAB_DIR}/volumes/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
10 - ${TEST_LAB_DIR}/volumes/mariadb/conf.d:/etc/mysql/conf.d
11 environment:
12 - MYSQL_ROOT_PASSWORD=password
13 hostname:
14 mariadb.so.testlab.onap.org
15 logging:
16 driver: "json-file"
17 options:
18 max-size: "30m"
19 max-file: "5"
20################################################################################
21 catalog-db-adapter:
22 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/catalog-db-adapter:${TAG}
23 ports:
24 - "8082:8082"
25 volumes:
26 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
rope252eb249712020-04-16 14:36:02 +010027 - ${CONFIG_DIR_PATH}/override-files/catalog-db-adapter/onapheat:/app/config
waqas.ikram7d753292019-07-18 16:41:17 +000028 environment:
29 - APP=catalog-db-adapter
30 - JVM_ARGS=-Xms64m -Xmx512m
31 - DB_HOST=mariadb
32 - DB_PORT=3306
33 - DB_USERNAME=so_user
34 - DB_PASSWORD=so_User123
35 - DB_ADMIN_USERNAME=so_admin
36 - DB_ADMIN_PASSWORD=so_Admin123
37 hostname:
38 catalog-db-adapter.so.testlab.onap.org
39 depends_on:
40 - mariadb
41 logging:
42 driver: "json-file"
43 options:
44 max-size: "30m"
45 max-file: "5"
rope252eb249712020-04-16 14:36:02 +010046 user: root
47 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" mariadb:3306 -- "/app/start-app.sh"'
waqas.ikram7d753292019-07-18 16:41:17 +000048################################################################################
49 request-db-adapter:
50 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/request-db-adapter:${TAG}
51 ports:
52 - "8083:8083"
53 volumes:
54 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
55 - ${TEST_LAB_DIR}/volumes/so/config/request-db-adapter/onapheat:/app/config
56 environment:
57 - APP=request-db-adapter
58 - JVM_ARGS=-Xms64m -Xmx512m
59 - DB_HOST=mariadb
60 - DB_PORT=3306
61 - DB_USERNAME=so_user
62 - DB_PASSWORD=so_User123
63 - DB_ADMIN_USERNAME=so_admin
64 - DB_ADMIN_PASSWORD=so_Admin123
65 hostname:
66 request-db-adapter.so.testlab.onap.org
67 depends_on:
68 - mariadb
69 - catalog-db-adapter
70 logging:
71 driver: "json-file"
72 options:
73 max-size: "30m"
74 max-file: "5"
rope252eb249712020-04-16 14:36:02 +010075 user: root
76 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" catalog-db-adapter:8082 -- "/app/start-app.sh"'
waqas.ikram7d753292019-07-18 16:41:17 +000077################################################################################
robert.tomczyk06287102019-07-29 14:14:59 +010078 sdnc-adapter:
79 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdnc-adapter:${TAG}
80 ports:
81 - "8086:8086"
82 volumes:
83 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
84 - ${TEST_LAB_DIR}/volumes/so/config/sdnc-adapter/onapheat:/app/config
85 environment:
86 - APP=sdnc-adapter
87 - JVM_ARGS=-Xms64m -Xmx512m
88 - DB_HOST=mariadb
89 - DB_PORT=3306
90 - DB_USERNAME=so_user
91 - DB_PASSWORD=so_User123
92 - DB_ADMIN_USERNAME=so_admin
93 - DB_ADMIN_PASSWORD=so_Admin123
94 hostname:
95 sdnc-adapter.so.testlab.onap.org
96 depends_on:
97 - mariadb
98 - catalog-db-adapter
99 - request-db-adapter
100 logging:
101 driver: "json-file"
102 options:
103 max-size: "30m"
104 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100105 user: root
106 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"'
robert.tomczyk06287102019-07-29 14:14:59 +0100107################################################################################
108 sdc-controller:
109 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdc-controller:${TAG}
110 ports:
111 - "8085:8085"
112 volumes:
113 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
eHanan2ae0ac02019-09-16 12:25:40 +0100114 - ${CONFIG_DIR_PATH}/distribution-test-zip/zipped_sdc_csar.tar.gz:/distribution-test-zip/zipped_sdc_csar.tar.gz
rope2527b66a4b2019-09-24 12:23:44 +0100115 - ${CONFIG_DIR_PATH}/override-files/sdc-controller/onapheat:/app/config
robert.tomczyk06287102019-07-29 14:14:59 +0100116 environment:
117 - APP=sdc-controller
118 - JVM_ARGS=-Xms64m -Xmx512m
119 - DB_HOST=mariadb
120 - DB_PORT=3306
121 - DB_USERNAME=so_user
122 - DB_PASSWORD=so_User123
123 - DB_ADMIN_USERNAME=so_admin
124 - DB_ADMIN_PASSWORD=so_Admin123
125 hostname:
126 sdc-controller.so.testlab.onap.org
127 depends_on:
128 - mariadb
129 - catalog-db-adapter
130 - request-db-adapter
131 logging:
132 driver: "json-file"
133 options:
134 max-size: "30m"
135 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100136 user: root
137 entrypoint: /bin/sh -c 'mkdir -p /distribution-test-zip/unzipped && tar -xvzf /distribution-test-zip/zipped_sdc_csar.tar.gz -C /distribution-test-zip/unzipped && chmod 777 -R /distribution-test-zip/ && /app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"'
robert.tomczyk06287102019-07-29 14:14:59 +0100138################################################################################
139 bpmn-infra:
140 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG}
141 ports:
142 - "8081:8081"
143 volumes:
waqas.ikramcb3218e2019-08-22 10:25:24 +0000144 - ${CONFIG_DIR_PATH}/override-files/bpmn-infra/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530145 - ${CONFIG_DIR_PATH}/certificates/bpmn-infra-certs:/app/bpmn-infra-certs
146 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
robert.tomczyk06287102019-07-29 14:14:59 +0100147 environment:
148 - APP=bpmn-infra
149 - JVM_ARGS=-Xms64m -Xmx512m
150 - DB_HOST=mariadb
151 - DB_PORT=3306
152 - DB_USERNAME=so_user
153 - DB_PASSWORD=so_User123
154 - DB_ADMIN_USERNAME=so_admin
155 - DB_ADMIN_PASSWORD=so_Admin123
156 hostname:
157 bpmn-infra.so.testlab.onap.org
158 depends_on:
159 - mariadb
160 - catalog-db-adapter
161 - request-db-adapter
162 logging:
163 driver: "json-file"
164 options:
165 max-size: "30m"
166 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100167 user: root
168 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"'
robert.tomczyk06287102019-07-29 14:14:59 +0100169################################################################################
170 api-handler-infra:
171 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG}
172 ports:
173 - "8080:8080"
174 volumes:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100175 - ${CONFIG_DIR_PATH}/override-files/api-handler-infra/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530176 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
robert.tomczyk06287102019-07-29 14:14:59 +0100177 environment:
178 - APP=api-handler-infra
179 - JVM_ARGS=-Xms64m -Xmx512m
180 - DB_HOST=mariadb
181 - DB_PORT=3306
182 - DB_USERNAME=so_user
183 - DB_PASSWORD=so_User123
184 - DB_ADMIN_USERNAME=so_admin
185 - DB_ADMIN_PASSWORD=so_Admin123
186 hostname:
187 api-handler-infra.so.testlab.onap.org
188 depends_on:
189 - mariadb
190 - catalog-db-adapter
191 - request-db-adapter
192 logging:
193 driver: "json-file"
194 options:
195 max-size: "30m"
196 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100197 user: root
198 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"'
robert.tomczyk06287102019-07-29 14:14:59 +0100199#############################################################################
200 so-monitoring:
201 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-monitoring:${TAG}
202 ports:
eHanan75c11712019-08-13 15:44:16 +0000203 - "30224:30224"
robert.tomczyk06287102019-07-29 14:14:59 +0100204 volumes:
eHanan319d0ad2019-09-03 13:45:18 +0000205 - ${CONFIG_DIR_PATH}/override-files/so-monitoring/onapheat:/app/config
robert.tomczyk06287102019-07-29 14:14:59 +0100206 environment:
207 - APP=so-monitoring
208 - JVM_ARGS=-Xms64m -Xmx512m
209 hostname:
210 so-monitoring.so.testlab.onap.org
211 depends_on:
212 - mariadb
213 - catalog-db-adapter
214 - request-db-adapter
215################################################################################
waqas.ikrambba9cee2019-09-19 15:40:46 +0100216 so-vnfm-adapter:
waqas.ikram7d753292019-07-18 16:41:17 +0000217 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG}
218 ports:
219 - "9092:9092"
eHanan93a28372019-07-22 15:51:26 +0000220 volumes:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100221 - ${CONFIG_DIR_PATH}/override-files/so-vnfm-adapter/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530222 - ${CONFIG_DIR_PATH}/certificates/so-vnfm-adapter-certs:/app/so-vnfm-adapter-certs
223 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
waqas.ikram7d753292019-07-18 16:41:17 +0000224 environment:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100225 - APP=so-vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000226 - JVM_ARGS=-Xms64m -Xmx512m
227 hostname:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100228 so-vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000229 depends_on:
230 - request-db-adapter
231 logging:
232 driver: "json-file"
233 options:
234 max-size: "30m"
235 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100236 user: root
237 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"'
waqas.ikram7d753292019-07-18 16:41:17 +0000238################################################################################
waqas.ikramb01df8b2019-07-09 16:14:17 +0000239 sdc-simulator:
240 image: simulators/sdc-simulator:latest
241 ports:
242 - "9991:9991"
243 environment:
244 - APP=SDC-SIMULATOR
245 - JVM_ARGS=-Xms64m -Xmx512m
246 hostname:
247 sdc-simulator
waqas.ikram7d753292019-07-18 16:41:17 +0000248 depends_on:
249 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100250 - so-vnfm-adapter
waqas.ikram0a33a292019-07-23 12:39:15 +0000251 logging:
252 driver: "json-file"
253 options:
254 max-size: "30m"
255 max-file: "5"
256################################################################################
257 aai-simulator:
258 image: simulators/aai-simulator:latest
259 ports:
260 - "9993:9993"
261 environment:
262 - APP=AAI-SIMULATOR
263 - JVM_ARGS=-Xms64m -Xmx512m
264 hostname:
265 aai-simulator
266 depends_on:
267 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100268 - so-vnfm-adapter
waqas.ikramb01df8b2019-07-09 16:14:17 +0000269 logging:
270 driver: "json-file"
271 options:
272 max-size: "30m"
273 max-file: "5"
274################################################################################
waqas.ikrambba9cee2019-09-19 15:40:46 +0100275 so-vnfm-simulator:
AndrewLambfa9bb102019-10-03 12:02:53 +0100276 image: simulators/vnfm-simulator:latest
AndrewLamb70095ba2019-07-31 11:56:33 +0000277 ports:
278 - "9093:9093"
waqas.ikrambba9cee2019-09-19 15:40:46 +0100279 volumes:
280 - ${CONFIG_DIR_PATH}/override-files/vnfm-simulator/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530281 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
AndrewLamb70095ba2019-07-31 11:56:33 +0000282 environment:
283 - APP=VNFM-SIMULATOR
284 - JVM_ARGS=-Xms64m -Xmx512m
285 hostname:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100286 so-vnfm-simulator
AndrewLamb70095ba2019-07-31 11:56:33 +0000287 depends_on:
288 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100289 - so-vnfm-adapter
AndrewLamb70095ba2019-07-31 11:56:33 +0000290 logging:
291 driver: "json-file"
292 options:
293 max-size: "30m"
294 max-file: "5"
295################################################################################
waqas.ikram7d753292019-07-18 16:41:17 +0000296 workaround-config:
297 image: jobs/workaround-job-container:latest
waqas.ikramb01df8b2019-07-09 16:14:17 +0000298 ports:
waqas.ikram7d753292019-07-18 16:41:17 +0000299 - "9990:9990"
300 volumes:
301 - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh
waqas.ikramb01df8b2019-07-09 16:14:17 +0000302 environment:
waqas.ikram7d753292019-07-18 16:41:17 +0000303 - MYSQL_ROOT_PASSWORD=password
304 - DB_HOST=mariadb
305 - DB_PORT=3306
306 - CATALOG_DB=catalogdb
307 depends_on:
308 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100309 - so-vnfm-adapter
eHanan93a28372019-07-22 15:51:26 +0000310 command:
waqas.ikram7d753292019-07-18 16:41:17 +0000311 - "/config/apply-workarounds.sh"
rope2521537edf2019-07-25 16:04:10 +0000312#################################################################################
waqas.ikram24805412019-08-01 16:19:31 +0000313 sdnc-simulator:
314 image: simulators/sdnc-simulator:latest
315 ports:
316 - "9994:9994"
317 environment:
318 - APP=SDNC-SIMULATOR
319 - JVM_ARGS=-Xms64m -Xmx512m
320 hostname:
321 sdnc-simulator
322 depends_on:
323 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100324 - so-vnfm-adapter
waqas.ikram24805412019-08-01 16:19:31 +0000325 logging:
326 driver: "json-file"
327 options:
328 max-size: "30m"
329 max-file: "5"
330################################################################################
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000331 populate-aai-config:
332 image: jobs/workaround-job-container:latest
333 ports:
334 - "9995:9995"
335 volumes:
336 - ${CONFIG_DIR_PATH}/populate-aai-simulator.sh:/config/populate-aai-simulator.sh
337 - ${CONFIG_DIR_PATH}/wait-for.sh:/config/wait-for.sh
338 - ${CONFIG_DIR_PATH}/aai-simulator-populate-data:/config/aai-simulator-populate-data/
339 environment:
340 - AAI_SIMULATOR_HOST=aai-simulator
341 - AAI_SIMULATOR_PORT=9993
342 - TIMEOUT_IN_SECONDS=300 #5 mins
343 depends_on:
344 - aai-simulator
waqas.ikrambba9cee2019-09-19 15:40:46 +0100345 command:
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000346 - "/config/populate-aai-simulator.sh"
347################################################################################
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200348 ve-vnfm-adapter:
349 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/ve-vnfm-adapter:${TAG}
350 ports:
351 - "9098:9098"
352 volumes:
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200353 - ${CONFIG_DIR_PATH}/override-files/ve-vnfm-adapter/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530354 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200355 environment:
356 - APP=ve-vnfm-adapter
357 - JVM_ARGS=-Xms64m -Xmx512m
358 - DB_HOST=mariadb
359 hostname:
360 ve-vnfm-adapter
361 depends_on:
362 - request-db-adapter
363 - aai-simulator
364 logging:
365 driver: "json-file"
366 options:
367 max-size: "30m"
368 max-file: "5"
369 user: root
370 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"'
371################################################################################