blob: ae8d77462e7d3e3d9121a126a746168fe3bc026c [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:
144 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikramcb3218e2019-08-22 10:25:24 +0000145 - ${CONFIG_DIR_PATH}/override-files/bpmn-infra/onapheat:/app/config
146 - ${CONFIG_DIR_PATH}/certificates/aai-certificate/aai.crt:/app/ca-certificates/aai.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:
175 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikrambba9cee2019-09-19 15:40:46 +0100176 - ${CONFIG_DIR_PATH}/override-files/api-handler-infra/onapheat:/app/config
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:
221 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikrambba9cee2019-09-19 15:40:46 +0100222 - ${CONFIG_DIR_PATH}/override-files/so-vnfm-adapter/onapheat:/app/config
waqas.ikram7d753292019-07-18 16:41:17 +0000223 environment:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100224 - APP=so-vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000225 - JVM_ARGS=-Xms64m -Xmx512m
226 hostname:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100227 so-vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000228 depends_on:
229 - request-db-adapter
230 logging:
231 driver: "json-file"
232 options:
233 max-size: "30m"
234 max-file: "5"
rope252eb249712020-04-16 14:36:02 +0100235 user: root
236 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 +0000237################################################################################
waqas.ikramb01df8b2019-07-09 16:14:17 +0000238 sdc-simulator:
239 image: simulators/sdc-simulator:latest
240 ports:
241 - "9991:9991"
242 environment:
243 - APP=SDC-SIMULATOR
244 - JVM_ARGS=-Xms64m -Xmx512m
245 hostname:
246 sdc-simulator
waqas.ikram7d753292019-07-18 16:41:17 +0000247 depends_on:
248 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100249 - so-vnfm-adapter
waqas.ikram0a33a292019-07-23 12:39:15 +0000250 logging:
251 driver: "json-file"
252 options:
253 max-size: "30m"
254 max-file: "5"
255################################################################################
256 aai-simulator:
257 image: simulators/aai-simulator:latest
258 ports:
259 - "9993:9993"
260 environment:
261 - APP=AAI-SIMULATOR
262 - JVM_ARGS=-Xms64m -Xmx512m
263 hostname:
264 aai-simulator
265 depends_on:
266 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100267 - so-vnfm-adapter
waqas.ikramb01df8b2019-07-09 16:14:17 +0000268 logging:
269 driver: "json-file"
270 options:
271 max-size: "30m"
272 max-file: "5"
273################################################################################
waqas.ikrambba9cee2019-09-19 15:40:46 +0100274 so-vnfm-simulator:
AndrewLambfa9bb102019-10-03 12:02:53 +0100275 image: simulators/vnfm-simulator:latest
AndrewLamb70095ba2019-07-31 11:56:33 +0000276 ports:
277 - "9093:9093"
waqas.ikrambba9cee2019-09-19 15:40:46 +0100278 volumes:
AndrewLambfa9bb102019-10-03 12:02:53 +0100279 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikrambba9cee2019-09-19 15:40:46 +0100280 - ${CONFIG_DIR_PATH}/override-files/vnfm-simulator/onapheat:/app/config
AndrewLamb70095ba2019-07-31 11:56:33 +0000281 environment:
282 - APP=VNFM-SIMULATOR
283 - JVM_ARGS=-Xms64m -Xmx512m
284 hostname:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100285 so-vnfm-simulator
AndrewLamb70095ba2019-07-31 11:56:33 +0000286 depends_on:
287 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100288 - so-vnfm-adapter
AndrewLamb70095ba2019-07-31 11:56:33 +0000289 logging:
290 driver: "json-file"
291 options:
292 max-size: "30m"
293 max-file: "5"
294################################################################################
waqas.ikram7d753292019-07-18 16:41:17 +0000295 workaround-config:
296 image: jobs/workaround-job-container:latest
waqas.ikramb01df8b2019-07-09 16:14:17 +0000297 ports:
waqas.ikram7d753292019-07-18 16:41:17 +0000298 - "9990:9990"
299 volumes:
300 - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh
waqas.ikramb01df8b2019-07-09 16:14:17 +0000301 environment:
waqas.ikram7d753292019-07-18 16:41:17 +0000302 - MYSQL_ROOT_PASSWORD=password
303 - DB_HOST=mariadb
304 - DB_PORT=3306
305 - CATALOG_DB=catalogdb
306 depends_on:
307 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100308 - so-vnfm-adapter
eHanan93a28372019-07-22 15:51:26 +0000309 command:
waqas.ikram7d753292019-07-18 16:41:17 +0000310 - "/config/apply-workarounds.sh"
rope2521537edf2019-07-25 16:04:10 +0000311#################################################################################
waqas.ikram24805412019-08-01 16:19:31 +0000312 sdnc-simulator:
313 image: simulators/sdnc-simulator:latest
314 ports:
315 - "9994:9994"
316 environment:
317 - APP=SDNC-SIMULATOR
318 - JVM_ARGS=-Xms64m -Xmx512m
319 hostname:
320 sdnc-simulator
321 depends_on:
322 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100323 - so-vnfm-adapter
waqas.ikram24805412019-08-01 16:19:31 +0000324 logging:
325 driver: "json-file"
326 options:
327 max-size: "30m"
328 max-file: "5"
329################################################################################
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000330 populate-aai-config:
331 image: jobs/workaround-job-container:latest
332 ports:
333 - "9995:9995"
334 volumes:
335 - ${CONFIG_DIR_PATH}/populate-aai-simulator.sh:/config/populate-aai-simulator.sh
336 - ${CONFIG_DIR_PATH}/wait-for.sh:/config/wait-for.sh
337 - ${CONFIG_DIR_PATH}/aai-simulator-populate-data:/config/aai-simulator-populate-data/
338 environment:
339 - AAI_SIMULATOR_HOST=aai-simulator
340 - AAI_SIMULATOR_PORT=9993
341 - TIMEOUT_IN_SECONDS=300 #5 mins
342 depends_on:
343 - aai-simulator
waqas.ikrambba9cee2019-09-19 15:40:46 +0100344 command:
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000345 - "/config/populate-aai-simulator.sh"
346################################################################################