subhash kumar singh | 5e2fe2c | 2018-10-26 14:25:28 +0530 | [diff] [blame] | 1 | version: '3' |
| 2 | services: |
| 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 |
| 32 | # - KEYSTORE=msoClientKeyStore-onapheat.jks |
| 33 | # - KEYSTORE_PASSWORD=password |
| 34 | # - TRUSTSTORE=msoTrustStore.jks |
| 35 | # - TRUSTSTORE_PASSWORD=password |
| 36 | hostname: |
| 37 | catalog-db-adapter.so.testlab.onap.org |
| 38 | depends_on: |
| 39 | - mariadb |
| 40 | logging: |
| 41 | driver: "json-file" |
| 42 | options: |
| 43 | max-size: "30m" |
| 44 | max-file: "5" |
| 45 | command: |
| 46 | - /app/wait-for.sh |
| 47 | - -q |
| 48 | - -t |
| 49 | - "300" |
| 50 | - mariadb:3306 |
| 51 | - -- |
| 52 | - "/app/start-app.sh" |
| 53 | ################################################################################ |
| 54 | request-db-adapter: |
| 55 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/request-db-adapter:${TAG} |
| 56 | ports: |
| 57 | - "8083:8083" |
| 58 | volumes: |
| 59 | - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 60 | - ./test_lab/volumes/so/config/request-db-adapter/onapheat:/app/config |
| 61 | environment: |
| 62 | - APP=request-db-adapter |
| 63 | - JVM_ARGS=-Xms64m -Xmx512m |
| 64 | - DB_HOST=mariadb |
| 65 | # - KEYSTORE=msoClientKeyStore-onapheat.jks |
| 66 | # - KEYSTORE_PASSWORD=password |
| 67 | # - TRUSTSTORE=msoTrustStore.jks |
| 68 | # - TRUSTSTORE_PASSWORD=password |
| 69 | hostname: |
| 70 | request-db-adapter.so.testlab.onap.org |
| 71 | depends_on: |
| 72 | - mariadb |
| 73 | - catalog-db-adapter |
| 74 | logging: |
| 75 | driver: "json-file" |
| 76 | options: |
| 77 | max-size: "30m" |
| 78 | max-file: "5" |
| 79 | command: |
| 80 | - /app/wait-for.sh |
| 81 | - -q |
| 82 | - -t |
| 83 | - "300" |
| 84 | - catalog-db-adapter:8082 |
| 85 | - -- |
| 86 | - "/app/start-app.sh" |
| 87 | ################################################################################ |
| 88 | sdnc-adapter: |
| 89 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/sdnc-adapter:${TAG} |
| 90 | ports: |
| 91 | - "8086:8086" |
| 92 | volumes: |
| 93 | - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 94 | - ./test_lab/volumes/so/config/sdnc-adapter/onapheat:/app/config |
| 95 | environment: |
| 96 | - APP=sdnc-adapter |
| 97 | - JVM_ARGS=-Xms64m -Xmx512m |
| 98 | - DB_HOST=mariadb |
| 99 | # - KEYSTORE=msoClientKeyStore-onapheat.jks |
| 100 | # - KEYSTORE_PASSWORD=password |
| 101 | # - TRUSTSTORE=msoTrustStore.jks |
| 102 | # - TRUSTSTORE_PASSWORD=password |
| 103 | hostname: |
| 104 | sdnc-adapter.so.testlab.onap.org |
| 105 | depends_on: |
| 106 | - mariadb |
| 107 | - catalog-db-adapter |
| 108 | - request-db-adapter |
| 109 | logging: |
| 110 | driver: "json-file" |
| 111 | options: |
| 112 | max-size: "30m" |
| 113 | max-file: "5" |
| 114 | command: |
| 115 | - /app/wait-for.sh |
| 116 | - -q |
| 117 | - -t |
| 118 | - "300" |
| 119 | - request-db-adapter:8083 |
| 120 | - -- |
| 121 | - "/app/start-app.sh" |
| 122 | ################################################################################ |
| 123 | openstack-adapter: |
| 124 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/openstack-adapter:${TAG} |
| 125 | ports: |
| 126 | - "8087:8087" |
| 127 | volumes: |
| 128 | - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 129 | - ./test_lab/volumes/so/config/openstack-adapter/onapheat:/app/config |
| 130 | environment: |
| 131 | - APP=openstack-adapter |
| 132 | - JVM_ARGS=-Xms64m -Xmx512m |
| 133 | - DB_HOST=mariadb |
| 134 | # - KEYSTORE=msoClientKeyStore-onapheat.jks |
| 135 | # - KEYSTORE_PASSWORD=password |
| 136 | # - TRUSTSTORE=msoTrustStore.jks |
| 137 | # - TRUSTSTORE_PASSWORD=password |
| 138 | hostname: |
| 139 | openstack-adapter.so.testlab.onap.org |
| 140 | depends_on: |
| 141 | - mariadb |
| 142 | - catalog-db-adapter |
| 143 | - request-db-adapter |
| 144 | logging: |
| 145 | driver: "json-file" |
| 146 | options: |
| 147 | max-size: "30m" |
| 148 | max-file: "5" |
| 149 | command: |
| 150 | - /app/wait-for.sh |
| 151 | - -q |
| 152 | - -t |
| 153 | - "300" |
| 154 | - request-db-adapter:8083 |
| 155 | - -- |
| 156 | - "/app/start-app.sh" |
| 157 | ################################################################################ |
| 158 | vfc-adapter: |
| 159 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/vfc-adapter:${TAG} |
| 160 | ports: |
| 161 | - "8084:8084" |
| 162 | volumes: |
| 163 | - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 164 | - ./test_lab/volumes/so/config/vfc-adapter/onapheat:/app/config |
| 165 | environment: |
| 166 | - APP=vfc-adapter |
| 167 | - JVM_ARGS=-Xms64m -Xmx512m |
| 168 | - DB_HOST=mariadb |
| 169 | # - KEYSTORE=msoClientKeyStore-onapheat.jks |
| 170 | # - KEYSTORE_PASSWORD=password |
| 171 | # - TRUSTSTORE=msoTrustStore.jks |
| 172 | # - TRUSTSTORE_PASSWORD=password |
| 173 | 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 |
| 204 | # - KEYSTORE=msoClientKeyStore-onapheat.jks |
| 205 | # - KEYSTORE_PASSWORD=password |
| 206 | # - TRUSTSTORE=msoTrustStore.jks |
| 207 | # - TRUSTSTORE_PASSWORD=password |
| 208 | hostname: |
| 209 | sdc-controller.so.testlab.onap.org |
| 210 | depends_on: |
| 211 | - mariadb |
| 212 | - catalog-db-adapter |
| 213 | - request-db-adapter |
| 214 | logging: |
| 215 | driver: "json-file" |
| 216 | options: |
| 217 | max-size: "30m" |
| 218 | max-file: "5" |
| 219 | command: |
| 220 | - /app/wait-for.sh |
| 221 | - -q |
| 222 | - -t |
| 223 | - "300" |
| 224 | - request-db-adapter:8083 |
| 225 | - -- |
| 226 | - "/app/start-app.sh" |
| 227 | ################################################################################ |
| 228 | bpmn-infra: |
| 229 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/bpmn-infra:${TAG} |
| 230 | ports: |
| 231 | - "8081:8081" |
| 232 | volumes: |
| 233 | - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 234 | - ./test_lab/volumes/so/config/bpmn-infra/onapheat:/app/config |
| 235 | environment: |
| 236 | - APP=bpmn-infra |
| 237 | - JVM_ARGS=-Xms64m -Xmx512m |
| 238 | - DB_HOST=mariadb |
| 239 | # - KEYSTORE=msoClientKeyStore-onapheat.jks |
| 240 | # - KEYSTORE_PASSWORD=password |
| 241 | # - TRUSTSTORE=msoTrustStore.jks |
| 242 | # - TRUSTSTORE_PASSWORD=password |
| 243 | hostname: |
| 244 | bpmn-infra.so.testlab.onap.org |
| 245 | depends_on: |
| 246 | - mariadb |
| 247 | - catalog-db-adapter |
| 248 | - request-db-adapter |
| 249 | logging: |
| 250 | driver: "json-file" |
| 251 | options: |
| 252 | max-size: "30m" |
| 253 | max-file: "5" |
| 254 | command: |
| 255 | - /app/wait-for.sh |
| 256 | - -q |
| 257 | - -t |
| 258 | - "300" |
| 259 | - request-db-adapter:8083 |
| 260 | - -- |
| 261 | - "/app/start-app.sh" |
| 262 | ################################################################################ |
| 263 | api-handler-infra: |
| 264 | image: ${NEXUS_DOCKER_REPO_MSO}/onap/so/api-handler-infra:${TAG} |
| 265 | ports: |
| 266 | - "8080:8080" |
| 267 | volumes: |
| 268 | - ./test_lab/volumes/so/ca-certificates/onapheat:/app/ca-certificates |
| 269 | - ./test_lab/volumes/so/config/api-handler-infra/onapheat:/app/config |
| 270 | environment: |
| 271 | - APP=api-handler-infra |
| 272 | - JVM_ARGS=-Xms64m -Xmx512m |
| 273 | - DB_HOST=mariadb |
| 274 | # - KEYSTORE=msoClientKeyStore-onapheat.jks |
| 275 | # - KEYSTORE_PASSWORD=password |
| 276 | # - TRUSTSTORE=msoTrustStore.jks |
| 277 | # - TRUSTSTORE_PASSWORD=password |
| 278 | hostname: |
| 279 | api-handler-infra.so.testlab.onap.org |
| 280 | depends_on: |
| 281 | - mariadb |
| 282 | - catalog-db-adapter |
| 283 | - request-db-adapter |
| 284 | logging: |
| 285 | driver: "json-file" |
| 286 | options: |
| 287 | max-size: "30m" |
| 288 | max-file: "5" |
| 289 | command: |
| 290 | - /app/wait-for.sh |
| 291 | - -q |
| 292 | - -t |
| 293 | - "300" |
| 294 | - request-db-adapter:8083 |
| 295 | - -- |
| 296 | - "/app/start-app.sh" |