docker + fixes
This commit is contained in:
17
roles/common/templates/docker-compose.yaml.j2
Normal file
17
roles/common/templates/docker-compose.yaml.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
# ansible managed #
|
||||
|
||||
version: '3.3'
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- WATCHTOWER_SCHEDULE=0 0 4 * * *
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_TIMEOUT=30s
|
||||
- WATCHTOWER_INCLUDE_RESTARTING=true
|
||||
- WATCHTOWER_ROLLING_RESTART=true
|
||||
- TZ="Europe/Berlin"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user