From ecbc584d01176daad19aaa046fccf4e07a4fb14a Mon Sep 17 00:00:00 2001 From: yokaimeow Date: Wed, 29 Mar 2023 17:31:35 +0800 Subject: [PATCH] bug: fix environment invalid type --- docker-compose.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index e8fd1329..67817a2c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -10,21 +10,21 @@ services: # volumes: # - ./code/config.yaml:/app/config.yaml:ro environment: - APP_ID: cli_axxx - APP_SECRET: xxx - APP_ENCRYPT_KEY: xxx - APP_VERIFICATION_TOKEN: xxx + - APP_ID=cli_axxx + - APP_SECRET=xxx + - APP_ENCRYPT_KEY=xxx + - APP_VERIFICATION_TOKEN=xxx # 请确保和飞书应用管理平台中的设置一致 - BOT_NAME: chatGpt + - BOT_NAME=chatGpt # OpenAI API Key 支持负载均衡, 可以填写多个 Key 用逗号分隔 - OPENAI_KEY: sk-xxx,sk-xxx,sk-xxx + - OPENAI_KEY=sk-xxx,sk-xxx,sk-xxx # 服务器配置 - HTTP_PORT: 9000 - HTTPS_PORT: 9001 - USE_HTTPS: false - CERT_FILE: cert.pem - KEY_FILE: key.pem + - HTTP_PORT=9000 + - HTTPS_PORT=9001 + - USE_HTTPS=false + - CERT_FILE=cert.pem + - KEY_FILE=key.pem # OpenAI 地址, 一般不需要修改, 除非你有自己的反向代理 - API_URL: https://api.openai.com - # 代理设置, 例如 "http://127.0.0.1:7890", "" 代表不使用代理 - HTTP_PROXY: "" + - API_URL=https://api.openai.com + # 代理设置, 例如 - HTTP_PROXY=http://127.0.0.1:7890, 默认代表不使用代理 + - HTTP_PROXY