summaryrefslogtreecommitdiffstats
path: root/heat/docker-compose-3.yaml
blob: 27dbb38fc7682760e1162b8f1c5f0239065cfafc (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
66
67
68
69
70
version: '2.1'
services:

   inventory:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.inventory-api:{{ dcae_docker_inv }}"
      restart: "always"
      container_name: "inventory"
      hostname: "inventory"
      environment:
       - "POSTGRES_USER=inventory"
       - "POSTGRES_PASSWORD=inventorypwd"
      ports:
       - "8080:8080"
      labels:
       - "SERVICE_8080_NAME=inventory"
       - "SERVICE_8080_CHECK_HTTP=/dcae-service-types"
       - "SERVICE_8080_CHECK_INTERVAL=15s"
       - "SERVICE_8080_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"


   service-change-handler:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.servicechange-handler:{{ dcae_docker_sch }}"
      container_name: "service-change-handler"
      restart: "always"
      hostname: "service-change-handler"
      ports:
       - "8079:8079"
      environment:
       - "POSTGRES_USER=inventory"
       - "POSTGRES_PASSWORD=inventorypwd"
      labels:
       - "SERVICE_NAME=service_change_handler"
       - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/health.sh"
       - "SERVICE_CHECK_INTERVAL=15s"
       - "SERVICE_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/tls/shared"


   deployment_handler:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.deployment-handler:{{ dcae_docker_dh }}"
      container_name: "deployment-handler"
      restart: "always"
      hostname: "deployment-handler"
      environment:
       - "CLOUDIFY_PASSWORD=admin"
       - "CLOUDIFY_USER=admin"
      ports:
       - "8188:8443"
      volumes:
       - "./tls/shared:/opt/app/dh/etc/cert/"


   policy_handler:
      image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.policy-handler:{{ dcae_docker_ph }}"
      container_name: "policy-handler"
      restart: "always"
      hostname: "policy-handler"
      ports:
       - "25577:25577"
      labels:
       - "SERVICE_25577_NAME=policy_handler"
       - "SERVICE_25577_CHECK_HTTP=/healthcheck"
       - "SERVICE_25577_CHECK_INTERVAL=15s"
       - "SERVICE_25577_CHECK_INITIAL_STATUS=passing"
      volumes:
       - "./tls/shared:/opt/app/policy_handler/etc/tls/certs/"