Merge "Improve the dockerized auto test"
[nonrtric.git] / near-rt-ric-simulator / simulator-group / consul_cbs / docker-compose-template.yml
1 version: '3'
2
3 networks:
4   nonrtric-docker-net:
5     external:
6       name: nonrtric-docker-net
7
8 services:
9
10   consul-server:
11     networks:
12       - nonrtric-docker-net
13     container_name: polman_consul
14     image: docker.io/consul:1.4.4
15     ports:
16       - "8500:8500"
17     volumes:
18       - ./consul/:/consul/config
19
20   config-binding-service:
21     networks:
22       - nonrtric-docker-net
23     container_name: polman_cbs
24     image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.3.0
25     ports:
26       - "10000:10000"
27     environment:
28       - CONSUL_HOST=consul-server
29     depends_on:
30       - consul-server
31