Skip to content

Commit

Permalink
fix: Docker compose network missing etcd connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Matovidlo committed Nov 21, 2024
1 parent ff14ad0 commit 07c049c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ services:
- sandboxesMock
- prometheus
networks:
- localprom
- prometheus
- etcd
volumes:
- ./:/code:z
- cache:/tmp/cache
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -155,13 +158,14 @@ services:
volumes:
- "./provisioning/dev/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml"
networks:
- localprom
- prometheus
ports:
- 9090:9090

volumes:
cache:

networks:
localprom:
prometheus:
driver: bridge
etcd:

0 comments on commit 07c049c

Please sign in to comment.