blob: cca52f9a243dfaa503c3ac83211d4e0d8421322a [file] [log] [blame]
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +05301version: '3'
2services:
3################################################################################
4 mariadb:
5 image: ${NEXUS_DOCKER_REPO_MSO}/mariadb:10.1.11
6 ports:
7 - "3306:3306"
8 volumes:
9 - ./test_lab/volumes/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
10 - ./test_lab/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/volumes/so/ca-certificates/onapheat:/app/ca-certificates
27 - ./test_lab/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
waqas.ikramcda37762019-08-29 15:38:15 +000032 - 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
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +053037 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/volumes/so/ca-certificates/onapheat:/app/ca-certificates
61 - ./test_lab/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
waqas.ikramcda37762019-08-29 15:38:15 +000066 - 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
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +053071 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################################################################################
90 sdnc-adapter:
91 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdnc-adapter:${TAG}
92 ports:
93 - "8086:8086"
94 volumes:
95 - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates
96 - ./test_lab/volumes/so/config/sdnc-adapter/onapheat:/app/config
97 environment:
98 - APP=sdnc-adapter
99 - JVM_ARGS=-Xms64m -Xmx512m
100 - DB_HOST=mariadb
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +0530101 hostname:
102 sdnc-adapter.so.testlab.onap.org
103 depends_on:
104 - mariadb
105 - catalog-db-adapter
106 - request-db-adapter
107 logging:
108 driver: "json-file"
109 options:
110 max-size: "30m"
111 max-file: "5"
112 command:
113 - /app/wait-for.sh
114 - -q
115 - -t
116 - "300"
117 - request-db-adapter:8083
118 - --
119 - "/app/start-app.sh"
120################################################################################
121 openstack-adapter:
122 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/openstack-adapter:${TAG}
123 ports:
124 - "8087:8087"
125 volumes:
126 - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates
127 - ./test_lab/volumes/so/config/openstack-adapter/onapheat:/app/config
128 environment:
129 - APP=openstack-adapter
130 - JVM_ARGS=-Xms64m -Xmx512m
131 - DB_HOST=mariadb
waqas.ikramcda37762019-08-29 15:38:15 +0000132 - DB_PORT=3306
133 - DB_USERNAME=so_user
134 - DB_PASSWORD=so_User123
135 - DB_ADMIN_USERNAME=so_admin
136 - DB_ADMIN_PASSWORD=so_Admin123
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +0530137 hostname:
138 openstack-adapter.so.testlab.onap.org
139 depends_on:
140 - mariadb
141 - catalog-db-adapter
142 - request-db-adapter
143 logging:
144 driver: "json-file"
145 options:
146 max-size: "30m"
147 max-file: "5"
148 command:
149 - /app/wait-for.sh
150 - -q
151 - -t
152 - "300"
153 - request-db-adapter:8083
154 - --
155 - "/app/start-app.sh"
156################################################################################
157 vfc-adapter:
158 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vfc-adapter:${TAG}
159 ports:
160 - "8084:8084"
161 volumes:
162 - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates
163 - ./test_lab/volumes/so/config/vfc-adapter/onapheat:/app/config
164 environment:
165 - APP=vfc-adapter
166 - JVM_ARGS=-Xms64m -Xmx512m
167 - DB_HOST=mariadb
waqas.ikramcda37762019-08-29 15:38:15 +0000168 - DB_PORT=3306
169 - DB_USERNAME=so_user
170 - DB_PASSWORD=so_User123
171 - DB_ADMIN_USERNAME=so_admin
172 - DB_ADMIN_PASSWORD=so_Admin123
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +0530173 hostname:
174 vfc-adapter.so.testlab.onap.org
175 depends_on:
176 - mariadb
177 - catalog-db-adapter
178 - request-db-adapter
179 logging:
180 driver: "json-file"
181 options:
182 max-size: "30m"
183 max-file: "5"
184 command:
185 - /app/wait-for.sh
186 - -q
187 - -t
188 - "300"
189 - request-db-adapter:8083
190 - --
191 - "/app/start-app.sh"
192################################################################################
193 sdc-controller:
194 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdc-controller:${TAG}
195 ports:
196 - "8085:8085"
197 volumes:
198 - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates
199 - ./test_lab/volumes/so/config/sdc-controller/onapheat:/app/config
200 environment:
201 - APP=sdc-controller
202 - JVM_ARGS=-Xms64m -Xmx512m
203 - DB_HOST=mariadb
waqas.ikramcda37762019-08-29 15:38:15 +0000204 - DB_PORT=3306
205 - DB_USERNAME=so_user
206 - DB_PASSWORD=so_User123
207 - DB_ADMIN_USERNAME=so_admin
208 - DB_ADMIN_PASSWORD=so_Admin123
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +0530209 hostname:
210 sdc-controller.so.testlab.onap.org
211 depends_on:
212 - mariadb
213 - catalog-db-adapter
214 - request-db-adapter
215 logging:
216 driver: "json-file"
217 options:
218 max-size: "30m"
219 max-file: "5"
220 command:
221 - /app/wait-for.sh
222 - -q
223 - -t
224 - "300"
225 - request-db-adapter:8083
226 - --
227 - "/app/start-app.sh"
228################################################################################
229 bpmn-infra:
230 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG}
231 ports:
232 - "8081:8081"
233 volumes:
234 - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates
235 - ./test_lab/volumes/so/config/bpmn-infra/onapheat:/app/config
236 environment:
237 - APP=bpmn-infra
238 - JVM_ARGS=-Xms64m -Xmx512m
239 - DB_HOST=mariadb
waqas.ikramcda37762019-08-29 15:38:15 +0000240 - DB_PORT=3306
241 - DB_USERNAME=so_user
242 - DB_PASSWORD=so_User123
243 - DB_ADMIN_USERNAME=so_admin
244 - DB_ADMIN_PASSWORD=so_Admin123
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +0530245 hostname:
246 bpmn-infra.so.testlab.onap.org
247 depends_on:
248 - mariadb
249 - catalog-db-adapter
250 - request-db-adapter
251 logging:
252 driver: "json-file"
253 options:
254 max-size: "30m"
255 max-file: "5"
256 command:
257 - /app/wait-for.sh
258 - -q
259 - -t
260 - "300"
261 - request-db-adapter:8083
262 - --
263 - "/app/start-app.sh"
264################################################################################
265 api-handler-infra:
266 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG}
267 ports:
268 - "8080:8080"
269 volumes:
270 - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates
271 - ./test_lab/volumes/so/config/api-handler-infra/onapheat:/app/config
272 environment:
273 - APP=api-handler-infra
274 - JVM_ARGS=-Xms64m -Xmx512m
275 - DB_HOST=mariadb
waqas.ikramcda37762019-08-29 15:38:15 +0000276 - DB_PORT=3306
277 - DB_USERNAME=so_user
278 - DB_PASSWORD=so_User123
279 - DB_ADMIN_USERNAME=so_admin
280 - DB_ADMIN_PASSWORD=so_Admin123
subhash kumar singh5e2fe2c2018-10-26 14:25:28 +0530281 hostname:
282 api-handler-infra.so.testlab.onap.org
283 depends_on:
284 - mariadb
285 - catalog-db-adapter
286 - request-db-adapter
287 logging:
288 driver: "json-file"
289 options:
290 max-size: "30m"
291 max-file: "5"
292 command:
293 - /app/wait-for.sh
294 - -q
295 - -t
296 - "300"
297 - request-db-adapter:8083
298 - --
299 - "/app/start-app.sh"