chore: update documentation for Electric SQL setup and enhance .env.example with connection instructions

This commit is contained in:
Anish Sarkar 2026-02-26 05:26:38 +05:30
parent 95c41565f1
commit 9ae589b6ba
2 changed files with 57 additions and 106 deletions

View file

@ -88,7 +88,9 @@ EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
# ELECTRIC_DB_USER=electric
# ELECTRIC_DB_PASSWORD=electric_password
# Full override for pointing Electric at an external database:
# Full override for the Electric → Postgres connection URL.
# Leave commented out to use the Docker-managed `db` container (default).
# Uncomment and set `db` to `host.docker.internal` when pointing Electric at a local Postgres instance (e.g. Postgres.app on macOS):
# ELECTRIC_DATABASE_URL=postgresql://electric:electric_password@db:5432/surfsense?sslmode=disable
# ------------------------------------------------------------------------------