summaryrefslogtreecommitdiffstats
path: root/heat/R2MVP/docker-compose.yaml
blob: 5413a5d3fdfcf3e71e01af557ec1a7753aae3df5 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: '2'
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: "-server -bootstrap-expect 1"

   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
      expose:
       - "10000:10000"

   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
      expose:
       - "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
      expose:
       - "11011:11011"
       - "11015:11015"

   holmes-engine:
      image: {{ nexus_docker_repo }}/onap/holmes/engine-management:latest
      conatiner_name: he
      host_name: 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
      expose:
       - "9102:9102"

   holmes-rule:
      image: {{ nexus_docker_repo }}/onap/holmes/rule-management:latest
      conatiner_name: hr
      host_name: 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
      expose:
       - "9101:9101"