Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 1 | version: '2.1' |
| 2 | services: |
| 3 | heartbeat: |
| 4 | image: "{{ nexus_docker_repo}}/onap/org.onap.dcaegen2.platform.heartbeat:{{ dcae_docker_heartbeat }}" |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 5 | container_name: static-dcaegen2-services-heartbeat |
| 6 | hostname: static-dcaegen2-services-heartbeat |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 7 | environment: |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 8 | - "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 Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 14 | ports: |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 15 | - "10001:10000" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 16 | labels: |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 17 | - "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 Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 21 | |
| 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 Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 28 | - "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 Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 34 | ports: |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 35 | - "8100:8100" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 36 | labels: |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 37 | - "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 Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 41 | |
| 42 | |
| 43 | snmptrap: |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 44 | image: "{{ nexus_docker_repo}}/onap/org.onap.dcaegen2.collectors.snmptrap:{{ dcae_docker_snmptrap }}" |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 45 | container_name: static-dcaegen2-collectors-snmptrap |
| 46 | hostname: static-dcaegen2-collectors-snmptrap |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 47 | environment: |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 48 | - "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 Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 54 | ports: |
| 55 | - "162:162/udp" |
| 56 | labels: |
Lusheng Ji | 96bdb4a | 2018-04-23 10:04:14 -0400 | [diff] [blame] | 57 | - "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 Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 61 | |