summaryrefslogtreecommitdiffstats
path: root/heat/docker-compose-4.yaml
blob: 0bfa0e5f8f52969f44c8d35d6bf4e56b79f1cda7 (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
version: '2.1'
services:
   heartbeat:
      image: "{{ nexus_docker_repo}}/onap/org.onap.dcaegen2.platform.heartbeat:{{ dcae_docker_heartbeat }}"
      container_name: static-dcaegen2-services-heartbeat
      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: prh
      hostname: 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
      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"
      ports:
       - "162:162/udp"
      labels:
       - SERVICE_NAME=static-dcaegen2-collectors-snmptrap
       - SERVICE_CHECK_INITIAL_STATUS=passing