mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
fix: reconcile documentation guarantees and enforcement (OM-15)
This commit is contained in:
1 parent
6c878ae79a
commit
dcb50b7e0f
28 files changed
+461
-128
No files matched your search
+8
-1
@@ -9,6 +9,7 @@ PORT=5003
|
||||
HOST=0.0.0.0
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
NODE_ENV=production
|
||||
# LOG_LEVEL is accepted but currently unused; DEBUG controls debug output
|
||||
LOG_LEVEL=info
|
||||
|
||||
# ============================================
|
||||
@@ -21,6 +22,8 @@ OPENCODE_HOST=127.0.0.1
|
||||
# OpenCode 2 always requires a password: when this is unset and no password is
|
||||
# stored via Settings → OpenCode → Server Auth, OpenCode Manager generates one
|
||||
# and persists it. DB-stored passwords override this env var.
|
||||
# Docker: the default docker-compose.yml does not forward this variable from
|
||||
# .env; add it to the compose environment block or set it via the UI.
|
||||
# OPENCODE_SERVER_PASSWORD=
|
||||
|
||||
# Optional - import an existing standalone OpenCode install on first startup
|
||||
@@ -88,7 +91,9 @@ AUTH_SECRET=CHANGE_ME_GENERATE_WITH_openssl_rand_base64_32
|
||||
# ADMIN_PASSWORD_RESET=false
|
||||
|
||||
# Secure Cookies (set to false when running HTTP without a reverse proxy)
|
||||
# Defaults to true in production, false in development
|
||||
# Runtime default: true when NODE_ENV=production, false otherwise.
|
||||
# Docker Compose default: false (docker-compose.yml forwards AUTH_SECURE_COOKIES:-false),
|
||||
# so set true explicitly for HTTPS.
|
||||
# AUTH_SECURE_COOKIES=true
|
||||
|
||||
# OAuth Providers (optional - enable by providing client ID and secret)
|
||||
@@ -159,6 +164,8 @@ PASSKEY_ORIGIN=http://localhost:5003
|
||||
# Frontend Configuration (Vite)
|
||||
# These are optional - frontend uses defaults if not set
|
||||
# ============================================
|
||||
# VITE_API_URL is unset by default: requests are same-origin and the Vite dev
|
||||
# server proxies /api to the backend. Set only for a split frontend/backend origin.
|
||||
# VITE_API_URL=http://localhost:5003
|
||||
# VITE_SERVER_PORT=5003
|
||||
# VITE_OPENCODE_PORT=5551
|
||||
|
||||
Reference in new issue
Block a user