diff --git a/opencode/.env.example b/opencode/.env.example index de065d9..6051acc 100644 --- a/opencode/.env.example +++ b/opencode/.env.example @@ -3,13 +3,13 @@ APP_IMAGE_TAG=latest HOST_PORT=4180 # --- OpenID Connect (OIDC) --- -# Bare domain ONLY (no https://, no trailing slash — docker-compose adds https:// and /oauth2/callback) +# Bare domain ONLY (no https://, no trailing slash) DOMAIN_NAME=https://yourdomain.com -# Full URL of your OpenID provider (must match "issuer" in .well-known/openid-configuration) +# Full Issuer URL of your OpenID provider OIDC_ISSUER_URL=https://yourdomain.com OIDC_CLIENT_ID=your_oidc_client_id OIDC_CLIENT_SECRET=your_oidc_client_secret -# Generate a fresh 32-byte secret via: openssl rand -base64 32 | head -c 32 | base64 +# Generate via: openssl rand -base64 32 | head -c 32 | base64 OIDC_COOKIE_SECRET=Vk5mbU16UnpOSGRDTVZ4T1ZsTmJZazlTZkU5VzBRMD0= COOKIE_SECURE_HTTPS=true OIDC_ALLOW_UNVERIFIED_EMAIL=true @@ -20,23 +20,16 @@ GIT_USER_EMAIL=opencode-bot@local.internal GITEA_PAT=your_gitea_personal_access_token # --- AI Models --- -# Leave OPENCODE_API_KEY empty when using your local Llama server OPENCODE_API_KEY= -# Optional: keep empty unless using OpenRouter as a cloud fallback OPENROUTER_API_KEY= OPENAI_KEY= ANTHROPIC_KEY= # --- MCP Servers --- -# Optional: works keyless, or add a free key from context7.com for higher rate limits CONTEXT7_API_KEY= -# Full LAN IP + port + path from Home Assistant (Settings -> Devices & Services -> HA-MCP Server -> Configure) HA_MCP_URL=http://192.168.1 -# --- Paths & DB --- -HOST_CONFIG_PATH=./config -HOST_WORKSPACES_ROOT_PATH=workspaces_data -HOST_DB_VOLUME_PATH=db_data +# --- Database --- DB_USER=opencode_user DB_PASSWORD=change_this_secure_db_password DB_NAME=opencode_db