From 2a03014652f2fde286ee08441ca90fe934519c8a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 17 Mar 2024 15:32:04 -0400 Subject: [PATCH] (run/install.sh) fix docker compose file I was following the release demo video for v2024.01.0 https://www.youtube.com/watch?v=PNwMkenQQ24 and when I did 'docker compose up' the containers couldn't resolve the DNS name for 'zookeeper' I realized this was because the zookeeper container was using the default docker network, so I specified the wmsa network explicitly. --- run/install/docker-compose-barebones-1.yml.template | 2 ++ run/install/docker-compose-barebones-2.yml.template | 2 ++ 2 files changed, 4 insertions(+) diff --git a/run/install/docker-compose-barebones-1.yml.template b/run/install/docker-compose-barebones-1.yml.template index 8b36d64e..27a13a0a 100644 --- a/run/install/docker-compose-barebones-1.yml.template +++ b/run/install/docker-compose-barebones-1.yml.template @@ -94,6 +94,8 @@ services: restart: always ports: - "127.0.0.1:2181:2181" + networks: + - wmsa traefik: image: "traefik:v2.10" container_name: "traefik" diff --git a/run/install/docker-compose-barebones-2.yml.template b/run/install/docker-compose-barebones-2.yml.template index 6232cf01..b47d5b00 100644 --- a/run/install/docker-compose-barebones-2.yml.template +++ b/run/install/docker-compose-barebones-2.yml.template @@ -122,6 +122,8 @@ services: restart: always ports: - "127.0.0.1:2181:2181" + networks: + - wmsa traefik: image: "traefik:v2.10" container_name: "traefik"