mirror of
https://github.com/jeffusion/gitea-ai-assistant.git
synced 2026-03-27 10:05:50 +00:00
Configure production deployments to use LOG_LEVEL=error for minimal log volume. - Add LOG_LEVEL=error to docker-compose.yml environment - Add LOG_LEVEL: error to K8s ConfigMap - Update .env.example with dev/prod LOG_LEVEL guidance Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
15 lines
544 B
Plaintext
15 lines
544 B
Plaintext
# 应用配置
|
||
PORT=5174
|
||
# 可选,默认为 ./data/assistant.db
|
||
# DATABASE_PATH=./data/assistant.db
|
||
# 可选,默认 info,可选值:debug/info/warn/error
|
||
# 开发环境建议:LOG_LEVEL=info
|
||
# 生产环境建议:LOG_LEVEL=error
|
||
# LOG_LEVEL=info
|
||
# 必填,运行 openssl rand -hex 32 生成
|
||
ENCRYPTION_KEY=
|
||
|
||
# 所有其他配置(Gitea连接、飞书通知、Webhook密钥、管理员密码、审查引擎、记忆系统等)
|
||
# 均通过 Web 管理后台进行配置。
|
||
# 启动服务后访问 http://localhost:5174 进行配置。
|