blob: c8c36ca70eb575f2840fbe0f4ce4e53eaa932ed5 [file] [log] [blame]
Lusheng Ji819aa7f2018-04-16 02:24:39 -04001version: '2.1'
2services:
3 heartbeat:
4 image: "{{ nexus_docker_repo}}/onap/org.onap.dcaegen2.platform.heartbeat:{{ dcae_docker_heartbeat }}"
Lusheng Jibd838e72018-04-16 21:27:17 -04005 container_name: static-dcaegen2-services-heartbeat
6 hostname: static-dcaegen2-services-heartbeat
Lusheng Ji819aa7f2018-04-16 02:24:39 -04007 environment:
Lusheng Jibd838e72018-04-16 21:27:17 -04008 - "DMAAPHOST={{ mr_ip_addr }}"
9 - "CONSUL_HOST=consul"
10 - "CONSUL_PORT=8500"
11 - "CONFIG_BINDING_SERVICE=config_binding_service"
12 - "SERVICE_NAME=static-dcaegen2-services-heartbeat"
13 - "HOSTNAME=static-dcaegen2-services-heartbeat"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040014 ports:
Lusheng Jibd838e72018-04-16 21:27:17 -040015 - "10001:10000"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040016 labels:
Lusheng Jibd838e72018-04-16 21:27:17 -040017 - "SERVICE_NAME=static-dcaegen2-services-heartbeat"
18 - "SERVICE_CHECK_DOCKER_SCRIPT=/app/bin/check_health.py"
19 - "SERVICE_CHECK_INTERVAL=15s"
20 - "SERVICE_CHECK_INITIAL_STATUS=passing"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040021
22
23 prh:
24 image: "{{ nexus_docker_repo}}/onap/org.onap.dcaegen2.services.prh.prh-app-server:{{ dcae_docker_prh }}"
25 container_name: prh
26 hostname: prh
27 environment:
Lusheng Jibd838e72018-04-16 21:27:17 -040028 - "DMAAPHOST={{ mr_ip_addr }}"
29 - "CONSUL_HOST=consul"
30 - "CONSUL_PORT=8500"
31 - "CONFIG_BINDING_SERVICE=config_binding_service"
32 - "SERVICE_NAME=static-dcaegen2-services-prh"
33 - "HOSTNAME=static-dcaegen2-services-prh"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040034 ports:
Lusheng Jibd838e72018-04-16 21:27:17 -040035 - "8100:8100"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040036 labels:
Lusheng Jibd838e72018-04-16 21:27:17 -040037 - "SERVICE_8100_NAME=static-dcaegen2-services-prh"
38 - "SERVICE_8100_CHECK_TCP=true"
39 - "SERVICE_8100_CHECK_INTERVAL=15s"
40 - "SERVICE_8100_CHECK_INITIAL_STATUS=passing"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040041
42
43 snmptrap:
Lusheng Ji819aa7f2018-04-16 02:24:39 -040044 image: "{{ nexus_docker_repo}}/onap/org.onap.dcaegen2.collectors.snmptrap:{{ dcae_docker_snmptrap }}"
Lusheng Jibd838e72018-04-16 21:27:17 -040045 container_name: static-dcaegen2-collectors-snmptrap
46 hostname: static-dcaegen2-collectors-snmptrap
Lusheng Ji819aa7f2018-04-16 02:24:39 -040047 environment:
Lusheng Jibd838e72018-04-16 21:27:17 -040048 - "DMAAPHOST={{ mr_ip_addr }}"
49 - "CONSUL_HOST=consul"
50 - "CONSUL_PORT=8500"
51 - "CONFIG_BINDING_SERVICE=config_binding_service"
52 - "SERVICE_NAME=static-dcaegen2-collectors-snmptrap"
53 - "HOSTNAME=static-dcaegen2-collectors-snmptrap"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040054 ports:
55 - "162:162/udp"
56 labels:
Lusheng Ji96bdb4a2018-04-23 10:04:14 -040057 - "SERVICE_NAME=static-dcaegen2-collectors-snmptrap"
58 - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/app/snmptrap/bin/healthcheck.sh"
59 - "SERVICE_CHECK_INTERVAL=15s"
60 - "SERVICE_CHECK_INITIAL_STATUS=passing"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040061