Migrated the Website service tooling to use PostgreSQL instead.

This commit is contained in:
2026-08-05 01:26:54 +02:00
parent 9b4a780ea3
commit 6156cf5b0d
4 changed files with 33 additions and 35 deletions
+7 -7
View File
@@ -37,25 +37,25 @@ LOG_LEVEL=debug
# --- Persistence ----------------------------------------------------------------
# Persistence driver: inMemory (default, no infrastructure) or mysql.
# Persistence driver: inMemory (default, no infrastructure) or postgres.
DATABASE_DRIVER=inMemory
# MySQL/MariaDB connection, used when DATABASE_DRIVER=mysql.
# `mariadb` is the local database's Compose service name; use 127.0.0.1 when
# 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=3306
DATABASE_PORT=5432
# Name of the database to connect to.
DATABASE_NAME=loud-ams
DATABASE_NAME=loud
# Username of the database to connect as.
DATABASE_USERNAME=loud-ams
DATABASE_USERNAME=loud
# Provide the real password via the environment or a secret — never commit it.
DATABASE_PASSWORD=loud-ams
DATABASE_PASSWORD=loud
# TLS posture when connecting: off | prefer | require (use `require` in production).
DATABASE_TLS=off