Add Web 2 workspace and controlled deployment updates

This commit is contained in:
AttilaNet
2026-11-10 16:33:14 +08:00
parent 7fe4c0ffdf
commit dbb31707ea
58 changed files with 11283 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# Copy to /opt/ranch-web/.env, chmod 600, set a unique management password.
RANCH_WEB_PASSWORD=
RANCH_WEB_DATA_DIR=/opt/ranch-web/data
RANCH_WEB_UPDATER_CONTROL_DIR=/opt/ranch-web/updater-control
RANCH_WEB_BIND=127.0.0.1
RANCH_WEB_PUBLISH_PORT=8765
# Include the actual reverse-proxy hostname, without a scheme or path.
RANCH_WEB_ALLOWED_HOSTS=localhost,127.0.0.1
# Example behind TLS: https://ranch.example.com
RANCH_WEB_ALLOWED_ORIGINS=
# Set true when a TLS reverse proxy is configured.
RANCH_WEB_SECURE_COOKIE=false