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