Skip to content

Commit

Permalink
bug: fix environment invalid type
Browse files Browse the repository at this point in the history
  • Loading branch information
yokaimeow committed Mar 29, 2023
1 parent f254c46 commit ecbc584
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ecbc584

Please sign in to comment.