mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-11 12:18:59 +00:00
MCP bridge now returns 403 when no gateway token is configured instead of serving tools without authentication. Startup warnings added for default Postgres password and open CORS configuration.
18 lines
601 B
Bash
18 lines
601 B
Bash
# GoClaw environment variables.
|
|
# Copy to .env and fill in values. For Docker Compose, do NOT use 'export' prefix.
|
|
#
|
|
# Auto-generated by prepare-env.sh: GOCLAW_GATEWAY_TOKEN, GOCLAW_ENCRYPTION_KEY.
|
|
# LLM provider API keys: configure via the web dashboard setup wizard.
|
|
|
|
# --- Gateway (required) ---
|
|
GOCLAW_GATEWAY_TOKEN=
|
|
GOCLAW_ENCRYPTION_KEY=
|
|
POSTGRES_PASSWORD=
|
|
|
|
# --- Database (only for non-Docker deployments) ---
|
|
# Docker Compose auto-builds this from POSTGRES_USER/PASSWORD/DB.
|
|
# GOCLAW_POSTGRES_DSN=postgres://user:pass@host:5432/dbname?sslmode=disable
|
|
|
|
# --- Debug ---
|
|
# GOCLAW_TRACE_VERBOSE=1
|