blob: 2286c9a9ddc7877c2dd5cb055cbe4400327ff4db [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################################################################################
waqas.ikram0a33a292019-07-23 12:39:15 +000090 vnfm-adapter:
waqas.ikram7d753292019-07-18 16:41:17 +000091 image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vnfm-adapter:${TAG}
92 ports:
93 - "9092:9092"
eHanan93a28372019-07-22 15:51:26 +000094 volumes:
95 - ${TEST_LAB_DIR}/volumes/so/ca-certificates/onapheat:/app/ca-certificates
96 - ${TEST_LAB_DIR}/volumes/so/config/vnfm-adapter/onapheat:/app/config
waqas.ikram7d753292019-07-18 16:41:17 +000097 environment:
waqas.ikram0a33a292019-07-23 12:39:15 +000098 - APP=vnfm-adapter
waqas.ikram7d753292019-07-18 16:41:17 +000099 - JVM_ARGS=-Xms64m -Xmx512m
100 hostname:
101 vnfm-adapter-test
102 depends_on:
103 - request-db-adapter
104 logging:
105 driver: "json-file"
106 options:
107 max-size: "30m"
108 max-file: "5"
109 command:
110 - /app/wait-for.sh
111 - -q
112 - -t
113 - "300"
114 - request-db-adapter:8083
115 - --
116 - "/app/start-app.sh"
117################################################################################
waqas.ikramb01df8b2019-07-09 16:14:17 +0000118 sdc-simulator:
119 image: simulators/sdc-simulator:latest
120 ports:
121 - "9991:9991"
122 environment:
123 - APP=SDC-SIMULATOR
124 - JVM_ARGS=-Xms64m -Xmx512m
125 hostname:
126 sdc-simulator
waqas.ikram7d753292019-07-18 16:41:17 +0000127 depends_on:
128 - mariadb
waqas.ikram0a33a292019-07-23 12:39:15 +0000129 - vnfm-adapter
130 logging:
131 driver: "json-file"
132 options:
133 max-size: "30m"
134 max-file: "5"
135################################################################################
136 aai-simulator:
137 image: simulators/aai-simulator:latest
138 ports:
139 - "9993:9993"
140 environment:
141 - APP=AAI-SIMULATOR
142 - JVM_ARGS=-Xms64m -Xmx512m
143 hostname:
144 aai-simulator
145 depends_on:
146 - mariadb
147 - vnfm-adapter
waqas.ikramb01df8b2019-07-09 16:14:17 +0000148 logging:
149 driver: "json-file"
150 options:
151 max-size: "30m"
152 max-file: "5"
153################################################################################
waqas.ikram7d753292019-07-18 16:41:17 +0000154 workaround-config:
155 image: jobs/workaround-job-container:latest
waqas.ikramb01df8b2019-07-09 16:14:17 +0000156 ports:
waqas.ikram7d753292019-07-18 16:41:17 +0000157 - "9990:9990"
158 volumes:
159 - ${CONFIG_DIR_PATH}/apply-workarounds.sh:/config/apply-workarounds.sh
waqas.ikramb01df8b2019-07-09 16:14:17 +0000160 environment:
waqas.ikram7d753292019-07-18 16:41:17 +0000161 - MYSQL_ROOT_PASSWORD=password
162 - DB_HOST=mariadb
163 - DB_PORT=3306
164 - CATALOG_DB=catalogdb
165 depends_on:
166 - mariadb
waqas.ikram0a33a292019-07-23 12:39:15 +0000167 - vnfm-adapter
eHanan93a28372019-07-22 15:51:26 +0000168 command:
waqas.ikram7d753292019-07-18 16:41:17 +0000169 - "/config/apply-workarounds.sh"
waqas.ikramb01df8b2019-07-09 16:14:17 +0000170################################################################################