Make prometheus config files read only
This commit is contained in:
parent
3e5b00d176
commit
53c969f2b8
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ services:
|
||||||
image: prom/prometheus:latest
|
image: prom/prometheus:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||||
- /mnt/tank/dbs/prometheus/forrest/:/prometheus/
|
- /mnt/tank/dbs/prometheus/forrest/:/prometheus/
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
@ -17,13 +17,13 @@ services:
|
||||||
image: prom/blackbox-exporter:latest
|
image: prom/blackbox-exporter:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./blackbox.yml:/etc/blackbox_exporter/config.yml
|
- ./blackbox.yml:/etc/blackbox_exporter/config.yml:ro
|
||||||
|
|
||||||
alertmanager:
|
alertmanager:
|
||||||
image: prom/alertmanager:latest
|
image: prom/alertmanager:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./alertmanager.yml:/etc/alertmanager/alertmanager.yml
|
- ./alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
grafana:
|
grafana:
|
||||||
|
|
Loading…
Reference in a new issue