mirror of
https://github.com/Canner/WrenAI.git
synced 2026-10-24 02:25:59 +08:00
Chore/ai service/auto deploy at init (#457)
* allow force deploy during server start * fix force_deploy and env file
This commit is contained in:
@@ -44,16 +44,15 @@ services:
|
||||
environment:
|
||||
WREN_AI_SERVICE_PORT: ${WREN_AI_SERVICE_PORT}
|
||||
WREN_UI_ENDPOINT: ${WREN_UI_ENDPOINT}
|
||||
OPENAI_API_KEY: ${OPENAI_API_KEY}
|
||||
GENERATION_MODEL: ${GENERATION_MODEL}
|
||||
OPENAI_API_KEY: ${OPENAI_API_KEY}
|
||||
AZURE_CHAT_KEY: ${AZURE_CHAT_KEY}
|
||||
AZURE_EMBED_KEY: ${AZURE_EMBED_KEY}
|
||||
ENABLE_TIMER: ${AI_SERVICE_ENABLE_TIMER}
|
||||
LOGGING_LEVEL: ${AI_SERVICE_LOGGING_LEVEL}
|
||||
# sometimes the console won't show print messages,
|
||||
# using PYTHONUNBUFFERED: 1 can fix this
|
||||
PYTHONUNBUFFERED: 1
|
||||
env_file:
|
||||
- path: ${PROJECT_DIR}/.env.ai
|
||||
required: false
|
||||
networks:
|
||||
- wren
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user