From d2a852d5eb31d80b498021e91f288195cf46acfb Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Fri, 31 Mar 2023 13:05:30 +0800 Subject: [PATCH] chore: .eslintignore --- .eslintignore | 2 ++ docker-compose/docker-compose.yml | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..101c96b --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +docker-compose +kubernetes diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 52da76a..37b72fd 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -8,27 +8,27 @@ services: - 3002:3002 environment: # 二选一 - OPENAI_API_KEY: sk-xxx + OPENAI_API_KEY: # 二选一 - OPENAI_ACCESS_TOKEN: xxx + OPENAI_ACCESS_TOKEN: # API接口地址,可选,设置 OPENAI_API_KEY 时可用 - OPENAI_API_BASE_URL: xxx + OPENAI_API_BASE_URL: # API模型,可选,设置 OPENAI_API_KEY 时可用 - OPENAI_API_MODEL: xxx + OPENAI_API_MODEL: # 反向代理,可选 - API_REVERSE_PROXY: xxx + API_REVERSE_PROXY: # 访问权限密钥,可选 - AUTH_SECRET_KEY: xxx + AUTH_SECRET_KEY: # 每小时最大请求次数,可选,默认无限 MAX_REQUEST_PER_HOUR: 0 # 超时,单位毫秒,可选 TIMEOUT_MS: 60000 # Socks代理,可选,和 SOCKS_PROXY_PORT 一起时生效 - SOCKS_PROXY_HOST: xxx + SOCKS_PROXY_HOST: # Socks代理端口,可选,和 SOCKS_PROXY_HOST 一起时生效 - SOCKS_PROXY_PORT: xxx + SOCKS_PROXY_PORT: # HTTPS_PROXY 代理,可选 - HTTPS_PROXY: http://xxx:7890 + HTTPS_PROXY: nginx: container_name: nginx image: nginx:alpine