summaryrefslogtreecommitdiffstats
path: root/heat/docker-compose-3.yaml
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-05-08 09:38:02 -0400
committerLusheng Ji <lji@research.att.com>2018-05-08 18:45:27 +0000
commitcb9d614fdc78480584466b8e84f3535d946424a0 (patch)
tree9c8f4efa4f9c459a25edc6c0bab8a94c914026b0 /heat/docker-compose-3.yaml
parentdda9b82dff27429d9710db5069686553e367728b (diff)
Set containers restart policy
1. set container restart policy 2. modify naming for some containers for consistency Issue-ID: DCAEGEN2-494 Change-Id: I49dc93e3e18d8b30f06bb913a7d52493e26f9e61 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'heat/docker-compose-3.yaml')
-rw-r--r--heat/docker-compose-3.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/heat/docker-compose-3.yaml b/heat/docker-compose-3.yaml
index f6c9212..3eef2bc 100644
--- a/heat/docker-compose-3.yaml
+++ b/heat/docker-compose-3.yaml
@@ -3,7 +3,7 @@ services:
inventory:
image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.inventory-api:{{ dcae_docker_inv }}"
- restart: always
+ restart: "always"
container_name: "inventory"
hostname: "inventory"
environment:
@@ -21,6 +21,7 @@ services:
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"
@@ -36,8 +37,8 @@ services:
deployment_handler:
image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.deployment-handler:{{ dcae_docker_dh }}"
- restart: always
container_name: "deployment-handler"
+ restart: "always"
hostname: "deployment-handler"
environment:
- "CLOUDIFY_PASSWORD=admin"
@@ -53,8 +54,8 @@ services:
policy_handler:
image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.policy-handler:{{ dcae_docker_ph }}"
- restart: always
container_name: "policy-handler"
+ restart: "always"
hostname: "policy-handler"
ports:
- "25577:25577"