docs: Add how to use postgres with Cognee docker compose (#994)

<!-- .github/pull_request_template.md -->

## 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.
This commit is contained in:
Igor Ilic 2025-06-17 20:05:09 +02:00 committed by GitHub
parent f3455e9f86
commit 74000b4548
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 )