# Copy to .env or run ./scripts/init-env.sh. OPENCLAW_VERSION=2026.5.27 OPENCLAW_OS_PLUGIN_VERSION=0.1.5 # The helper script generates a random value. Keep this private. OPENCLAW_GATEWAY_TOKEN= # Host ports. The gateway serves both Control UI and OpenClaw OS on this port. OPENCLAW_GATEWAY_HOST_PORT=18789 OPENCLAW_BRIDGE_HOST_PORT=18790 OPENCLAW_MSTEAMS_HOST_PORT=3978 # Persistent host state. OPENCLAW_CONFIG_DIR=./data/openclaw OPENCLAW_AUTH_PROFILE_SECRET_DIR=./data/openclaw-auth-profile-secrets # Gateway/container behavior. OPENCLAW_GATEWAY_BIND=lan OPENCLAW_GATEWAY_AUTH_MODE=token OPENCLAW_DISABLE_BONJOUR=1 OPENCLAW_TZ=UTC # Optional comma-separated origins if you reverse-proxy the gateway. OPENCLAW_CONTROL_UI_EXTRA_ORIGINS= # Optional provider keys. You can reference these from openclaw-os.yaml, # for example: apiKeys.openai: ${OPENAI_API_KEY} OPENAI_API_KEY= ANTHROPIC_API_KEY= OPENROUTER_API_KEY= GOOGLE_API_KEY= GEMINI_API_KEY=