release: prepare Web 2.0.1 automatic strategies and private updates

This commit is contained in:
AttilaNet
2026-11-11 12:52:08 +08:00
parent 5b1ef25048
commit 533280e007
30 changed files with 1177 additions and 107 deletions
+5
View File
@@ -1,6 +1,11 @@
# Root-owned operator configuration. Never put this file in /data.
project_dir = "/opt/ranch-web"
data_dir = "/opt/ranch-web/data"
# Optional private GitHub releases: data_dir/update-github-token, mode 0600,
# owned by 10001:10001 (same file is /data/update-github-token in the app).
# Set with: sudo python3 -B /opt/ranch-web/updater.pyz --config /etc/ranch-web-updater.toml --set-github-token
# Optional ENV RANCH_WEB_UPDATE_GITHUB_TOKEN_FILE is an absolute PATH, not a token.
# Private GHCR access is configured separately by the operator via docker login --password-stdin.
control_dir = "/opt/ranch-web/updater-control"
backup_dir = "/opt/ranch-web/backups"
failed_data_dir = "/opt/ranch-web/failed-data"