Documented the database connection pooling in the Website service.

This commit is contained in:
2026-08-11 01:35:43 +02:00
parent 19fa9d8d8c
commit 8303598244
3 changed files with 13 additions and 4 deletions
+6 -1
View File
@@ -49,10 +49,15 @@ DATABASE_NAME=loud
# Provide the real password via the environment or a secret — never commit it.
DATABASE_PASSWORD=loud
# Maximum pooled connections per event loop, one loop per core — an 8-core host
# can open 8 times this, and every replica that many again.
DATABASE_POOL_MAX_PER_EVENT_LOOP=4
# Port of the database to connect to.
DATABASE_PORT=5432
# TLS posture when connecting: off | prefer | require (use `require` in production).
# TLS posture when connecting: off | prefer | require. Plaintext is the usual
# choice over a private container network; use `require` across one you share.
DATABASE_TLS=off
# Username of the database to connect as.