320 B
320 B
Running the backend
- 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
- Use
docker-compose up
to spin up the containers.
You should be able to access the backend through port 3040