Add watchtower in prometheus
This commit is contained in:
parent
dc7f03c990
commit
6f26d92d00
1 changed files with 10 additions and 1 deletions
|
@ -7,8 +7,17 @@ services:
|
||||||
container_name: watchtower
|
container_name: watchtower
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
networks:
|
||||||
|
- metrics
|
||||||
|
environment:
|
||||||
|
WATCHTOWER_HTTP_API_TOKEN: watchtower
|
||||||
|
WATCHTOWER_HTTP_API_METRICS: 'true'
|
||||||
logging:
|
logging:
|
||||||
driver: loki
|
driver: loki
|
||||||
options:
|
options:
|
||||||
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
mode: non-blocking
|
mode: non-blocking
|
||||||
|
|
||||||
|
networks:
|
||||||
|
metrics:
|
||||||
|
external: true
|
Loading…
Reference in a new issue