docker-compose supports more environment variables

This commit is contained in:
qingfengfenga
2023-05-16 15:02:53 +08:00
parent 775ba2596a
commit 50a915b7b6
2 changed files with 34 additions and 1 deletions

View File

@@ -1,4 +1,29 @@
# Your openai api key. (required)
OPENAI_API_KEY=sk-xxxx
# Access passsword, separated by comma. (optional)
CODE=your-password
PROXY_URL=http://localhost:7890
# You can start service behind a proxy
PROXY_URL=http://localhost:7890
# Override openai api request base url. (optional)
# Default: https://api.openai.com
# Examples: http://your-openai-proxy.com
BASE_URL=
# Specify OpenAI organization ID.(optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
OPENAI_ORG_ID=
# (optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
HIDE_USER_API_KEY=
# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=