Hardened the database configuration in the Website service target.

This commit is contained in:
2026-08-10 23:42:22 +02:00
parent a88569ad4c
commit 19fa9d8d8c
4 changed files with 107 additions and 84 deletions
+6 -8
View File
@@ -41,21 +41,19 @@ LOG_LEVEL=debug
DATABASE_DRIVER=inMemory
# PostgreSQL connection, used when DATABASE_DRIVER=postgres.
# `postgres` is the local database's Compose service name; use 127.0.0.1 when
# running the app directly with `swift run`.
DATABASE_HOST=localhost
# Port of the database to connect to.
DATABASE_PORT=5432
# Name of the database to connect to.
DATABASE_NAME=loud
# Username of the database to connect as.
DATABASE_USERNAME=loud
# Provide the real password via the environment or a secret — never commit it.
DATABASE_PASSWORD=loud
# Port of the database to connect to.
DATABASE_PORT=5432
# TLS posture when connecting: off | prefer | require (use `require` in production).
DATABASE_TLS=off
# Username of the database to connect as.
DATABASE_USERNAME=loud