24 lines
619 B
Django/Jinja
24 lines
619 B
Django/Jinja
version: '3'
|
|
|
|
services:
|
|
watchtower:
|
|
image: containrrr/watchtower:latest
|
|
restart: unless-stopped
|
|
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'
|
|
WATCHTOWER_POLL_INTERVAL: 1
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
|
mode: non-blocking
|
|
|
|
networks:
|
|
metrics:
|
|
external: true
|