summaryrefslogtreecommitdiffstats
path: root/heat/R2MVP/docker-compose-1.yaml
blob: 6d5ed67d872a277d5b6fa91c3afd90b1a9b78ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '2.1'
services:
   db:
      image: postgres:9.5
      container_name: "db"
      hostname: "db"
      ports:
       - "5432:5432"
      environment:
       - POSTGRES_USER=holmes
       - POSTGRES_PASSWORD=holmespwd

   consul:
      image: consul:0.8.3
      container_name: "consul"
      hostname: "consul"
      ports:
       - "8400:8400"
       - "8500:8500"
       - "8600:8600"
      command: "agent -server -bootstrap-expect 1 -client 0.0.0.0"

   config_binding_service:
      image: {{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.configbinding:v1.2.0
      container_name: "config_binding_service"
      hostname: "config_binding_service"
      environment:
       - CONSUL_HOST="consul"
      ports:
       - "10000:10000"
      depends_on:
       - consul