Files
WrenAI/docker
Chih-Yu Yeh cf02536bb9 Feature/wren ai service/demo lab (#128)
* setup duckdb demo dataset testing

* allow demo to use duckdb demo dataset

* remove debug message

* remove unused command

* update wren-ai-service demo setup and README

* reformat sql, prevent duplicating deployment, update sampledata mdl

* update logger setup and fix preview sql issue

* remove psycopg2

* refine demo setup flow

* revert

* remove unused file

* remove unused dep

* change url

* revert

* add TODO for improvement

* update
2024-04-18 15:51:09 +08:00
..
2024-03-25 17:42:20 +08:00

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.