Files
WrenAI/docker

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) copy .env.ai.example to .env.ai and fill in necessary information if you would like to use custom LLM.
  3. (optional) if your port 3000 is occupied, you can modify the HOST_PORT in .env.example.
  4. 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
  5. 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