docs: configura pooler IPv4 e chiudi fase 6

This commit is contained in:
Luca Sacchi Ricciardi
2026-04-24 13:25:39 +02:00
parent 10ed6f6c2f
commit 0043a3ba50
3 changed files with 12 additions and 12 deletions
+6 -6
View File
@@ -32,10 +32,10 @@ E' consigliato mantenere nel repository anche un file `.env.example` con le sole
### Esempio di `.env.example`
```env
SUPABASE_DB_HOST=db.<project-ref>.supabase.co
SUPABASE_DB_PORT=5432
SUPABASE_DB_HOST=aws-1-eu-central-1.pooler.supabase.com
SUPABASE_DB_PORT=6543
SUPABASE_DB_NAME=postgres
SUPABASE_DB_USER=postgres
SUPABASE_DB_USER=postgres.<project-ref>
SUPABASE_DB_PASSWORD=
PING_INTERVAL_MINUTES=4320
PING_QUERY=SELECT 1;
@@ -44,10 +44,10 @@ TZ=Europe/Rome
### Significato delle variabili
- `SUPABASE_DB_HOST`: hostname del database Supabase.
- `SUPABASE_DB_PORT`: porta del database PostgreSQL, normalmente `5432`.
- `SUPABASE_DB_HOST`: hostname del connection pooler Supabase (consigliato per compatibilita' IPv4).
- `SUPABASE_DB_PORT`: porta del pooler PostgreSQL, normalmente `6543`.
- `SUPABASE_DB_NAME`: nome del database.
- `SUPABASE_DB_USER`: utente di connessione.
- `SUPABASE_DB_USER`: utente di connessione nel formato `postgres.<project-ref>` quando si usa il pooler.
- `SUPABASE_DB_PASSWORD`: password di connessione.
- `PING_INTERVAL_MINUTES`: intervallo tra un keep-alive e il successivo. Default `4320` (72 ore, circa 3 volte a settimana).
- `PING_QUERY`: query leggera da eseguire per generare attivita'.