commit b7c106db4c25ae0c54133483562bba4aa69c66e6 Author: 蓝冰记忆 Date: Tue Aug 25 15:13:10 2026 +0800 初始化 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..26394b0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +services: + watchtower: + container_name: watchtower + image: code.nya.work/nyawork/watchtower + restart: unless-stopped + volumes: + - "/var/run/docker.sock:/var/run/docker.sock" + environment: + TZ: "Asia/Shanghai" + DOCKER_API_VERSION: "1.49" + WATCHTOWER_CLEANUP: "true" + WATCHTOWER_SCHEDULE: "0 0 10-18 * * *"