Persist prometheus server data

This commit is contained in:
Prathamesh Musale 2023-12-13 17:07:28 +05:30
parent 9e60bc41a2
commit e07c3c2e18
2 changed files with 5 additions and 3 deletions

View File

@ -6,9 +6,11 @@ services:
restart: always restart: always
volumes: volumes:
- ../config/monitoring/prometheus:/etc/prometheus - ../config/monitoring/prometheus:/etc/prometheus
# TODO: persist data - prometheus_data:/prometheus
# - prometheus_data:/prometheus
ports: ports:
- "9090:9090" - "9090:9090"
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
volumes:
prometheus_data:

View File

@ -716,7 +716,7 @@
}, },
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "Azimuth Watchers", "title": "azimuth watchers",
"version": 4, "version": 4,
"weekStart": "" "weekStart": ""
} }