From 891fa776d25208a95c5213557c018a8c20c3c4be Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Thu, 8 Nov 2018 18:13:37 +0100 Subject: [PATCH] Give containters useful names so that they can be reached by their hostname. fixes #18 --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 6ea9b72..8e7d00e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ version: '2' services: camunda: build: ./camunda-overlay + container_name: camunda ports: - "8080:8080" restart: always @@ -13,24 +14,28 @@ services: service-analysis: build: ./service-analysis + container_name: analysis ports: - "8081:8081" restart: always service-fallback: build: ./service-fallback + container_name: fallback ports: - "8082:8082" restart: always service-reporting: build: ./service-reporting + container_name: reporting ports: - "8083:80" restart: always service-twitter: build: ./service-twitter + container_name: twitter ports: - "8084:8084" restart: always -- 2.43.0