blob: 870c25ef34ff0b51ad457493727c1f1b6f224f1f [file] [log] [blame]
Lusheng Ji819aa7f2018-04-16 02:24:39 -04001version: '2.1'
2services:
3
4 inventory:
5 image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.inventory-api:{{ dcae_docker_inv }}"
6 restart: always
7 container_name: "inventory"
8 hostname: "inventory"
9 environment:
10 - "POSTGRES_USER=inventory"
11 - "POSTGRES_PASSWORD=inventorypwd"
12 ports:
13 - "8080:8080"
14 labels:
15 - "SERVICE_8080_NAME=inventory"
16 - "SERVICE_8080_CHECK_HTTP=/dcae-service-types"
17 - "SERVICE_8080_CHECK_INTERVAL=15s"
18 - "SERVICE_8080_CHECK_INITIAL_STATUS=passing"
19
20
21 service-change-handler:
22 image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.servicechange-handler:{{ dcae_docker_sch }}"
23 container_name: "service-change-handler"
24 hostname: "service-change-handler"
25 ports:
26 - "8079:8079"
27 environment:
28 - "POSTGRES_USER=inventory"
29 - "POSTGRES_PASSWORD=inventorypwd"
30 labels:
31 - "SERVICE_NAME=service_change_handler"
32 - "SERVICE_CHECK_SCRIPT=/opt/health.sh"
33 - "SERVICE_CHECK_INTERVAL=15s"
34 - "SERVICE_CHECK_INITIAL_STATUS=passing"
35
36
37 deployment_handler:
38 image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.deployment-handler:{{ dcae_docker_dh }}"
39 restart: always
40 container_name: "deployment-handler"
41 hostname: "deployment-handler"
42 environment:
43 - "CLOUDIFY_PASSWORD=admin"
44 - "CLOUDIFY_USER=admin"
45 ports:
46 - "8188:8443"
47 labels:
48 - "SERVICE_8443_NAME=deployment_handler"
49 - "SERVICE_8443_CHECK_HTTP=/"
50 - "SERVICE_8443_CHECK_INTERVAL=15s"
51 - "SERVICE_8443_CHECK_INITIAL_STATUS=passing"
52
53
54 policy_handler:
55 image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.policy-handler:{{ dcae_docker_ph }}"
56 restart: always
57 container_name: "policy-handler"
58 hostname: "policy-handler"
59 ports:
60 - "25577:25577"
61 labels:
62 - "SERVICE_25577_NAME=policy_handler"
63 - "SERVICE_25577_CHECK_HTTP=/healthcheck"
64 - "SERVICE_25577_CHECK_INTERVAL=15s"
65 - "SERVICE_25577_CHECK_INITIAL_STATUS=passing"
66