Skip to content

Commit

Permalink
📝 docs: add env example for docker deploy [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Nov 8, 2023
1 parent 434569f commit bb06d47
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ scripts
docs
.github
*.md
.env.example
42 changes: 42 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# add a access code to lock your lobe-chat application, it should be a six length string
ACCESS_CODE=lobe66

# only choose one from OpenAI Service and Azure OpenAI Service

########################################
############ OpenAI Service ############
########################################

# you openai api key
OPENAI_API_KEY=sk-xxxxxxxxx

# use a proxy to connect to the OpenAI API
# OPENAI_PROXY_URL=https://api.openai.com/v1

########################################
######### Azure OpenAI Service #########
########################################
# you can learn azure OpenAI Service on https://learn.microsoft.com/en-us/azure/ai-services/openai/overview

# use Azure OpenAI Service by uncomment the following line
# USE_AZURE_OPENAI=1

# The API key you applied for on the Azure OpenAI account page, which can be found in the "Keys and Endpoints" section.
# AZURE_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# The endpoint you applied for on the Azure OpenAI account page, which can be found in the "Keys and Endpoints" section.
# OPENAI_PROXY_URL=https://docs-test-001.openai.azure.com

# Azure's API version, follows the YYYY-MM-DD format
# AZURE_API_VERSION=2023-08-01-preview

########################################
############ Market Service ############
########################################

# The LobeChat plugins market index url
# PLUGINS_INDEX_URL=https://chat-plugins.lobehub.com

# The LobeChat agents market index url
# AGENTS_INDEX_URL=https://chat-agents.lobehub.com

0 comments on commit bb06d47

Please sign in to comment.