blob: 96eea965014f5a9112e43964b554f3421fa5f439 [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
27 - ${TEST_LAB_DIR}/volumes/so/config/catalog-db-adapter/onapheat:/app/config
28 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"
46 command:
47 - /app/wait-for.sh
48 - -q
49 - -t
50 - "300"
51 - mariadb:3306
52 - --
53 - "/app/start-app.sh"
54################################################################################
55 request-db-adapter:
56 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/request-db-adapter:${TAG}
57 ports:
58 - "8083:8083"
59 volumes:
60 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
61 - ${TEST_LAB_DIR}/volumes/so/config/request-db-adapter/onapheat:/app/config
62 environment:
63 - APP=request-db-adapter
64 - JVM_ARGS=-Xms64m -Xmx512m
65 - DB_HOST=mariadb
66 - DB_PORT=3306
67 - DB_USERNAME=so_user
68 - DB_PASSWORD=so_User123
69 - DB_ADMIN_USERNAME=so_admin
70 - DB_ADMIN_PASSWORD=so_Admin123
71 hostname:
72 request-db-adapter.so.testlab.onap.org
73 depends_on:
74 - mariadb
75 - catalog-db-adapter
76 logging:
77 driver: "json-file"
78 options:
79 max-size: "30m"
80 max-file: "5"
81 command:
82 - /app/wait-for.sh
83 - -q
84 - -t
85 - "300"
86 - catalog-db-adapter:8082
87 - --
88 - "/app/start-app.sh"
89################################################################################
robert.tomczyk06287102019-07-29 14:14:59 +010090 sdnc-adapter:
91 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdnc-adapter:${TAG}
92 ports:
93 - "8086:8086"
94 volumes:
95 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
96 - ${TEST_LAB_DIR}/volumes/so/config/sdnc-adapter/onapheat:/app/config
97 environment:
98 - APP=sdnc-adapter
99 - JVM_ARGS=-Xms64m -Xmx512m
100 - DB_HOST=mariadb
101 - DB_PORT=3306
102 - DB_USERNAME=so_user
103 - DB_PASSWORD=so_User123
104 - DB_ADMIN_USERNAME=so_admin
105 - DB_ADMIN_PASSWORD=so_Admin123
106 hostname:
107 sdnc-adapter.so.testlab.onap.org
108 depends_on:
109 - mariadb
110 - catalog-db-adapter
111 - request-db-adapter
112 logging:
113 driver: "json-file"
114 options:
115 max-size: "30m"
116 max-file: "5"
117 command:
118 - /app/wait-for.sh
119 - -q
120 - -t
121 - "300"
122 - request-db-adapter:8083
123 - --
124 - "/app/start-app.sh"
125################################################################################
126 sdc-controller:
127 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdc-controller:${TAG}
128 ports:
129 - "8085:8085"
130 volumes:
131 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
eHanan2ae0ac02019-09-16 12:25:40 +0100132 - ${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 +0100133 - ${CONFIG_DIR_PATH}/override-files/sdc-controller/onapheat:/app/config
robert.tomczyk06287102019-07-29 14:14:59 +0100134 environment:
135 - APP=sdc-controller
136 - JVM_ARGS=-Xms64m -Xmx512m
137 - DB_HOST=mariadb
138 - DB_PORT=3306
139 - DB_USERNAME=so_user
140 - DB_PASSWORD=so_User123
141 - DB_ADMIN_USERNAME=so_admin
142 - DB_ADMIN_PASSWORD=so_Admin123
143 hostname:
144 sdc-controller.so.testlab.onap.org
145 depends_on:
146 - mariadb
147 - catalog-db-adapter
148 - request-db-adapter
149 logging:
150 driver: "json-file"
151 options:
152 max-size: "30m"
153 max-file: "5"
154 command:
eHanan2ae0ac02019-09-16 12:25:40 +0100155 - /bin/sh
156 - -c
157 - 'mkdir -p /distribution-test-zip/unzipped && tar -xvzf /distribution-test-zip/zipped_sdc_csar.tar.gz -C /distribution-test-zip/unzipped && /app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"'
robert.tomczyk06287102019-07-29 14:14:59 +0100158################################################################################
159 bpmn-infra:
160 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG}
161 ports:
162 - "8081:8081"
163 volumes:
164 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikramcb3218e2019-08-22 10:25:24 +0000165 - ${CONFIG_DIR_PATH}/override-files/bpmn-infra/onapheat:/app/config
166 - ${CONFIG_DIR_PATH}/certificates/aai-certificate/aai.crt:/app/ca-certificates/aai.crt
robert.tomczyk06287102019-07-29 14:14:59 +0100167 environment:
168 - APP=bpmn-infra
169 - JVM_ARGS=-Xms64m -Xmx512m
170 - DB_HOST=mariadb
171 - DB_PORT=3306
172 - DB_USERNAME=so_user
173 - DB_PASSWORD=so_User123
174 - DB_ADMIN_USERNAME=so_admin
175 - DB_ADMIN_PASSWORD=so_Admin123
176 hostname:
177 bpmn-infra.so.testlab.onap.org
178 depends_on:
179 - mariadb
180 - catalog-db-adapter
181 - request-db-adapter
182 logging:
183 driver: "json-file"
184 options:
185 max-size: "30m"
186 max-file: "5"
187 command:
188 - /app/wait-for.sh
189 - -q
190 - -t
191 - "300"
192 - request-db-adapter:8083
193 - --
194 - "/app/start-app.sh"
195################################################################################
196 api-handler-infra:
197 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG}
198 ports:
199 - "8080:8080"
200 volumes:
201 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikrambba9cee2019-09-19 15:40:46 +0100202 - ${CONFIG_DIR_PATH}/override-files/api-handler-infra/onapheat:/app/config
robert.tomczyk06287102019-07-29 14:14:59 +0100203 environment:
204 - APP=api-handler-infra
205 - JVM_ARGS=-Xms64m -Xmx512m
206 - DB_HOST=mariadb
207 - DB_PORT=3306
208 - DB_USERNAME=so_user
209 - DB_PASSWORD=so_User123
210 - DB_ADMIN_USERNAME=so_admin
211 - DB_ADMIN_PASSWORD=so_Admin123
212 hostname:
213 api-handler-infra.so.testlab.onap.org
214 depends_on:
215 - mariadb
216 - catalog-db-adapter
217 - request-db-adapter
218 logging:
219 driver: "json-file"
220 options:
221 max-size: "30m"
222 max-file: "5"
223 command:
224 - /app/wait-for.sh
225 - -q
226 - -t
227 - "300"
228 - request-db-adapter:8083
229 - --
230 - "/app/start-app.sh"
231#############################################################################
232 so-monitoring:
233 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-monitoring:${TAG}
234 ports:
eHanan75c11712019-08-13 15:44:16 +0000235 - "30224:30224"
robert.tomczyk06287102019-07-29 14:14:59 +0100236 volumes:
eHanan319d0ad2019-09-03 13:45:18 +0000237 - ${CONFIG_DIR_PATH}/override-files/so-monitoring/onapheat:/app/config
robert.tomczyk06287102019-07-29 14:14:59 +0100238 environment:
239 - APP=so-monitoring
240 - JVM_ARGS=-Xms64m -Xmx512m
241 hostname:
242 so-monitoring.so.testlab.onap.org
243 depends_on:
244 - mariadb
245 - catalog-db-adapter
246 - request-db-adapter
247################################################################################
waqas.ikrambba9cee2019-09-19 15:40:46 +0100248 so-vnfm-adapter:
waqas.ikram7d753292019-07-18 16:41:17 +0000249 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG}
250 ports:
251 - "9092:9092"
eHanan93a28372019-07-22 15:51:26 +0000252 volumes:
253 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikrambba9cee2019-09-19 15:40:46 +0100254 - ${CONFIG_DIR_PATH}/override-files/so-vnfm-adapter/onapheat:/app/config
waqas.ikram7d753292019-07-18 16:41:17 +0000255 environment:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100256 - APP=so-vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000257 - JVM_ARGS=-Xms64m -Xmx512m
258 hostname:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100259 so-vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000260 depends_on:
261 - request-db-adapter
262 logging:
263 driver: "json-file"
264 options:
265 max-size: "30m"
266 max-file: "5"
267 command:
268 - /app/wait-for.sh
269 - -q
270 - -t
271 - "300"
272 - request-db-adapter:8083
273 - --
274 - "/app/start-app.sh"
275################################################################################
waqas.ikramb01df8b2019-07-09 16:14:17 +0000276 sdc-simulator:
277 image: simulators/sdc-simulator:latest
278 ports:
279 - "9991:9991"
280 environment:
281 - APP=SDC-SIMULATOR
282 - JVM_ARGS=-Xms64m -Xmx512m
283 hostname:
284 sdc-simulator
waqas.ikram7d753292019-07-18 16:41:17 +0000285 depends_on:
286 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100287 - so-vnfm-adapter
waqas.ikram0a33a292019-07-23 12:39:15 +0000288 logging:
289 driver: "json-file"
290 options:
291 max-size: "30m"
292 max-file: "5"
293################################################################################
294 aai-simulator:
295 image: simulators/aai-simulator:latest
296 ports:
297 - "9993:9993"
298 environment:
299 - APP=AAI-SIMULATOR
300 - JVM_ARGS=-Xms64m -Xmx512m
301 hostname:
302 aai-simulator
303 depends_on:
304 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100305 - so-vnfm-adapter
waqas.ikramb01df8b2019-07-09 16:14:17 +0000306 logging:
307 driver: "json-file"
308 options:
309 max-size: "30m"
310 max-file: "5"
311################################################################################
waqas.ikrambba9cee2019-09-19 15:40:46 +0100312 so-vnfm-simulator:
AndrewLambfa9bb102019-10-03 12:02:53 +0100313 image: simulators/vnfm-simulator:latest
AndrewLamb70095ba2019-07-31 11:56:33 +0000314 ports:
315 - "9093:9093"
waqas.ikrambba9cee2019-09-19 15:40:46 +0100316 volumes:
AndrewLambfa9bb102019-10-03 12:02:53 +0100317 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikrambba9cee2019-09-19 15:40:46 +0100318 - ${CONFIG_DIR_PATH}/override-files/vnfm-simulator/onapheat:/app/config
AndrewLamb70095ba2019-07-31 11:56:33 +0000319 environment:
320 - APP=VNFM-SIMULATOR
321 - JVM_ARGS=-Xms64m -Xmx512m
322 hostname:
waqas.ikrambba9cee2019-09-19 15:40:46 +0100323 so-vnfm-simulator
AndrewLamb70095ba2019-07-31 11:56:33 +0000324 depends_on:
325 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100326 - so-vnfm-adapter
AndrewLamb70095ba2019-07-31 11:56:33 +0000327 logging:
328 driver: "json-file"
329 options:
330 max-size: "30m"
331 max-file: "5"
332################################################################################
waqas.ikram7d753292019-07-18 16:41:17 +0000333 workaround-config:
334 image: jobs/workaround-job-container:latest
waqas.ikramb01df8b2019-07-09 16:14:17 +0000335 ports:
waqas.ikram7d753292019-07-18 16:41:17 +0000336 - "9990:9990"
337 volumes:
338 - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh
waqas.ikramb01df8b2019-07-09 16:14:17 +0000339 environment:
waqas.ikram7d753292019-07-18 16:41:17 +0000340 - MYSQL_ROOT_PASSWORD=password
341 - DB_HOST=mariadb
342 - DB_PORT=3306
343 - CATALOG_DB=catalogdb
344 depends_on:
345 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100346 - so-vnfm-adapter
eHanan93a28372019-07-22 15:51:26 +0000347 command:
waqas.ikram7d753292019-07-18 16:41:17 +0000348 - "/config/apply-workarounds.sh"
rope2521537edf2019-07-25 16:04:10 +0000349#################################################################################
waqas.ikram24805412019-08-01 16:19:31 +0000350 sdnc-simulator:
351 image: simulators/sdnc-simulator:latest
352 ports:
353 - "9994:9994"
354 environment:
355 - APP=SDNC-SIMULATOR
356 - JVM_ARGS=-Xms64m -Xmx512m
357 hostname:
358 sdnc-simulator
359 depends_on:
360 - mariadb
waqas.ikrambba9cee2019-09-19 15:40:46 +0100361 - so-vnfm-adapter
waqas.ikram24805412019-08-01 16:19:31 +0000362 logging:
363 driver: "json-file"
364 options:
365 max-size: "30m"
366 max-file: "5"
367################################################################################
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000368 populate-aai-config:
369 image: jobs/workaround-job-container:latest
370 ports:
371 - "9995:9995"
372 volumes:
373 - ${CONFIG_DIR_PATH}/populate-aai-simulator.sh:/config/populate-aai-simulator.sh
374 - ${CONFIG_DIR_PATH}/wait-for.sh:/config/wait-for.sh
375 - ${CONFIG_DIR_PATH}/aai-simulator-populate-data:/config/aai-simulator-populate-data/
376 environment:
377 - AAI_SIMULATOR_HOST=aai-simulator
378 - AAI_SIMULATOR_PORT=9993
379 - TIMEOUT_IN_SECONDS=300 #5 mins
380 depends_on:
381 - aai-simulator
waqas.ikrambba9cee2019-09-19 15:40:46 +0100382 command:
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000383 - "/config/populate-aai-simulator.sh"
384################################################################################