From 07c049caaa65f4f2b62518ede435fe24c0f5f4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Va=C5=A1ko?= Date: Thu, 21 Nov 2024 09:39:23 +0100 Subject: [PATCH] fix: Docker compose network missing etcd connection --- docker-compose.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3dc542d3a4..d82dfdc4f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,8 @@ services: - sandboxesMock - prometheus networks: - - localprom + - prometheus + - etcd volumes: - ./:/code:z - cache:/tmp/cache @@ -99,6 +100,8 @@ services: etcd: hostname: etcd image: docker.io/bitnami/etcd:3.5.11-debian-11-r3 + networks: + - etcd environment: ALLOW_NONE_AUTHENTICATION: "no" ETCD_NAME: "etcd" @@ -155,7 +158,7 @@ services: volumes: - "./provisioning/dev/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml" networks: - - localprom + - prometheus ports: - 9090:9090 @@ -163,5 +166,6 @@ volumes: cache: networks: - localprom: + prometheus: driver: bridge + etcd: