blob: 22fc221ac60eccc818d4dbd590cd6d36fe82a1a8 [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
133 - ${CONFIG_DIR_PATH}/distribution-test-zip/distributionTestZip.zip:/distribution-test-zip/distributionTestZip.zip
134 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:
155 - /bin/sh
156 - -c
157 - 'mkdir -p /distribution-test-zip/unzipped && unzip /distribution-test-zip/distributionTestZip.zip -d /distribution-test-zip/unzipped && /app/wait-for.sh -q -t "300" request-db-adapter:8083 -- "/app/start-app.sh"'
158################################################################################
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
165 - ${TEST_LAB_DIR}/volumes/so/config/bpmn-infra/onapheat:/app/config
166 environment:
167 - APP=bpmn-infra
168 - JVM_ARGS=-Xms64m -Xmx512m
169 - DB_HOST=mariadb
170 - DB_PORT=3306
171 - DB_USERNAME=so_user
172 - DB_PASSWORD=so_User123
173 - DB_ADMIN_USERNAME=so_admin
174 - DB_ADMIN_PASSWORD=so_Admin123
175 hostname:
176 bpmn-infra.so.testlab.onap.org
177 depends_on:
178 - mariadb
179 - catalog-db-adapter
180 - request-db-adapter
181 logging:
182 driver: "json-file"
183 options:
184 max-size: "30m"
185 max-file: "5"
186 command:
187 - /app/wait-for.sh
188 - -q
189 - -t
190 - "300"
191 - request-db-adapter:8083
192 - --
193 - "/app/start-app.sh"
194################################################################################
195 api-handler-infra:
196 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG}
197 ports:
198 - "8080:8080"
199 volumes:
200 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
201 - ${TEST_LAB_DIR}/volumes/so/config/api-handler-infra/onapheat:/app/config
202 environment:
203 - APP=api-handler-infra
204 - JVM_ARGS=-Xms64m -Xmx512m
205 - DB_HOST=mariadb
206 - DB_PORT=3306
207 - DB_USERNAME=so_user
208 - DB_PASSWORD=so_User123
209 - DB_ADMIN_USERNAME=so_admin
210 - DB_ADMIN_PASSWORD=so_Admin123
211 hostname:
212 api-handler-infra.so.testlab.onap.org
213 depends_on:
214 - mariadb
215 - catalog-db-adapter
216 - request-db-adapter
217 logging:
218 driver: "json-file"
219 options:
220 max-size: "30m"
221 max-file: "5"
222 command:
223 - /app/wait-for.sh
224 - -q
225 - -t
226 - "300"
227 - request-db-adapter:8083
228 - --
229 - "/app/start-app.sh"
230#############################################################################
231 so-monitoring:
232 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/so-monitoring:${TAG}
233 ports:
234 - "30224:9091"
235 volumes:
236 - ${TEST_LAB_DIR}/volumes/so/config/api-handler-infra/onapheat:/app/config
237 environment:
238 - APP=so-monitoring
239 - JVM_ARGS=-Xms64m -Xmx512m
240 hostname:
241 so-monitoring.so.testlab.onap.org
242 depends_on:
243 - mariadb
244 - catalog-db-adapter
245 - request-db-adapter
246################################################################################
waqas.ikram0a33a292019-07-23 12:39:15 +0000247 vnfm-adapter:
waqas.ikram7d753292019-07-18 16:41:17 +0000248 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG}
249 ports:
250 - "9092:9092"
eHanan93a28372019-07-22 15:51:26 +0000251 volumes:
252 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
253 - ${TEST_LAB_DIR}/volumes/so/config/vnfm-adapter/onapheat:/app/config
waqas.ikram7d753292019-07-18 16:41:17 +0000254 environment:
waqas.ikram0a33a292019-07-23 12:39:15 +0000255 - APP=vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +0000256 - JVM_ARGS=-Xms64m -Xmx512m
257 hostname:
258 vnfm-adapter-test
259 depends_on:
260 - request-db-adapter
261 logging:
262 driver: "json-file"
263 options:
264 max-size: "30m"
265 max-file: "5"
266 command:
267 - /app/wait-for.sh
268 - -q
269 - -t
270 - "300"
271 - request-db-adapter:8083
272 - --
273 - "/app/start-app.sh"
274################################################################################
waqas.ikramb01df8b2019-07-09 16:14:17 +0000275 sdc-simulator:
276 image: simulators/sdc-simulator:latest
277 ports:
278 - "9991:9991"
279 environment:
280 - APP=SDC-SIMULATOR
281 - JVM_ARGS=-Xms64m -Xmx512m
282 hostname:
283 sdc-simulator
waqas.ikram7d753292019-07-18 16:41:17 +0000284 depends_on:
285 - mariadb
waqas.ikram0a33a292019-07-23 12:39:15 +0000286 - vnfm-adapter
287 logging:
288 driver: "json-file"
289 options:
290 max-size: "30m"
291 max-file: "5"
292################################################################################
293 aai-simulator:
294 image: simulators/aai-simulator:latest
295 ports:
296 - "9993:9993"
297 environment:
298 - APP=AAI-SIMULATOR
299 - JVM_ARGS=-Xms64m -Xmx512m
300 hostname:
301 aai-simulator
302 depends_on:
303 - mariadb
304 - vnfm-adapter
waqas.ikramb01df8b2019-07-09 16:14:17 +0000305 logging:
306 driver: "json-file"
307 options:
308 max-size: "30m"
309 max-file: "5"
310################################################################################
AndrewLamb70095ba2019-07-31 11:56:33 +0000311 vnfm-simulator:
312 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-simulator:${TAG}
313 ports:
314 - "9093:9093"
315 environment:
316 - APP=VNFM-SIMULATOR
317 - JVM_ARGS=-Xms64m -Xmx512m
318 hostname:
319 vnfm-simulator
320 depends_on:
321 - mariadb
322 - vnfm-adapter
323 logging:
324 driver: "json-file"
325 options:
326 max-size: "30m"
327 max-file: "5"
328################################################################################
waqas.ikram7d753292019-07-18 16:41:17 +0000329 workaround-config:
330 image: jobs/workaround-job-container:latest
waqas.ikramb01df8b2019-07-09 16:14:17 +0000331 ports:
waqas.ikram7d753292019-07-18 16:41:17 +0000332 - "9990:9990"
333 volumes:
334 - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh
waqas.ikramb01df8b2019-07-09 16:14:17 +0000335 environment:
waqas.ikram7d753292019-07-18 16:41:17 +0000336 - MYSQL_ROOT_PASSWORD=password
337 - DB_HOST=mariadb
338 - DB_PORT=3306
339 - CATALOG_DB=catalogdb
340 depends_on:
341 - mariadb
waqas.ikram0a33a292019-07-23 12:39:15 +0000342 - vnfm-adapter
eHanan93a28372019-07-22 15:51:26 +0000343 command:
waqas.ikram7d753292019-07-18 16:41:17 +0000344 - "/config/apply-workarounds.sh"
rope2521537edf2019-07-25 16:04:10 +0000345#################################################################################
waqas.ikram24805412019-08-01 16:19:31 +0000346 sdnc-simulator:
347 image: simulators/sdnc-simulator:latest
348 ports:
349 - "9994:9994"
350 environment:
351 - APP=SDNC-SIMULATOR
352 - JVM_ARGS=-Xms64m -Xmx512m
353 hostname:
354 sdnc-simulator
355 depends_on:
356 - mariadb
357 - vnfm-adapter
358 logging:
359 driver: "json-file"
360 options:
361 max-size: "30m"
362 max-file: "5"
363################################################################################
364