mirror of
https://github.com/Canner/WrenAI.git
synced 2026-09-24 23:29:49 +08:00
Service
wren-engine: the engine service. check out example here: wren-engine /examplewren-ai-service: the AI service. check out example here: wren-ai-service docker-compose exampleqdrant: the vector store ai service is using.wren-ui: the UI service.bootstrap: put required files to volume for engine service.
Volume
Shared data using data volume.
Path structure as following:
/mdl*.json(will putsample.jsonduring bootstrap)
accountsconfig.properties
Network
- Check out Network drivers overview to learn more about
bridgenetwork driver.
How to start
- copy
.env.exampleto.env.localand modify the OpenAI API key. - (optional) copy
.env.ai.exampleto.env.aiand fill in necessary information if you would like to use custom LLM. - (optional) if your port 3000 is occupied, you can modify the
HOST_PORTin.env.example. - start all services:
- using OpenAI:
docker-compose --env-file .env.local up -d - using custom LLM:
docker-compose --env-file .env.local --env-file .env.ai up -d
- using OpenAI:
- stop all services:
- using OpenAI:
docker-compose --env-file .env.local down - using custom LLM:
docker-compose --env-file .env.local --env-file .env.ai down
- using OpenAI: