pathwaycom / llm-app

Dynamic RAG for enterprise. Ready to run with Docker,⚡in sync with Sharepoint, Google Drive, S3, Kafka, PostgreSQL, real-time data APIs, and more.
https://pathway.com/developers/templates/
MIT License
3.37k stars 193 forks source link

add data volume to docker-compose #10

Closed KamilPiechowiak closed 11 months ago

KamilPiechowiak commented 11 months ago

I think it is better to change to docker compose. docker run -it -p 8080:8080 -v ./data/:/app/data/ llm-app doesn't work on the docker version that gets installed by default on ubuntu. To solve it one can use docker run -it -p 8080:8080 -v $PWD/data/:/app/data/ llm-app but that will break on windows. docker compose provides consistent way of attaching a volume on different operating systems.