opencode/.env.example aktualisiert
This commit is contained in:
1 parent
7c4973618b
commit
baf974541a
1 file changed
+9
-4
@@ -3,11 +3,13 @@ APP_IMAGE_TAG=latest
|
|||||||
HOST_PORT=4180
|
HOST_PORT=4180
|
||||||
|
|
||||||
# --- OpenID Connect (OIDC) ---
|
# --- OpenID Connect (OIDC) ---
|
||||||
|
# Bare domain ONLY (no https://, no trailing slash — docker-compose adds https:// and /oauth2/callback)
|
||||||
DOMAIN_NAME=https://yourdomain.com
|
DOMAIN_NAME=https://yourdomain.com
|
||||||
|
# Full URL of your OpenID provider (must match "issuer" in .well-known/openid-configuration)
|
||||||
OIDC_ISSUER_URL=https://yourdomain.com
|
OIDC_ISSUER_URL=https://yourdomain.com
|
||||||
OIDC_CLIENT_ID=your_oidc_client_id
|
OIDC_CLIENT_ID=your_oidc_client_id
|
||||||
OIDC_CLIENT_SECRET=your_oidc_client_secret
|
OIDC_CLIENT_SECRET=your_oidc_client_secret
|
||||||
# Generate a 32-byte base64 secret via: openssl rand -base64 32 | head -c 32 | base64
|
# Generate a fresh 32-byte secret via: openssl rand -base64 32 | head -c 32 | base64
|
||||||
OIDC_COOKIE_SECRET=Vk5mbU16UnpOSGRDTVZ4T1ZsTmJZazlTZkU5VzBRMD0=
|
OIDC_COOKIE_SECRET=Vk5mbU16UnpOSGRDTVZ4T1ZsTmJZazlTZkU5VzBRMD0=
|
||||||
COOKIE_SECURE_HTTPS=true
|
COOKIE_SECURE_HTTPS=true
|
||||||
OIDC_ALLOW_UNVERIFIED_EMAIL=true
|
OIDC_ALLOW_UNVERIFIED_EMAIL=true
|
||||||
@@ -18,14 +20,17 @@ GIT_USER_EMAIL=opencode-bot@local.internal
|
|||||||
GITEA_PAT=your_gitea_personal_access_token
|
GITEA_PAT=your_gitea_personal_access_token
|
||||||
|
|
||||||
# --- AI Models ---
|
# --- AI Models ---
|
||||||
OPENCODE_API_KEY=your_opencode_key
|
# Leave OPENCODE_API_KEY empty when using your local Llama server
|
||||||
OPENROUTER_API_KEY=your_openrouter_key
|
OPENCODE_API_KEY=
|
||||||
|
# Optional: keep empty unless using OpenRouter as a cloud fallback
|
||||||
|
OPENROUTER_API_KEY=
|
||||||
OPENAI_KEY=
|
OPENAI_KEY=
|
||||||
ANTHROPIC_KEY=
|
ANTHROPIC_KEY=
|
||||||
|
|
||||||
# --- MCP Servers ---
|
# --- MCP Servers ---
|
||||||
|
# Optional: works keyless, or add a free key from context7.com for higher rate limits
|
||||||
CONTEXT7_API_KEY=
|
CONTEXT7_API_KEY=
|
||||||
# Use your Home Assistant LAN IP (not .local) + the exact path shown in the HACS ha-mcp integration
|
# Full LAN IP + port + path from Home Assistant (Settings -> Devices & Services -> HA-MCP Server -> Configure)
|
||||||
HA_MCP_URL=http://192.168.1
|
HA_MCP_URL=http://192.168.1
|
||||||
|
|
||||||
# --- Paths & DB ---
|
# --- Paths & DB ---
|
||||||
|
|||||||
Reference in new issue
Block a user