mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-28 03:00:29 -04:00
fix(db): add more options for SSL connection, add envvar for base64 db cert (#1533)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Database (Required)
|
||||
DATABASE_URL="postgresql://postgres:password@localhost:5432/postgres"
|
||||
# DATABASE_SSL=TRUE # Optional: Enable SSL for database connections (defaults to FALSE)
|
||||
# DATABASE_SSL=disable # Optional: SSL mode (disable, prefer, require, verify-ca, verify-full)
|
||||
# DATABASE_SSL_CA= # Optional: Base64-encoded CA certificate (required for verify-ca/verify-full)
|
||||
# To generate: cat your-ca.crt | base64 | tr -d '\n'
|
||||
|
||||
# PostgreSQL Port (Optional) - defaults to 5432 if not specified
|
||||
# POSTGRES_PORT=5432
|
||||
|
||||
Reference in New Issue
Block a user