add mods docker compose
This commit is contained in:
+12
-1
@@ -112,7 +112,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
grafana-data:
|
grafana-data:
|
||||||
loki-data:
|
loki-data:
|
||||||
loki-wal-data:
|
|
||||||
prometheus-data:
|
prometheus-data:
|
||||||
alloy-data:
|
alloy-data:
|
||||||
driver: local
|
driver: local
|
||||||
@@ -120,3 +119,15 @@ volumes:
|
|||||||
networks:
|
networks:
|
||||||
monitoring:
|
monitoring:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9010"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user