Skip to content

Commit accf561

Browse files
committed
fix: docker network로 연결
1 parent 4fec640 commit accf561

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ services:
4747
JWT_ISSUER: ${JWT_ISSUER}
4848
JWT_SECRET_KEY: ${JWT_SECRET_KEY}
4949
GOOGLE_API_KEY: ${GOOGLE_API_KEY}
50+
networks:
51+
- playhive-net
5052
restart: always
5153

5254
# zookeeper:
@@ -95,6 +97,10 @@ services:
9597
environment:
9698
- REDIS_PASSWORD=${REDIS_PASSWORD}
9799

100+
networks:
101+
playhive-net:
102+
external: true
103+
98104
volumes:
99105
minio_data:
100106
driver: local

monitoring/docker-compose.monitoring.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,23 @@ services:
99
- ./prometheus.yml:/etc/prometheus/prometheus.yml
1010
ports:
1111
- "9090:9090"
12+
networks:
13+
- playhive-net
1214

1315
grafana:
1416
image: grafana/grafana
1517
container_name: grafana
1618
restart: always
1719
ports:
1820
- "3000:3000"
21+
networks:
22+
- playhive-net
1923
volumes:
2024
- grafana_data:/var/lib/grafana
2125

26+
networks:
27+
playhive-net:
28+
external: true
29+
2230
volumes:
23-
grafana_data:
31+
grafana_data:

0 commit comments

Comments
 (0)