mirror of
https://github.com/Yorgei/docker-compose.git
synced 2025-11-08 13:33:27 +00:00
Update docker-compose.yaml
This commit is contained in:
@@ -5,9 +5,13 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock # Connect to docker
|
||||
- $HOME/.docker/config.json:/config.json # Load docker config (for repository logins etc)
|
||||
ports:
|
||||
- 8555:8080
|
||||
environment:
|
||||
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
- TZ=Australia/Brisbane # Timezone.... wow....
|
||||
- WATCHTOWER_ROLLING_RESTART=true # Restarts containers 1 at a time
|
||||
- WATCHTOWER_NO_STARTUP_MESSAGE=true # No Starting watchtower message (disable to test notifs)
|
||||
- WATCHTOWER_NOTIFICATIONS=shoutrrr # Notifications through HTTP requests
|
||||
- WATCHTOWER_HTTP_API_UPDATE=true # Enable force update/scan via HTTP API
|
||||
- WATCHTOWER_SCHEDULE=0 0 4 * * * # Run at 4am every day (it's cron but with an extra place for seconds)
|
||||
|
||||
Reference in New Issue
Block a user