diff --git a/rxr_watchtower/docker-compose.yml b/rxr_watchtower/docker-compose.yml index 1ae9255..a17011a 100644 --- a/rxr_watchtower/docker-compose.yml +++ b/rxr_watchtower/docker-compose.yml @@ -6,4 +6,6 @@ services: - /var/run/docker.sock:/var/run/docker.sock restart: always environment: - - WATCHTOWER_DISABLE_CONTAINERS=windows # 禁用名为 windows 的容器更新 \ No newline at end of file + - WATCHTOWER_DISABLE_CONTAINERS=windows # 禁用名为 windows 的容器更新 + - WATCHTOWER_POLL_INTERVAL=3600 # 设置检查间隔为3600秒 + - WATCHTOWER_CLEANUP=true # 启用清理未使用的镜像