Skip to content

Commit bb06d47

Browse files
committed
📝 docs: add env example for docker deploy [skip ci]
1 parent 434569f commit bb06d47

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ scripts
88
docs
99
.github
1010
*.md
11+
.env.example

.env.example

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# add a access code to lock your lobe-chat application, it should be a six length string
2+
ACCESS_CODE=lobe66
3+
4+
# only choose one from OpenAI Service and Azure OpenAI Service
5+
6+
########################################
7+
############ OpenAI Service ############
8+
########################################
9+
10+
# you openai api key
11+
OPENAI_API_KEY=sk-xxxxxxxxx
12+
13+
# use a proxy to connect to the OpenAI API
14+
# OPENAI_PROXY_URL=https://api.openai.com/v1
15+
16+
########################################
17+
######### Azure OpenAI Service #########
18+
########################################
19+
# you can learn azure OpenAI Service on https://learn.microsoft.com/en-us/azure/ai-services/openai/overview
20+
21+
# use Azure OpenAI Service by uncomment the following line
22+
# USE_AZURE_OPENAI=1
23+
24+
# The API key you applied for on the Azure OpenAI account page, which can be found in the "Keys and Endpoints" section.
25+
# AZURE_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
26+
27+
# The endpoint you applied for on the Azure OpenAI account page, which can be found in the "Keys and Endpoints" section.
28+
# OPENAI_PROXY_URL=https://docs-test-001.openai.azure.com
29+
30+
# Azure's API version, follows the YYYY-MM-DD format
31+
# AZURE_API_VERSION=2023-08-01-preview
32+
33+
########################################
34+
############ Market Service ############
35+
########################################
36+
37+
# The LobeChat plugins market index url
38+
# PLUGINS_INDEX_URL=https://chat-plugins.lobehub.com
39+
40+
# The LobeChat agents market index url
41+
# AGENTS_INDEX_URL=https://chat-agents.lobehub.com
42+

0 commit comments

Comments
 (0)