Haystack/backend/README.md

320 B

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

  1. Use docker-compose up to spin up the containers.

You should be able to access the backend through port 3040