From 74000b4548efa245f8a69fa10ee14aa4ac9cae87 Mon Sep 17 00:00:00 2001 From: Igor Ilic <30923996+dexters1@users.noreply.github.com> Date: Tue, 17 Jun 2025 20:05:09 +0200 Subject: [PATCH] docs: Add how to use postgres with Cognee docker compose (#994) ## Description Add how to use postgres with Cognee docker compose ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. --- .env.template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.template b/.env.template index 1804e81f1..6b5707e0d 100644 --- a/.env.template +++ b/.env.template @@ -47,10 +47,12 @@ DB_PROVIDER="sqlite" DB_NAME=cognee_db # Postgres specific parameters (Only if Postgres or PGVector is used). Do not use for cognee default simplest setup of SQLite-NetworkX-LanceDB -# DB_HOST=127.0.0.1 -# DB_PORT=5432 # DB_USERNAME=cognee # DB_PASSWORD=cognee +# To use Postgres with the Cognee backend in Docker compose use the following instead: DB_HOST=host.docker.internal +# DB_HOST=127.0.0.1 +# DB_PORT=5432 + # Params for migrating relational database data to graph / Cognee ( PostgreSQL and SQLite supported )