mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
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:
parent
eb1f39b365
commit
52f2aac54e
3 changed files with 15 additions and 3 deletions
|
|
@ -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:**
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue