mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-07-25 14:22:57 +00:00
* fix(security): harden upstream critical surfaces Refs #30 * fix(security): close pre-landing review gaps Refs #30 * fix(security): close official release blockers
25 lines
926 B
Bash
25 lines
926 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) ---
|
|
# Required for Docker/external binds. Run ./prepare-env.sh to generate.
|
|
# Local loopback-only development may opt into empty-token mode with:
|
|
# GOCLAW_ALLOW_INSECURE_NO_AUTH=1
|
|
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
|
|
|
|
# --- Sandbox (only when using docker-compose.sandbox.yml) ---
|
|
# Docker socket GID: 999 on Linux, 0 on Windows/macOS Docker Desktop.
|
|
# DOCKER_GID=0
|
|
|
|
# --- Debug ---
|
|
# GOCLAW_TRACE_VERBOSE=1
|