summaryrefslogtreecommitdiffstats
path: root/archive/heat/docker-compose-4.yaml
blob: c13562d107dce9f1df9173019ae7a3ccb1a549cc (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
version: '2.1'
services:
   snmptrap:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.collectors.snmptrap:{{ dcae_docker_snmptrap }}"
      container_name: "static-dcaegen2-collectors-snmptrap"
      restart: "always"
      hostname: "static-dcaegen2-collectors-snmptrap"
      environment:
       - "DMAAPHOST={{ mr_ip_addr }}"
       - "CONSUL_HOST=consul"
       - "CONSUL_PORT=8500"
       - "CONFIG_BINDING_SERVICE=config_binding_service"
       - "SERVICE_NAME=static-dcaegen2-collectors-snmptrap"
       - "HOSTNAME=static-dcaegen2-collectors-snmptrap"
       - "HOSTALIASES=/etc/host.aliases"
      ports:
       - "162:6162/udp"
      labels:
       - "SERVICE_NAME=static-dcaegen2-collectors-snmptrap"
       - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/app/snmptrap/bin/snmptrapd.sh status"
       - "SERVICE_CHECK_INTERVAL=300s"
       - "SERVICE_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"


   prh:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.services.prh.prh-app-server:{{ dcae_docker_prh }}"
      container_name: "static-dcaegen2-services-prh"
      restart: "always"
      hostname: "static-dcaegen2-services-prh"
      environment:
       - "DMAAPHOST={{ mr_ip_addr }}"
       - "CONSUL_HOST=consul"
       - "CONSUL_PORT=8500"
       - "CONFIG_BINDING_SERVICE=config_binding_service"
       - "SERVICE_NAME=static-dcaegen2-services-prh"
       - "HOSTNAME=static-dcaegen2-services-prh"
       - "HOSTALIASES=/etc/host.aliases"
      ports:
       - "8082:8080"
      labels:
       - "SERVICE_8082_NAME=static-dcaegen2-services-prh"
       - "SERVICE_8082_CHECK_HTTP=/heartbeat"
       - "SERVICE_8082_CHECK_INTERVAL=15s"
       - "SERVICE_8082_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"


   hvves:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:{{ dcae_docker_hvves }}"
      container_name: "static-dcaegen2-collectors-hvves"
      restart: "always"
      hostname: "static-dcaegen2-collectors-hvves"
      environment:
       - "DMAAPHOST={{ mr_ip_addr }}"
       - "CONSUL_HOST=consul"
       - "CONSUL_PORT=8500"
       - "CONFIG_BINDING_SERVICE=config_binding_service"
       - "SERVICE_NAME=static-dcaegen2-collectors-hvves"
       - "HOSTNAME=static-dcaegen2-collectors-hvves"
       - "HOSTALIASES=/etc/host.aliases"
      ports:
       - "6061:6061"
      labels:
       - "SERVICE_NAME=static-dcaegen2-collectors-hvves"
       - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/app/hvves/bin/healthcheck.sh"
       - "SERVICE_CHECK_INTERVAL=15s"
       - "SERVICE_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"


   datafile:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:{{ dcae_docker_datafile }}"
      container_name: "static-dcaegen2-collectors-datafile"
      restart: "always"
      hostname: "static-dcaegen2-collectors-datafile"
      environment:
       - "DMAAPHOST={{ mr_ip_addr }}"
       - "CONSUL_HOST=consul"
       - "CONSUL_PORT=8500"
       - "CONFIG_BINDING_SERVICE=config_binding_service"
       - "SERVICE_NAME=static-dcaegen2-collectors-datafile"
       - "HOSTNAME=static-dcaegen2-collectors-datafile"
       - "HOSTALIASES=/etc/host.aliases"
      labels:
       - "SERVICE_NAME=static-dcaegen2-collectors-datafile"
       - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/app/datafile/bin/healthcheck.sh"
       - "SERVICE_CHECK_INTERVAL=15s"
       - "SERVICE_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"

   mapper-universalvesadaptor:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.services.mapper.vesadapter.universalvesadaptor:{{ dcae_docker_mua }}"
      container_name: "static-dcaegen2-services-mua"
      restart: "always"
      hostname: "static-dcaegen2-services-mua"
      environment:
       - "DMAAPHOST={{ mr_ip_addr }}"
       - "CONSUL_HOST=consul"
       - "CONSUL_PORT=8500"
       - "CONFIG_BINDING_SERVICE=config_binding_service"
       - "SERVICE_NAME=static-dcaegen2-services-mua"
       - "HOSTNAME=static-dcaegen2-services-mua"
       - "HOSTALIASES=/etc/host.aliases"
       - "MR_DEFAULT_PORT_NUMBER=3904"
       - "URL_JDBC=jdbc:postgresql://{{dcae_ip_addr}}:5433/inventory"
       - "JDBC_USERNAME=inventory"
       - "JDBC_PASSWORD=inventorypwd"
      labels:
       - "SERVICE_NAME=static-dcaegen2-services-mua"
       - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/app/datafile/bin/healthcheck.sh"
       - "SERVICE_CHECK_INTERVAL=15s"
       - "SERVICE_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"

   mapper-snmp:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.services.mapper.vesadapter.snmpmapper:{{ dcae_docker_msnmp }}"
      container_name: "static-dcaegen2-services-msnmp"
      restart: "always"
      hostname: "static-dcaegen2-services-msnmp"
      environment:
       - "DMAAPHOST={{ mr_ip_addr }}"
       - "CONSUL_HOST=consul"
       - "CONSUL_PORT=8500"
       - "CONFIG_BINDING_SERVICE=config_binding_service"
       - "SERVICE_NAME=static-dcaegen2-services-msnmp"
       - "HOSTNAME=static-dcaegen2-services-msnmp"
       - "HOSTALIASES=/etc/host.aliases"
       - "URL_JDBC=jdbc:postgresql://{{dcae_ip_addr}}:5433/inventory"
       - "JDBC_USERNAME=inventory"
       - "JDBC_PASSWORD=inventorypwd"
      labels:
       - "SERVICE_NAME=static-dcaegen2-services-msnmp"
       - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/app/datafile/bin/healthcheck.sh"
       - "SERVICE_CHECK_INTERVAL=15s"
       - "SERVICE_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"


   heartbeat:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.services.heartbeat:{{ dcae_docker_heartbeat }}"
      container_name: "static-dcaegen2-services-heartbeat"
      restart: "always"
      hostname: "static-dcaegen2-services-heartbeat"
      environment:
       - "DMAAPHOST={{ mr_ip_addr }}"
       - "CONSUL_HOST=consul"
       - "CONSUL_PORT=8500"
       - "CONFIG_BINDING_SERVICE=config_binding_service"
       - "SERVICE_NAME=static-dcaegen2-services-heartbeat"
       - "HOSTNAME=static-dcaegen2-services-heartbeat"
       - "HOSTALIASES=/etc/host.aliases"
      labels:
       - "SERVICE_NAME=static-dcaegen2-services-heartbeat"
       - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/app/datafile/bin/healthcheck.sh"
       - "SERVICE_CHECK_INTERVAL=15s"      
       - "SERVICE_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"