From 9ee55a720bb732e5df419159a7ad661177f896c0 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 21 Sep 2022 12:09:18 +0100 Subject: [PATCH] Change dev container names --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3aea394..4257812 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,7 @@ volumes: services: app: image: pathogen/monolith:latest + container_name: monolith build: ./docker volumes: - ${PORTAINER_GIT_DIR}:/code @@ -32,6 +33,7 @@ services: threshold: image: pathogen/threshold:latest + container_name: threshold build: ./legacy/docker volumes: - ${PORTAINER_GIT_DIR}:/code @@ -104,6 +106,7 @@ services: kafka: image: bitnami/kafka + container_name: kafka depends_on: - zookeeper - broker @@ -124,7 +127,7 @@ services: # timeout: 2s # retries: 15 healthcheck: - test: ["CMD", "kafka-topics.sh", "--list", "--bootstrap-server", "kafka:9092"] + test: ["CMD", \\] start_period: 15s interval: 2s timeout: 5s