Files
myrzx_bot/deploy/web/updater.example.toml

18 lines
874 B
TOML

# 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"
compose_project = "ranch-web"
accept_web_requests = false
auto_apply = false
check_interval_seconds = 3600
wait_timeout_seconds = 180
shutdown_timeout_seconds = 120