11 lines
320 B
Markdown
11 lines
320 B
Markdown
# 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`
|