Files
gochat/deploy/quickstart/.env.example
T
Rogeeandrogee 60ad320e8d [H-337] Fix Captain provider runtime and knowledge flow (#61)
* fix(H-337): configure Captain provider runtime

* fix(captain): make knowledge rebuild atomic

* fix(captain): scope retrieval provider failures

---------

Co-authored-by: Rogee <rogee@ipao.vip>
2026-08-20 14:46:01 +08:00

49 lines
1.3 KiB
Bash

# GoChat Docker Compose quickstart env
# Copy to .env and change secrets before sharing the stack.
COMPOSE_PROJECT_NAME=gochat-quickstart
# Published ports on the host
GOCHAT_PORT=3000
MEILI_PORT=7700
MAILHOG_SMTP_PORT=1025
MAILHOG_WEB_PORT=8025
# Database
POSTGRES_DB=gochat_dev
POSTGRES_USER=gochat
POSTGRES_PASSWORD=gochat_dev
# Redis
REDIS_PASSWORD=
# GoChat runtime
GOCHAT_ENV=development
GOCHAT_SERVER_MODE=debug
GOCHAT_JWT_SECRET=gochat_quickstart_change_me_minimum_32_chars
# Optional Captain/Copilot runtime provider. Secrets stay in this ignored .env
# and are never persisted to installation_configs. Leave all three blank to
# keep AI generation disabled. Separate embeddings require the third value.
GOCHAT_COPILOT_PROVIDER_CONFIG=
GOCHAT_COPILOT_CHAT_API_KEY=
GOCHAT_COPILOT_EMBEDDING_API_KEY=
# Search
MEILI_MASTER_KEY=gochat_dev
GOCHAT_SEARCH_API_KEY=gochat_dev
# Optional deterministic seed user
GOCHAT_SEED_ADMIN_EMAIL=admin@gochat.local
GOCHAT_SEED_ADMIN_PASSWORD=changeme
GOCHAT_SEED_ADMIN_NAME=Super Admin
GOCHAT_SEED_ACCOUNT_NAME=Quickstart Account
GOCHAT_SEED_INBOX_NAME=Quickstart Website Inbox
# Required only when starting: docker compose --profile shangwutong up
GOCHAT_CONNECTOR_SERVICE_TOKEN=
SWT_MAX_INFLIGHT_HEARTBEATS=64
SWT_INBOUND_WORKERS=8
SWT_OUTBOUND_WORKERS=8
SWT_SHUTDOWN_TIMEOUT=30s