feat(docker): 添加启动时运行 cron 任务的选项

This commit is contained in:
严浩
2025-09-22 23:49:45 +08:00
parent 20808e8a55
commit dbf346cef3
2 changed files with 16 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ services:
environment:
- APK_PACKAGES=curl jq
- CRON_SCHEDULE=*/1 * * * *
- RUN_CRON_ON_START=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./backups:/backups:ro