Merge branch 'setup' into template
This commit is contained in:
+14
-11
@@ -37,25 +37,28 @@ 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
|
||||
# running the app directly with `swift run`.
|
||||
# PostgreSQL connection, used when DATABASE_DRIVER=postgres.
|
||||
DATABASE_HOST=localhost
|
||||
|
||||
# Port of the database to connect to.
|
||||
DATABASE_PORT=3306
|
||||
|
||||
# Name of the database to connect to.
|
||||
DATABASE_NAME=site
|
||||
|
||||
# Username of the database to connect as.
|
||||
DATABASE_USERNAME=site
|
||||
|
||||
# Provide the real password via the environment or a secret — never commit it.
|
||||
DATABASE_PASSWORD=site
|
||||
|
||||
# TLS posture when connecting: off | prefer | require (use `require` in production).
|
||||
# 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. 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.
|
||||
DATABASE_USERNAME=site
|
||||
Reference in New Issue
Block a user