watchtower: pin DOCKER_API_VERSION — v1.7.1's client defaults to 1.25, below Engine 29's minimum of 1.40
This commit is contained in:
@@ -118,6 +118,12 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TZ:-America/New_York}
|
- TZ=${TZ:-America/New_York}
|
||||||
|
# Watchtower v1.7.1's bundled docker client defaults to API 1.25 and
|
||||||
|
# its version negotiation fails against Engine 29 (min API 1.40),
|
||||||
|
# leaving the container in a crash loop. Pinning the API version is
|
||||||
|
# the documented workaround. 1.44 is safely inside the supported
|
||||||
|
# window on this host (server 1.55, min 1.40).
|
||||||
|
- DOCKER_API_VERSION=1.44
|
||||||
- WATCHTOWER_SCHEDULE=0 0 5 * * *
|
- WATCHTOWER_SCHEDULE=0 0 5 * * *
|
||||||
- WATCHTOWER_CLEANUP=true
|
- WATCHTOWER_CLEANUP=true
|
||||||
- WATCHTOWER_NOTIFICATIONS=shoutrrr
|
- WATCHTOWER_NOTIFICATIONS=shoutrrr
|
||||||
|
|||||||
Reference in New Issue
Block a user