chore: rename environment variables files (#395)

* chore: rename environment variables files

* docs: update README.md about .env file
This commit is contained in:
Yige
2023-03-09 18:41:33 +08:00
committed by GitHub
parent 9576edf26f
commit a4ef23d603
5 changed files with 8 additions and 4 deletions

23
service/.env.example Normal file
View File

@@ -0,0 +1,23 @@
# OpenAI API Key - https://platform.openai.com/overview
OPENAI_API_KEY=
# change this to an `accessToken` extracted from the ChatGPT site's `https://chat.openai.com/api/auth/session` response
OPENAI_ACCESS_TOKEN=
# OpenAI API Base URL - https://api.openai.com
OPENAI_API_BASE_URL=
# Reverse Proxy
API_REVERSE_PROXY=
# timeout
TIMEOUT_MS=100000
# Secret key
AUTH_SECRET_KEY=
# Socks Proxy Host
SOCKS_PROXY_HOST=
# Socks Proxy Port
SOCKS_PROXY_PORT=