mirror of
https://github.com/Canner/WrenAI.git
synced 2026-10-30 18:22:21 +08:00
* feat(dockerfile): add standalone option. fix eslint issues at next.config.js * feat(docker): add docker-compose file * feat(docker): add QDRANT_HOST * feat(docker): modify docker-compose to add a bootstrap runner * feat(docker): bootstrap service * feat(wren-ui): add dockerfile for wren-ui * fix(wren-ui): rm docker entry script * feat(docker): publish ui & bootstrap packages * feat(docker): remove comment in dockerfile & put up a how to start in readme * fix(docker): change ai-service port to 80
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) if your port 3000 is occupied, you can modify the
HOST_PORTin.env.local. - run
docker-compose --env-file .env.local upto start all services.