We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42ac7fa + bcb5e79 commit 55cd82dCopy full SHA for 55cd82d
1 file changed
docker-compose.yml
@@ -28,10 +28,9 @@ services:
28
container_name: prometheus
29
volumes:
30
- ./prometheus.yml:/etc/prometheus/prometheus.yml
31
+ - ./prometheus-data:/prometheus # ← 영속 데이터 경로
32
ports:
33
- "9090:9090"
- depends_on:
34
- - app
35
36
grafana:
37
image: grafana/grafana
@@ -41,5 +40,5 @@ services:
41
40
environment:
42
- GF_SECURITY_ADMIN_USER=admin
43
- GF_SECURITY_ADMIN_PASSWORD=admin
44
45
- - prometheus
+ volumes:
+ - ./grafana-data:/var/lib/grafana # ← 영속 데이터 경로
0 commit comments