summaryrefslogtreecommitdiffstats
path: root/heat/docker-compose-4.yaml
blob: 00fac94d96385aa733b02dadfdd7e584bf8c234e (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
version: '2.1'
services:
   heartbeat:
      image: "{{ nexus_docker_repo}}/onap/org.onap.dcaegen2.platform.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"
      ports:
       - "10001:10000"
      labels:
       - "SERVICE_NAME=static-dcaegen2-services-heartbeat"
       - "SERVICE_CHECK_DOCKER_SCRIPT=/app/bin/check_health.py"
       - "SERVICE_CHECK_INTERVAL=15s"
       - "SERVICE_CHECK_INITIAL_STATUS=passing"


   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"
      ports:
       - "8100:8100"
      labels:
       - "SERVICE_8100_NAME=static-dcaegen2-services-prh"
       - "SERVICE_8100_CHECK_TCP=true"
       - "SERVICE_8100_CHECK_INTERVAL=15s"
       - "SERVICE_8100_CHECK_INITIAL_STATUS=passing"


   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/healthcheck.sh"
       - "SERVICE_CHECK_INTERVAL=15s"
       - "SERVICE_CHECK_INITIAL_STATUS=passing"