blob: 6aea906b3fbed15e05a844152f9de1fa0f941687 [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:
waqas.ikrame957e1d2021-01-14 10:24:04 +00009 - /var/lib/mysql
waqas.ikram7d753292019-07-18 16:41:17 +000010 - ${TEST_LAB_DIR}/volumes/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
11 - ${TEST_LAB_DIR}/volumes/mariadb/conf.d:/etc/mysql/conf.d
12 environment:
13 - MYSQL_ROOT_PASSWORD=password
waqas.ikrame957e1d2021-01-14 10:24:04 +000014 - MYSQL_USER=etsicatalog
15 - MYSQL_PASSWORD=etsicatalog
16 - MYSQL_DATABASE=etsicatalog
waqas.ikram7d753292019-07-18 16:41:17 +000017 hostname:
18 mariadb.so.testlab.onap.org
19 logging:
20 driver: "json-file"
21 options:
22 max-size: "30m"
23 max-file: "5"
24################################################################################
25 catalog-db-adapter:
26 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/catalog-db-adapter:${TAG}
27 ports:
28 - "8082:8082"
29 volumes:
30 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
rope252eb249712020-04-16 14:36:02 +010031 - ${CONFIG_DIR_PATH}/override-files/catalog-db-adapter/onapheat:/app/config
waqas.ikram7d753292019-07-18 16:41:17 +000032 environment:
33 - APP=catalog-db-adapter
34 - JVM_ARGS=-Xms64m -Xmx512m
35 - DB_HOST=mariadb
36 - DB_PORT=3306
37 - DB_USERNAME=so_user
38 - DB_PASSWORD=so_User123
39 - DB_ADMIN_USERNAME=so_admin
40 - DB_ADMIN_PASSWORD=so_Admin123
41 hostname:
42 catalog-db-adapter.so.testlab.onap.org
43 depends_on:
44 - mariadb
45 logging:
46 driver: "json-file"
47 options:
48 max-size: "30m"
49 max-file: "5"
rope252eb249712020-04-16 14:36:02 +010050 user: root
51 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" mariadb:3306 -- "/app/start-app.sh"'
waqas.ikram7d753292019-07-18 16:41:17 +000052################################################################################
53 request-db-adapter:
54 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/request-db-adapter:${TAG}
55 ports:
56 - "8083:8083"
57 volumes:
58 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
59 - ${TEST_LAB_DIR}/volumes/so/config/request-db-adapter/onapheat:/app/config
60 environment:
61 - APP=request-db-adapter
62 - JVM_ARGS=-Xms64m -Xmx512m
63 - DB_HOST=mariadb
64 - DB_PORT=3306
65 - DB_USERNAME=so_user
66 - DB_PASSWORD=so_User123
67 - DB_ADMIN_USERNAME=so_admin
68 - DB_ADMIN_PASSWORD=so_Admin123
69 hostname:
70 request-db-adapter.so.testlab.onap.org
71 depends_on:
72 - mariadb
73 - catalog-db-adapter
74 logging:
75 driver: "json-file"
76 options:
77 max-size: "30m"
78 max-file: "5"
rope252eb249712020-04-16 14:36:02 +010079 user: root
80 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 +000081################################################################################
robert.tomczyk06287102019-07-29 14:14:59 +010082 sdnc-adapter:
83 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdnc-adapter:${TAG}
84 ports:
85 - "8086:8086"
86 volumes:
87 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
88 - ${TEST_LAB_DIR}/volumes/so/config/sdnc-adapter/onapheat:/app/config
89 environment:
90 - APP=sdnc-adapter
91 - JVM_ARGS=-Xms64m -Xmx512m
92 - DB_HOST=mariadb
93 - DB_PORT=3306
94 - DB_USERNAME=so_user
95 - DB_PASSWORD=so_User123
96 - DB_ADMIN_USERNAME=so_admin
97 - DB_ADMIN_PASSWORD=so_Admin123
98 hostname:
99 sdnc-adapter.so.testlab.onap.org
100 depends_on:
101 - mariadb
102 - catalog-db-adapter
103 - request-db-adapter
104 logging:
105 driver: "json-file"
106 options:
107 max-size: "30m"
108 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100109 user: root
110 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 +0100111################################################################################
112 sdc-controller:
113 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdc-controller:${TAG}
114 ports:
115 - "8085:8085"
116 volumes:
117 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
eHanan2ae0ac02019-09-16 12:25:40 +0100118 - ${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 +0100119 - ${CONFIG_DIR_PATH}/override-files/sdc-controller/onapheat:/app/config
robert.tomczyk06287102019-07-29 14:14:59 +0100120 environment:
121 - APP=sdc-controller
122 - JVM_ARGS=-Xms64m -Xmx512m
123 - DB_HOST=mariadb
124 - DB_PORT=3306
125 - DB_USERNAME=so_user
126 - DB_PASSWORD=so_User123
127 - DB_ADMIN_USERNAME=so_admin
128 - DB_ADMIN_PASSWORD=so_Admin123
129 hostname:
130 sdc-controller.so.testlab.onap.org
131 depends_on:
132 - mariadb
133 - catalog-db-adapter
134 - request-db-adapter
135 logging:
136 driver: "json-file"
137 options:
138 max-size: "30m"
139 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100140 user: root
141 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 +0100142################################################################################
143 bpmn-infra:
144 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG}
145 ports:
146 - "8081:8081"
147 volumes:
waqas.ikramcb3218e2019-08-22 10:25:24 +0000148 - ${CONFIG_DIR_PATH}/override-files/bpmn-infra/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530149 - ${CONFIG_DIR_PATH}/certificates/bpmn-infra-certs:/app/bpmn-infra-certs
150 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
robert.tomczyk06287102019-07-29 14:14:59 +0100151 environment:
152 - APP=bpmn-infra
153 - JVM_ARGS=-Xms64m -Xmx512m
154 - DB_HOST=mariadb
155 - DB_PORT=3306
156 - DB_USERNAME=so_user
157 - DB_PASSWORD=so_User123
158 - DB_ADMIN_USERNAME=so_admin
159 - DB_ADMIN_PASSWORD=so_Admin123
160 hostname:
161 bpmn-infra.so.testlab.onap.org
AndrewLamb29da40e2021-02-12 13:58:36 +0000162 links:
163 - "so-vnfm-adapter:so-vnfm-adapter.onap"
robert.tomczyk06287102019-07-29 14:14:59 +0100164 depends_on:
165 - mariadb
166 - catalog-db-adapter
167 - request-db-adapter
168 logging:
169 driver: "json-file"
170 options:
171 max-size: "30m"
172 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100173 user: root
174 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 +0100175################################################################################
176 api-handler-infra:
177 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG}
178 ports:
179 - "8080:8080"
180 volumes:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100181 - ${CONFIG_DIR_PATH}/override-files/api-handler-infra/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530182 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
robert.tomczyk06287102019-07-29 14:14:59 +0100183 environment:
184 - APP=api-handler-infra
185 - JVM_ARGS=-Xms64m -Xmx512m
186 - DB_HOST=mariadb
187 - DB_PORT=3306
188 - DB_USERNAME=so_user
189 - DB_PASSWORD=so_User123
190 - DB_ADMIN_USERNAME=so_admin
191 - DB_ADMIN_PASSWORD=so_Admin123
192 hostname:
193 api-handler-infra.so.testlab.onap.org
194 depends_on:
195 - mariadb
196 - catalog-db-adapter
197 - request-db-adapter
198 logging:
199 driver: "json-file"
200 options:
201 max-size: "30m"
202 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100203 user: root
204 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 +0100205#############################################################################
206 so-monitoring:
207 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-monitoring:${TAG}
208 ports:
eHanan75c11712019-08-13 15:44:16 +0000209 - "30224:30224"
robert.tomczyk06287102019-07-29 14:14:59 +0100210 volumes:
eHanan319d0ad2019-09-03 13:45:18 +0000211 - ${CONFIG_DIR_PATH}/override-files/so-monitoring/onapheat:/app/config
robert.tomczyk06287102019-07-29 14:14:59 +0100212 environment:
213 - APP=so-monitoring
214 - JVM_ARGS=-Xms64m -Xmx512m
215 hostname:
216 so-monitoring.so.testlab.onap.org
217 depends_on:
218 - mariadb
219 - catalog-db-adapter
220 - request-db-adapter
221################################################################################
waqas.ikrambba9cee2019-09-19 15:40:46 +0100222 so-vnfm-adapter:
AndrewLamb5f175a22021-02-16 10:32:49 +0000223 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${SOL_003_ADAPTER_IMAGE_VERSION}
waqas.ikram7d753292019-07-18 16:41:17 +0000224 ports:
225 - "9092:9092"
eHanan93a28372019-07-22 15:51:26 +0000226 volumes:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100227 - ${CONFIG_DIR_PATH}/override-files/so-vnfm-adapter/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530228 - ${CONFIG_DIR_PATH}/certificates/so-vnfm-adapter-certs:/app/so-vnfm-adapter-certs
229 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
waqas.ikram7d753292019-07-18 16:41:17 +0000230 environment:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100231 - APP=so-vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000232 - JVM_ARGS=-Xms64m -Xmx512m
233 hostname:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100234 so-vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000235 depends_on:
236 - request-db-adapter
237 logging:
238 driver: "json-file"
239 options:
240 max-size: "30m"
241 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100242 user: root
243 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 +0000244################################################################################
waqas.ikramb01df8b2019-07-09 16:14:17 +0000245 sdc-simulator:
246 image: simulators/sdc-simulator:latest
247 ports:
248 - "9991:9991"
249 environment:
250 - APP=SDC-SIMULATOR
251 - JVM_ARGS=-Xms64m -Xmx512m
252 hostname:
253 sdc-simulator
waqas.ikram7d753292019-07-18 16:41:17 +0000254 depends_on:
255 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100256 - so-vnfm-adapter
waqas.ikram0a33a292019-07-23 12:39:15 +0000257 logging:
258 driver: "json-file"
259 options:
260 max-size: "30m"
261 max-file: "5"
262################################################################################
263 aai-simulator:
264 image: simulators/aai-simulator:latest
265 ports:
266 - "9993:9993"
267 environment:
268 - APP=AAI-SIMULATOR
269 - JVM_ARGS=-Xms64m -Xmx512m
270 hostname:
271 aai-simulator
272 depends_on:
273 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100274 - so-vnfm-adapter
waqas.ikramb01df8b2019-07-09 16:14:17 +0000275 logging:
276 driver: "json-file"
277 options:
278 max-size: "30m"
279 max-file: "5"
280################################################################################
waqas.ikrambba9cee2019-09-19 15:40:46 +0100281 so-vnfm-simulator:
AndrewLambfa9bb102019-10-03 12:02:53 +0100282 image: simulators/vnfm-simulator:latest
AndrewLamb70095ba2019-07-31 11:56:33 +0000283 ports:
284 - "9093:9093"
waqas.ikrambba9cee2019-09-19 15:40:46 +0100285 volumes:
286 - ${CONFIG_DIR_PATH}/override-files/vnfm-simulator/onapheat:/app/config
ajay_dp001f6260942020-09-28 21:17:33 +0530287 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
AndrewLamb70095ba2019-07-31 11:56:33 +0000288 environment:
289 - APP=VNFM-SIMULATOR
290 - JVM_ARGS=-Xms64m -Xmx512m
291 hostname:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100292 so-vnfm-simulator
AndrewLamb29da40e2021-02-12 13:58:36 +0000293 links:
294 - "so-vnfm-adapter:so-vnfm-adapter.onap"
AndrewLamb70095ba2019-07-31 11:56:33 +0000295 depends_on:
296 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100297 - so-vnfm-adapter
AndrewLamb70095ba2019-07-31 11:56:33 +0000298 logging:
299 driver: "json-file"
300 options:
301 max-size: "30m"
302 max-file: "5"
303################################################################################
waqas.ikram7d753292019-07-18 16:41:17 +0000304 workaround-config:
305 image: jobs/workaround-job-container:latest
waqas.ikramb01df8b2019-07-09 16:14:17 +0000306 ports:
waqas.ikram7d753292019-07-18 16:41:17 +0000307 - "9990:9990"
308 volumes:
309 - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh
waqas.ikramb01df8b2019-07-09 16:14:17 +0000310 environment:
waqas.ikram7d753292019-07-18 16:41:17 +0000311 - MYSQL_ROOT_PASSWORD=password
312 - DB_HOST=mariadb
313 - DB_PORT=3306
314 - CATALOG_DB=catalogdb
315 depends_on:
316 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100317 - so-vnfm-adapter
eHanan93a28372019-07-22 15:51:26 +0000318 command:
waqas.ikram7d753292019-07-18 16:41:17 +0000319 - "/config/apply-workarounds.sh"
rope2521537edf2019-07-25 16:04:10 +0000320#################################################################################
waqas.ikram24805412019-08-01 16:19:31 +0000321 sdnc-simulator:
322 image: simulators/sdnc-simulator:latest
323 ports:
324 - "9994:9994"
325 environment:
326 - APP=SDNC-SIMULATOR
327 - JVM_ARGS=-Xms64m -Xmx512m
328 hostname:
329 sdnc-simulator
330 depends_on:
331 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100332 - so-vnfm-adapter
waqas.ikram24805412019-08-01 16:19:31 +0000333 logging:
334 driver: "json-file"
335 options:
336 max-size: "30m"
337 max-file: "5"
338################################################################################
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000339 populate-aai-config:
340 image: jobs/workaround-job-container:latest
341 ports:
342 - "9995:9995"
343 volumes:
344 - ${CONFIG_DIR_PATH}/populate-aai-simulator.sh:/config/populate-aai-simulator.sh
345 - ${CONFIG_DIR_PATH}/wait-for.sh:/config/wait-for.sh
346 - ${CONFIG_DIR_PATH}/aai-simulator-populate-data:/config/aai-simulator-populate-data/
347 environment:
348 - AAI_SIMULATOR_HOST=aai-simulator
349 - AAI_SIMULATOR_PORT=9993
350 - TIMEOUT_IN_SECONDS=300 #5 mins
351 depends_on:
352 - aai-simulator
waqas.ikrambba9cee2019-09-19 15:40:46 +0100353 command:
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000354 - "/config/populate-aai-simulator.sh"
355################################################################################
waqas.ikrame957e1d2021-01-14 10:24:04 +0000356 modeling-etsicatalog:
357 image: ${NEXUS_DOCKER_REPO_MSO}/onap/modeling/etsicatalog:${ETSI_CATALOG_IMAGE_VERSION}
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200358 ports:
waqas.ikrame957e1d2021-01-14 10:24:04 +0000359 - "8806:8806"
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200360 volumes:
waqas.ikrame957e1d2021-01-14 10:24:04 +0000361 - /var/lib/mysql
362 - ${CONFIG_DIR_PATH}/wait-for.sh:/service/wait-for.sh
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200363 environment:
waqas.ikrame957e1d2021-01-14 10:24:04 +0000364 - DB_IP=mariadb
365 - SDC_ADDR=http://sdc-simulator:9991
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200366 hostname:
waqas.ikrame957e1d2021-01-14 10:24:04 +0000367 modeling-etsicatalog
AndrewLamb29da40e2021-02-12 13:58:36 +0000368 links:
369 - "so-vnfm-adapter:so-vnfm-adapter.onap"
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200370 depends_on:
waqas.ikrame957e1d2021-01-14 10:24:04 +0000371 - mariadb
372 - sdc-simulator
Piotr Borelowski96d36b52020-06-05 16:11:18 +0200373 logging:
374 driver: "json-file"
375 options:
376 max-size: "30m"
377 max-file: "5"
waqas.ikrame957e1d2021-01-14 10:24:04 +0000378 entrypoint: /bin/sh -c '/service/wait-for.sh -t 300 -h mariadb -p 3306 && /service/modeling/etsicatalog/docker/docker-entrypoint.sh'
rope252afd22da2021-02-12 12:39:12 +0000379###############################################################################
380 so-etsi-nfvo-ns-lcm:
381 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-etsi-nfvo-ns-lcm:${TAG}
382 ports:
383 - "9095:9095"
384 volumes:
385 - ${CONFIG_DIR_PATH}/override-files/so-etsi-nfvo-ns-lcm/onapheat:/app/config
386 - ${CONFIG_DIR_PATH}/certificates/truststore/root-ca.crt:/app/ca-certificates/root-ca.crt
387 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
388 environment:
389 - APP=so-etsi-nfvo-ns-lcm
390 - JVM_ARGS=-Xms64m -Xmx512m
391 - DB_HOST=mariadb
392 - DB_PORT=3306
393 - DB_USERNAME=so_user
394 - DB_PASSWORD=so_User123
395 - DB_ADMIN_USERNAME=so_admin
396 - DB_ADMIN_PASSWORD=so_Admin123
397 hostname:
398 etsi.nfvo.ns.lcm
399 depends_on:
400 - mariadb
401 - aai-simulator
402 - sdc-simulator
403 - modeling-etsicatalog
404 - so-vnfm-adapter
405 user: root
406 entrypoint: /bin/sh -c '/app/wait-for.sh -q -t "300" mariadb:3306 -- "/app/start-app.sh"'