smart_ide/config/services.local.env.example
Nicolas Cantu 68cb5737c5 feat(sso-gateway): add OIDC JWT gateway and proxy to micro-services
- New service smart-ide-sso-gateway (port 37148): JWKS verify, /health,
  /v1/token/verify, /v1/upstreams, /proxy/<key>/...
- CORS on JSON responses when SSO_CORS_ORIGIN is set; optional empty
  bearer for langextract upstream
- Docs: feature, API, repo index; wire sso-docv-enso and services scope
- Extend config/services.local.env.example with OIDC and gateway vars
2026-04-03 22:42:44 +02:00

75 lines
2.0 KiB
Plaintext

# Local IDE / agent configuration for all smart_ide HTTP services and the tools bridge.
# Copy to config/services.local.env and fill secrets. Do not commit services.local.env.
#
# Load before starting processes, e.g.: set -a && source config/services.local.env && set +a
# Monorepo root (path validation for tools-bridge jobs)
SMART_IDE_MONOREPO_ROOT=/absolute/path/to/smart_ide
# Optional: extra allowed path prefixes (comma-separated) for tools-bridge file jobs
# TOOLS_ALLOWED_PATH_PREFIXES=/data/clones,/home/user/projects
# --- smart-ide-tools-bridge (Carbonyl / PageIndex / Chandra + registry) ---
TOOLS_BRIDGE_HOST=127.0.0.1
TOOLS_BRIDGE_PORT=37147
TOOLS_BRIDGE_TOKEN=
TOOLS_BRIDGE_JOB_TIMEOUT_MS=3600000
# --- Core HTTP micro-services ---
REPOS_DEVTOOLS_HOST=127.0.0.1
REPOS_DEVTOOLS_PORT=37140
REPOS_DEVTOOLS_TOKEN=
REPOS_DEVTOOLS_ROOT=
LANGEXTRACT_API_HOST=127.0.0.1
LANGEXTRACT_API_PORT=37141
LANGEXTRACT_SERVICE_TOKEN=
CLAW_PROXY_HOST=127.0.0.1
CLAW_PROXY_PORT=37142
CLAW_PROXY_TOKEN=
CLAW_UPSTREAM_URL=
REGEX_SEARCH_HOST=127.0.0.1
REGEX_SEARCH_PORT=37143
REGEX_SEARCH_TOKEN=
REGEX_SEARCH_ROOT=
LOCAL_OFFICE_URL=http://127.0.0.1:8000
LOCAL_OFFICE_API_KEY=
IA_DEV_GATEWAY_HOST=127.0.0.1
IA_DEV_GATEWAY_PORT=37144
IA_DEV_GATEWAY_TOKEN=
ORCHESTRATOR_HOST=127.0.0.1
ORCHESTRATOR_PORT=37145
ORCHESTRATOR_TOKEN=
ANYTHINGLLM_DEVTOOLS_HOST=127.0.0.1
ANYTHINGLLM_DEVTOOLS_PORT=37146
ANYTHINGLLM_DEVTOOLS_TOKEN=
ANYTHINGLLM_BASE_URL=
ANYTHINGLLM_API_KEY=
REPOS_DEVTOOLS_URL=http://127.0.0.1:37140
# Orchestrator → tools bridge (for intent resolution hints)
TOOLS_BRIDGE_URL=http://127.0.0.1:37147
# --- smart-ide-sso-gateway (OIDC user token → proxy to micro-services) ---
SSO_GATEWAY_HOST=127.0.0.1
SSO_GATEWAY_PORT=37148
# SSO_CORS_ORIGIN=
# Required when running the gateway: docv / Enso issuer URL
OIDC_ISSUER=
# OIDC_AUDIENCE=
# OIDC_JWKS_URI=
# Ollama / AnythingLLM (orchestrator)
OLLAMA_URL=http://127.0.0.1:11434
ANYTHINGLLM_BASE_URL=
# Carbonyl (docker / native — used by bridge open-plan response)
CARBONYL_DOCKER_IMAGE=fathyb/carbonyl
CARBONYL_RUNNER=docker