Skip to content

Commit 55cd82d

Browse files
authored
Merge pull request #93 from swyp-app-team-4/feat#61-search-api
[Chore] 프로메테우스 그라파나 볼륨 설정
2 parents 42ac7fa + bcb5e79 commit 55cd82d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ services:
2828
container_name: prometheus
2929
volumes:
3030
- ./prometheus.yml:/etc/prometheus/prometheus.yml
31+
- ./prometheus-data:/prometheus # ← 영속 데이터 경로
3132
ports:
3233
- "9090:9090"
33-
depends_on:
34-
- app
3534

3635
grafana:
3736
image: grafana/grafana
@@ -41,5 +40,5 @@ services:
4140
environment:
4241
- GF_SECURITY_ADMIN_USER=admin
4342
- GF_SECURITY_ADMIN_PASSWORD=admin
44-
depends_on:
45-
- prometheus
43+
volumes:
44+
- ./grafana-data:/var/lib/grafana # ← 영속 데이터 경로

0 commit comments

Comments
 (0)