1
0
Fork 0

Add watchtower in prometheus

This commit is contained in:
Florian RICHER 2023-09-25 15:20:32 +02:00
parent dc7f03c990
commit 6f26d92d00

View file

@ -7,8 +7,17 @@ services:
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- metrics
environment:
WATCHTOWER_HTTP_API_TOKEN: watchtower
WATCHTOWER_HTTP_API_METRICS: 'true'
logging:
driver: loki
options:
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
mode: non-blocking
mode: non-blocking
networks:
metrics:
external: true