docs: configura pooler IPv4 e chiudi fase 6
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
||||
# Credenziali database Supabase
|
||||
# Ricavabili da: Supabase Dashboard > Project Settings > Database
|
||||
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=
|
||||
|
||||
# Intervallo tra un keep-alive e il successivo (in minuti)
|
||||
|
||||
@@ -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'.
|
||||
|
||||
+3
-3
@@ -228,7 +228,7 @@ Verifica:
|
||||
|
||||
Stato:
|
||||
|
||||
- in corso
|
||||
- completata
|
||||
|
||||
## Backlog Post-V1
|
||||
|
||||
@@ -263,6 +263,6 @@ La V1 e' completata quando:
|
||||
|
||||
## Prossima Attivita' Operativa
|
||||
|
||||
Fasi 0-5 completate. In corso: Fase 6 — allineamento README con struttura reale e intervallo di ping definitivo (`4320 min = 72 ore`).
|
||||
Fasi 0-6 completate. V1 chiusa con test operativo end-to-end su pooler Supabase IPv4.
|
||||
|
||||
Prossima verifica operativa: `docker build` + avvio container con `.env` reale per confermare funzionamento end-to-end.
|
||||
Nota operativa: usare host pooler (`aws-1-eu-central-1.pooler.supabase.com`) su porta `6543` con utente `postgres.<project-ref>` per ambienti senza connettivita' IPv6.
|
||||
|
||||
Reference in New Issue
Block a user