blob: b356b7da32b4c94a73279396c66abce9f5659cf5 [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
132 - ${TEST_LAB_DIR}/volumes/so/config/sdc-controller/onapheat:/app/config
eHanan706c1952019-09-10 11:58:41 +0100133 - ${CONFIG_DIR_PATH}/distribution-test-unzipped:/distribution-test/unzipped
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:
eHanan706c1952019-09-10 11:58:41 +0100155 - /app/wait-for.sh
156 - -q
157 - -t
158 - "300"
159 - request-db-adapter:8083
160 - --
161 - "/app/start-app.sh"
robert.tomczyk06287102019-07-29 14:14:59 +0100162################################################################################
163 bpmn-infra:
164 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG}
165 ports:
166 - "8081:8081"
167 volumes:
168 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
waqas.ikramcb3218e2019-08-22 10:25:24 +0000169 - ${CONFIG_DIR_PATH}/override-files/bpmn-infra/onapheat:/app/config
170 - ${CONFIG_DIR_PATH}/certificates/aai-certificate/aai.crt:/app/ca-certificates/aai.crt
robert.tomczyk06287102019-07-29 14:14:59 +0100171 environment:
172 - APP=bpmn-infra
173 - JVM_ARGS=-Xms64m -Xmx512m
174 - DB_HOST=mariadb
175 - DB_PORT=3306
176 - DB_USERNAME=so_user
177 - DB_PASSWORD=so_User123
178 - DB_ADMIN_USERNAME=so_admin
179 - DB_ADMIN_PASSWORD=so_Admin123
180 hostname:
181 bpmn-infra.so.testlab.onap.org
182 depends_on:
183 - mariadb
184 - catalog-db-adapter
185 - request-db-adapter
186 logging:
187 driver: "json-file"
188 options:
189 max-size: "30m"
190 max-file: "5"
191 command:
192 - /app/wait-for.sh
193 - -q
194 - -t
195 - "300"
196 - request-db-adapter:8083
197 - --
198 - "/app/start-app.sh"
199################################################################################
200 api-handler-infra:
201 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG}
202 ports:
203 - "8080:8080"
204 volumes:
205 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
206 - ${TEST_LAB_DIR}/volumes/so/config/api-handler-infra/onapheat:/app/config
207 environment:
208 - APP=api-handler-infra
209 - JVM_ARGS=-Xms64m -Xmx512m
210 - DB_HOST=mariadb
211 - DB_PORT=3306
212 - DB_USERNAME=so_user
213 - DB_PASSWORD=so_User123
214 - DB_ADMIN_USERNAME=so_admin
215 - DB_ADMIN_PASSWORD=so_Admin123
216 hostname:
217 api-handler-infra.so.testlab.onap.org
218 depends_on:
219 - mariadb
220 - catalog-db-adapter
221 - request-db-adapter
222 logging:
223 driver: "json-file"
224 options:
225 max-size: "30m"
226 max-file: "5"
227 command:
228 - /app/wait-for.sh
229 - -q
230 - -t
231 - "300"
232 - request-db-adapter:8083
233 - --
234 - "/app/start-app.sh"
235#############################################################################
236 so-monitoring:
237 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-monitoring:${TAG}
238 ports:
eHanan75c11712019-08-13 15:44:16 +0000239 - "30224:30224"
robert.tomczyk06287102019-07-29 14:14:59 +0100240 volumes:
eHanan319d0ad2019-09-03 13:45:18 +0000241 - ${CONFIG_DIR_PATH}/override-files/so-monitoring/onapheat:/app/config
robert.tomczyk06287102019-07-29 14:14:59 +0100242 environment:
243 - APP=so-monitoring
244 - JVM_ARGS=-Xms64m -Xmx512m
245 hostname:
246 so-monitoring.so.testlab.onap.org
247 depends_on:
248 - mariadb
249 - catalog-db-adapter
250 - request-db-adapter
251################################################################################
waqas.ikram0a33a292019-07-23 12:39:15 +0000252 vnfm-adapter:
waqas.ikram7d753292019-07-18 16:41:17 +0000253 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG}
254 ports:
255 - "9092:9092"
eHanan93a28372019-07-22 15:51:26 +0000256 volumes:
257 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
eHanan319d0ad2019-09-03 13:45:18 +0000258 - ${CONFIG_DIR_PATH}/override-files/vnfm-adapter/onapheat:/app/config
waqas.ikram7d753292019-07-18 16:41:17 +0000259 environment:
waqas.ikram0a33a292019-07-23 12:39:15 +0000260 - APP=vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000261 - JVM_ARGS=-Xms64m -Xmx512m
262 hostname:
263 vnfm-adapter-test
264 depends_on:
265 - request-db-adapter
266 logging:
267 driver: "json-file"
268 options:
269 max-size: "30m"
270 max-file: "5"
271 command:
272 - /app/wait-for.sh
273 - -q
274 - -t
275 - "300"
276 - request-db-adapter:8083
277 - --
278 - "/app/start-app.sh"
279################################################################################
waqas.ikramb01df8b2019-07-09 16:14:17 +0000280 sdc-simulator:
281 image: simulators/sdc-simulator:latest
282 ports:
283 - "9991:9991"
284 environment:
285 - APP=SDC-SIMULATOR
286 - JVM_ARGS=-Xms64m -Xmx512m
287 hostname:
288 sdc-simulator
waqas.ikram7d753292019-07-18 16:41:17 +0000289 depends_on:
290 - mariadb
waqas.ikram0a33a292019-07-23 12:39:15 +0000291 - vnfm-adapter
292 logging:
293 driver: "json-file"
294 options:
295 max-size: "30m"
296 max-file: "5"
297################################################################################
298 aai-simulator:
299 image: simulators/aai-simulator:latest
300 ports:
301 - "9993:9993"
302 environment:
303 - APP=AAI-SIMULATOR
304 - JVM_ARGS=-Xms64m -Xmx512m
305 hostname:
306 aai-simulator
307 depends_on:
308 - mariadb
309 - vnfm-adapter
waqas.ikramb01df8b2019-07-09 16:14:17 +0000310 logging:
311 driver: "json-file"
312 options:
313 max-size: "30m"
314 max-file: "5"
315################################################################################
AndrewLamb70095ba2019-07-31 11:56:33 +0000316 vnfm-simulator:
317 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-simulator:${TAG}
318 ports:
319 - "9093:9093"
320 environment:
321 - APP=VNFM-SIMULATOR
322 - JVM_ARGS=-Xms64m -Xmx512m
323 hostname:
324 vnfm-simulator
325 depends_on:
326 - mariadb
327 - vnfm-adapter
328 logging:
329 driver: "json-file"
330 options:
331 max-size: "30m"
332 max-file: "5"
333################################################################################
waqas.ikram7d753292019-07-18 16:41:17 +0000334 workaround-config:
335 image: jobs/workaround-job-container:latest
waqas.ikramb01df8b2019-07-09 16:14:17 +0000336 ports:
waqas.ikram7d753292019-07-18 16:41:17 +0000337 - "9990:9990"
338 volumes:
339 - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh
waqas.ikramb01df8b2019-07-09 16:14:17 +0000340 environment:
waqas.ikram7d753292019-07-18 16:41:17 +0000341 - MYSQL_ROOT_PASSWORD=password
342 - DB_HOST=mariadb
343 - DB_PORT=3306
344 - CATALOG_DB=catalogdb
345 depends_on:
346 - mariadb
waqas.ikram0a33a292019-07-23 12:39:15 +0000347 - vnfm-adapter
eHanan93a28372019-07-22 15:51:26 +0000348 command:
waqas.ikram7d753292019-07-18 16:41:17 +0000349 - "/config/apply-workarounds.sh"
rope2521537edf2019-07-25 16:04:10 +0000350#################################################################################
waqas.ikram24805412019-08-01 16:19:31 +0000351 sdnc-simulator:
352 image: simulators/sdnc-simulator:latest
353 ports:
354 - "9994:9994"
355 environment:
356 - APP=SDNC-SIMULATOR
357 - JVM_ARGS=-Xms64m -Xmx512m
358 hostname:
359 sdnc-simulator
360 depends_on:
361 - mariadb
362 - vnfm-adapter
363 logging:
364 driver: "json-file"
365 options:
366 max-size: "30m"
367 max-file: "5"
368################################################################################
waqas.ikrama5aeeda2019-08-07 16:03:14 +0000369 populate-aai-config:
370 image: jobs/workaround-job-container:latest
371 ports:
372 - "9995:9995"
373 volumes:
374 - ${CONFIG_DIR_PATH}/populate-aai-simulator.sh:/config/populate-aai-simulator.sh
375 - ${CONFIG_DIR_PATH}/wait-for.sh:/config/wait-for.sh
376 - ${CONFIG_DIR_PATH}/aai-simulator-populate-data:/config/aai-simulator-populate-data/
377 environment:
378 - AAI_SIMULATOR_HOST=aai-simulator
379 - AAI_SIMULATOR_PORT=9993
380 - TIMEOUT_IN_SECONDS=300 #5 mins
381 depends_on:
382 - aai-simulator
383 command:
384 - "/config/populate-aai-simulator.sh"
385################################################################################