Files
public-setupfiles/uptime-updates/watchtower-export/docker-compose.watchtower-uptime-sync.yml
T

23 lines
620 B
YAML
Raw Normal View History

version: "3.8"
services:
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 300 --cleanup
uptime-sync-bot:
build:
context: .
dockerfile: Dockerfile
container_name: uptime-sync-bot
restart: unless-stopped
volumes:
- ./config.yml:/app/config.yml:ro
- ./container-monitor-map.yaml:/app/container-monitor-map.yaml:ro
environment:
- UPTIME_BOT_CONFIG=/app/config.yml
- UPTIME_BOT_MAP=/app/container-monitor-map.yaml