24 lines
713 B
Plaintext
24 lines
713 B
Plaintext
|
|
# 运行环境
|
|||
|
|
# dev / prod,决定加载 config.dev.yaml 或 config.prod.yaml(可选)
|
|||
|
|
APP_ENV=dev
|
|||
|
|
|
|||
|
|
# AI 服务 API Key
|
|||
|
|
CAMTALK_AI_STT_API_KEY=sk-your-stt-key
|
|||
|
|
CAMTALK_AI_LLM_API_KEY=sk-your-llm-key
|
|||
|
|
CAMTALK_AI_TTS_API_KEY=sk-your-tts-key
|
|||
|
|
|
|||
|
|
# JWT 认证
|
|||
|
|
CAMTALK_AUTH_JWT_SECRET=your-jwt-secret-here
|
|||
|
|
|
|||
|
|
# PostgreSQL(storage.driver 为 postgres 时必填)
|
|||
|
|
POSTGRES_USER=camtalk
|
|||
|
|
POSTGRES_PASSWORD=your-postgres-password
|
|||
|
|
CAMTALK_STORAGE_DSN=postgres://camtalk:your-postgres-password@postgres:5432/camtalk?sslmode=disable
|
|||
|
|
|
|||
|
|
# 可选覆盖(默认值见 config.yaml)
|
|||
|
|
# CAMTALK_SERVER_PORT=8080
|
|||
|
|
# CAMTALK_LOG_LEVEL=info
|
|||
|
|
# CAMTALK_STORAGE_DRIVER=memory
|
|||
|
|
# CAMTALK_REDIS_ADDR=localhost:6379
|
|||
|
|
# CAMTALK_REDIS_PASSWORD=
|