Files
WrenAI/docker/README.md
T
william chang(張仲威) 3234dc218b Feature/wren launcher (#33)
* feat(dockerfile): add standalone option. fix eslint issues at next.config.js

* feat(docker): add docker-compose file

* feat(launcher): init project

* feat(launcher): use docker-compose sdk to run containers

* feat(laucner): wait until checking if CheckWrenAIStarted return without error

* feat(launcher): CheckDockerDaemonRunning

* feat(laucher): format the message

* feat(launcher): fix regex replace api key

* readme
2024-03-25 17:42:20 +08:00

1.0 KiB

Service

  • wren-engine: the engine service. check out example here: wren-engine /example
  • wren-ai-service: the AI service. check out example here: wren-ai-service docker-compose example
  • qdrant: 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 put sample.json during bootstrap)
  • accounts
  • config.properties

Network

How to start

  1. copy .env.example to .env.local and modify the OpenAI API key.
  2. (optional) if your port 3000 is occupied, you can modify the HOST_PORT in .env.local.
  3. run docker-compose --env-file .env.local up to start all services.