feat: instructions for docker compose
This commit is contained in:
10
backend/README.md
Normal file
10
backend/README.md
Normal 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`
|
Reference in New Issue
Block a user