fix: use named volume for prometheus config, populate on remote host
This commit is contained in:
1 parent
4c02ab9d55
commit
68bd241f2c
4 files changed
+32
-23
No files matched your search
@@ -159,8 +159,7 @@ services:
|
||||
container_name: linearvoid-prometheus
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./monitoring/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
- ./monitoring/prometheus/alerts.yml:/etc/prometheus/alerts.yml
|
||||
- prometheus-config:/etc/prometheus
|
||||
- prometheus-data:/prometheus
|
||||
ports:
|
||||
- "9090:9090"
|
||||
@@ -199,5 +198,6 @@ networks:
|
||||
volumes:
|
||||
redis-data:
|
||||
postgres-data:
|
||||
prometheus-config:
|
||||
prometheus-data:
|
||||
grafana-data:
|
||||
Reference in new issue
Block a user