feat: instructions for docker compose

This commit is contained in:
2025-02-24 20:02:54 +00:00
parent c9cd0df9ca
commit c0fe7e1853

10
backend/README.md Normal file
View File

@ -0,0 +1,10 @@
# Running the backend
1. Create a `.env.docker` file, which must contain the following.
OPENAI_API_KEY=openai_key
DB_CONNECTION=postgresql://postgres:password@database:5432/haystack_db?sslmode=disable
2. Use `docker-compose up` to spin up the containers.
You should be able to access the backend through port `3040`