From f49589907a36d988edff71743f750148ed315a1c Mon Sep 17 00:00:00 2001 From: John Costa Date: Mon, 24 Feb 2025 20:02:54 +0000 Subject: [PATCH] feat: instructions for docker compose --- backend/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 backend/README.md diff --git a/backend/README.md b/backend/README.md new file mode 100644 index 0000000..b71a08d --- /dev/null +++ b/backend/README.md @@ -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`