chore: update docker-compose and documentation for PostgreSQL configuration

- Added NEXT_FRONTEND_URL environment variable to docker-compose.yml for frontend integration.
- Updated hero-section.tsx to change the "Get Started" button link from "/login" to "/register".
- Enhanced electric-sql documentation with detailed instructions for locating and editing the postgresql.conf file.
This commit is contained in:
Anish Sarkar 2026-01-15 21:07:14 +05:30
parent eb1f39b365
commit 52f2aac54e
3 changed files with 15 additions and 3 deletions

View file

@ -147,7 +147,18 @@ If you're using a local PostgreSQL installation, follow these steps:
**1. Enable logical replication in PostgreSQL:**
Locate your `postgresql.conf` file and add the following settings:
Open your `postgresql.conf` file using vim (or your preferred editor):
```bash
# Common locations:
# macOS (Homebrew): /opt/homebrew/var/postgresql@15/postgresql.conf
# Linux: /etc/postgresql/15/main/postgresql.conf
# Windows: C:\Program Files\PostgreSQL\15\data\postgresql.conf
sudo vim /path/to/postgresql.conf
```
Add the following settings:
```ini
# Enable logical replication (required for Electric SQL)
@ -156,7 +167,7 @@ max_replication_slots = 10
max_wal_senders = 10
```
After saving the changes, restart your PostgreSQL server for the configuration to take effect.
After saving the changes (`:wq` in vim), restart your PostgreSQL server for the configuration to take effect.
**2. Update environment variable:**