Add WORKER_TIMEOUT info to readme

This commit is contained in:
Rafi
2023-04-11 17:51:06 +08:00
parent 55279def0d
commit e9f554dc4e
3 changed files with 3 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ services:
environment:
- APP_DOMAIN=${APP_DOMAIN:-localhost:9000} # CSRF 白名单,在这里设置为 chatgpt-ui-web-server 的地址+端口, 默认: localhost:9000
- SERVER_WORKERS=3 # gunicorn 的工作进程数,默认为 3
- WORKER_TIMEOUT=180 # 请求超时时间,默认为 180 秒
#- DB_URL=postgres://postgres:postgrespw@localhost:49153/chatgpt # 连接外部数据库,如果不设置这个参数,则默认使用内置的 Sqlite。需要注意的是如果不连接外部数据库数据将在容器销毁后丢失。链接格式请看下面的 DB_URL 格式对照表
#- OPENAI_API_PROXY=https://openai.proxy.com/v1 # https://api.openai.com/v1 的代理地址
- DJANGO_SUPERUSER_USERNAME=admin # 默认超级用户