Questi contenuti non sono ancora disponibili nella tua lingua.
PostgreSQL
ALTCHA Sentinel supports PostgreSQL 15 and later.
Automatic database migrations, snapshots, and point-in-time recovery (PITR) are fully supported.
Enabling PostgreSQL
To enable PostgreSQL, configure the POSTGRES_URL environment variable:
POSTGRES_URL=postgresql://user:password@localhost:5432/altcha_sentinelDatabase migrations are applied automatically when the application starts.
PostgreSQL with TLS/SSL
To connect to PostgreSQL over TLS/SSL, add ?sslmode=require to the connection string:
postgresql://user:password@localhost:5432/altcha_sentinel?sslmode=requireIf certificate verification is not required, you can use ?sslmode=no-verify instead.
AWS RDS
When connecting to AWS RDS, no additional TLS configuration is required. The AWS CA bundle is included by default, so you only need to add ?sslmode=require to the connection string.
Custom TLS/SSL Certificates
To use a custom CA certificate or client certificates, configure the following environment variables:
POSTGRES_TLS_CAPOSTGRES_TLS_CERTPOSTGRES_TLS_KEY
See the environment variables documentation for details.