mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-04-21 07:09:46 +00:00
Fix compose file
This commit is contained in:
parent
e9eddf15e3
commit
87a4c1fad9
@ -5,6 +5,10 @@ networks:
|
|||||||
name: grafana
|
name: grafana
|
||||||
driver: bridge
|
driver: bridge
|
||||||
external: true
|
external: true
|
||||||
|
caddy:
|
||||||
|
name: caddy
|
||||||
|
driver: bridge
|
||||||
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
@ -13,6 +17,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- prometheus
|
- prometheus
|
||||||
- grafana
|
- grafana
|
||||||
|
- caddy
|
||||||
command: "--config.file=/etc/prometheus/prometheus.yaml --storage.tsdb.retention.time=10d --storage.tsdb.retention.size=5GB"
|
command: "--config.file=/etc/prometheus/prometheus.yaml --storage.tsdb.retention.time=10d --storage.tsdb.retention.size=5GB"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
- ./data/config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
||||||
|
Loading…
x
Reference in New Issue
Block a user