In Dokploy TZ works without needing to be hardcoded. Thank you
Originally created by @lerrrii on GitHub (May 25, 2025).
Watchtower TZ variable not working in Komodo and Portainer too. But works in Dokploy like this: (not hardcoded)
```
version: '3.7'
services:
watchtower:
image: beatkind/watchtower:latest
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/localtime:/etc/localtime:ro # Sync host time
- /etc/timezone:/etc/timezone:ro # Optional: Debian/Ubuntu systems
ports:
- "${WATCHTOWER_PORT:-8080}:8080"
environment:
- TZ=${TZ:-UTC}
- WATCHTOWER_SCHEDULE=${WATCHTOWER_SCHEDULE}
restart: unless-stopped
```
And in Komodo environments:
```
WATCHTOWER_SCHEDULE=0 * * * * *
TZ=Europe/London
```
In Dokploy TZ works without needing to be hardcoded. Thank you
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @lerrrii on GitHub (May 25, 2025).
Watchtower TZ variable not working in Komodo and Portainer too. But works in Dokploy like this: (not hardcoded)
And in Komodo environments:
In Dokploy TZ works without needing to be hardcoded. Thank you