From 19794016fdccbb326228765e25746e0609211207 Mon Sep 17 00:00:00 2001 From: Rafi Date: Wed, 8 Mar 2023 10:55:25 +0800 Subject: [PATCH] update readme --- README.md | 4 ++-- docs/zh/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2b4b401..e1a8379 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ services: environment: - APP_DOMAIN=${APP_DOMAIN:-localhost:9000} # CSRF whitelist,Add the address of your chatgpt-ui-web-server here, default is localhost:9000 #- DB_URL=postgres://postgres:postgrespw@localhost:49153/chatgpt # If this parameter is not set, the built-in Sqlite will be used by default. It should be noted that if you do not connect to an external database, the data will be lost after the container is destroyed. - #- OPENAI_API_PROXY=https://openai.proxy.com # Proxy for https://api.openai.com + #- OPENAI_API_PROXY=https://openai.proxy.com/v1 # Proxy for https://api.openai.com/v1 - DJANGO_SUPERUSER_USERNAME=admin # default superuser name - DJANGO_SUPERUSER_PASSWORD=password # default superuser password - DJANGO_SUPERUSER_EMAIL=admin@example.com # default superuser email @@ -114,7 +114,7 @@ networks: driver: bridge ``` -## DB_URL schema +### DB_URL schema | Engine | URL | |----------------------|--------------------------------------------------| diff --git a/docs/zh/README.md b/docs/zh/README.md index e071612..526c6a1 100644 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -83,7 +83,7 @@ services: environment: - APP_DOMAIN=${APP_DOMAIN:-localhost:9000} # CSRF 白名单,在这里设置为 chatgpt-ui-web-server 的地址+端口, 默认: localhost:9000 #- DB_URL=postgres://postgres:postgrespw@localhost:49153/chatgpt # 连接外部数据库,如果不设置这个参数,则默认使用内置的 Sqlite。需要注意的是,如果不连接外部数据库,数据将在容器销毁后丢失。链接格式请看下面的 DB_URL 格式对照表 - #- OPENAI_API_PROXY=https://openai.proxy.com # https://api.openai.com 的代理地址 + #- OPENAI_API_PROXY=https://openai.proxy.com/v1 # https://api.openai.com/v1 的代理地址 - DJANGO_SUPERUSER_USERNAME=admin # 默认超级用户 - DJANGO_SUPERUSER_PASSWORD=password # 默认超级用户的密码 - DJANGO_SUPERUSER_EMAIL=admin@example.com # 默认超级用户邮箱