diff options
author | Lusheng Ji <lji@research.att.com> | 2018-04-04 16:51:35 -0400 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2018-04-04 16:53:15 -0400 |
commit | 6fabd804de890bc5069d2518fffb11b83ea5961a (patch) | |
tree | 227cce9b546af720b81a1d65a524e499c757572d /heat/R2MVP/docker-compose-2.yaml | |
parent | 73adaf1d822be53f446a0e655adbef5405a9693f (diff) |
Fix docker-compose files
Alos breaking into two files so we can use shell script to
check for dependencies, as well as injecting KVs before
service components are up.
Issue-ID: DCAEGEN2-206
Change-Id: I8a14675ab96472f2eda86864b5e3248bd48dd00d
Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'heat/R2MVP/docker-compose-2.yaml')
-rw-r--r-- | heat/R2MVP/docker-compose-2.yaml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/heat/R2MVP/docker-compose-2.yaml b/heat/R2MVP/docker-compose-2.yaml new file mode 100644 index 0000000..c77cbf0 --- /dev/null +++ b/heat/R2MVP/docker-compose-2.yaml @@ -0,0 +1,62 @@ +version: '2.1' +services: + ves: + image: {{ nexus_docker_repo }}/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.2.0 + container_name: "ves" + hostname: "ves" + environment: + - DMAAPHOST={{ mr_ip_addr }} + - CONSUL_HOST=consul + - CONSUL_PORT=8500 + - CONFIG_BINDING_SERVICE=config_binding_service + - SERVICE_NAME=ves + - HOSTNAME=ves + ports: + - "8080:8080" + - "8443:8443" + + tca: + image: {{ nexus_docker_repo }}/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.0.0 + container_name: tca + hostname: tca + environment: + - DMAAPHOST={{ mr_ip_addr }} + - CONSUL_HOST=consul + - CONSUL_PORT=8500 + - CBS_HOST=cbs + - CBS_PORT=10000 + - SERVICE_NAME=tca + - CONFIG_BINDING_SERVICE=config_binding_service + ports: + - "11011:11011" + - "11015:11015" + + holmes-engine: + image: {{ nexus_docker_repo }}/onap/holmes/engine-management:latest + container_name: he + hostname: he + environment: + - URL_JDBC=db:5432 + - JDBC_USERNAME=holmes + - JDBC_PASSWORD=holmespwd + - MSB_ADDR={{ msb_ip_addr }} + - CONSUL_HOST=consul + - CONSUL_PORT=8500 + - HOSTNAME=he + ports: + - "9102:9102" + + holmes-rule: + image: {{ nexus_docker_repo }}/onap/holmes/rule-management:latest + container_name: hr + hostname: hr + environment: + - URL_JDBC=db:5432 + - JDBC_USERNAME=holmes + - JDBC_PASSWORD=holmespwd + - MSB_ADDR={{ msb_ip_addr }} + - CONSUL_HOST=consul + - CONSUL_PORT=8500 + - HOSTNAME=hr + ports: + - "9101:9101" |