From 116ed7b0bf6c13236a5cfac8831f65957b2de037 Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Fri, 17 Mar 2023 08:59:49 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E7=A7=BB=E9=99=A4=20docker-compose.yml?= =?UTF-8?q?=20=E7=9C=81=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +++++++------- docker-compose/docker-compose.yml | 18 +++++++++--------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index aa1e5f5..ddf3716 100644 --- a/README.md +++ b/README.md @@ -213,13 +213,13 @@ services: - 3002:3002 environment: # 二选一 - OPENAI_API_KEY: xxxxxx + OPENAI_API_KEY: sk-xxx # 二选一 - OPENAI_ACCESS_TOKEN: xxxxxx + OPENAI_ACCESS_TOKEN: xxx # API接口地址,可选,设置 OPENAI_API_KEY 时可用 - OPENAI_API_BASE_URL: xxxx + OPENAI_API_BASE_URL: xxx # API模型,可选,设置 OPENAI_API_KEY 时可用 - OPENAI_API_MODEL: xxxx + OPENAI_API_MODEL: xxx # 反向代理,可选 API_REVERSE_PROXY: xxx # 访问权限密钥,可选 @@ -227,11 +227,11 @@ services: # 超时,单位毫秒,可选 TIMEOUT_MS: 60000 # Socks代理,可选,和 SOCKS_PROXY_PORT 一起时生效 - SOCKS_PROXY_HOST: xxxx + SOCKS_PROXY_HOST: xxx # Socks代理端口,可选,和 SOCKS_PROXY_HOST 一起时生效 - SOCKS_PROXY_PORT: xxxx + SOCKS_PROXY_PORT: xxx # HTTPS 代理,可选,支持 http,https,socks5 - HTTPS_PROXY: http://xxxx:7890 + HTTPS_PROXY: http://xxx:7890 ``` - `OPENAI_API_BASE_URL` 可选,设置 `OPENAI_API_KEY` 时可用 - `OPENAI_API_MODEL` 可选,设置 `OPENAI_API_KEY` 时可用 diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 91dee3c..8fa2175 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -7,25 +7,25 @@ services: - 3002:3002 environment: # 二选一 - OPENAI_API_KEY: xxxx + OPENAI_API_KEY: # 二选一 - OPENAI_ACCESS_TOKEN: xxxxxx + OPENAI_ACCESS_TOKEN: # API接口地址,可选,设置 OPENAI_API_KEY 时可用 - OPENAI_API_BASE_URL: xxxx + OPENAI_API_BASE_URL: # API模型,可选,设置 OPENAI_API_KEY 时可用 - OPENAI_API_MODEL: xxxx + OPENAI_API_MODEL: # 反向代理,可选 - API_REVERSE_PROXY: xxx + API_REVERSE_PROXY: # 访问权限密钥,可选 - AUTH_SECRET_KEY: xxx + AUTH_SECRET_KEY: # 超时,单位毫秒,可选 TIMEOUT_MS: 60000 # Socks代理,可选,和 SOCKS_PROXY_PORT 一起时生效 - SOCKS_PROXY_HOST: xxxx + SOCKS_PROXY_HOST: # Socks代理端口,可选,和 SOCKS_PROXY_HOST 一起时生效 - SOCKS_PROXY_PORT: xxxx + SOCKS_PROXY_PORT: # HTTPS_PROXY 代理,可选 - HTTPS_PROXY: http://xxxx:7890 + HTTPS_PROXY: nginx: image: nginx:alpine ports: