2026-07-19 02:28:05 +00:00
|
|
|
# Local `.env` file used solely for Development purposes.
|
2026-06-27 02:26:33 +00:00
|
|
|
|
|
|
|
|
# --- Image / deployment -------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# Host name of the container running the Website service.
|
|
|
|
|
HOST_CONTAINER=containers.rock-n-code.com
|
|
|
|
|
|
|
|
|
|
# Owner of the container running the Website service.
|
|
|
|
|
HOST_OWNER=loud
|
|
|
|
|
|
|
|
|
|
# Password for authenticating to the container registry.
|
|
|
|
|
HOST_PASSWORD=
|
|
|
|
|
|
|
|
|
|
# Host port mapped to the container's port 8080.
|
|
|
|
|
HOST_PORT=8080
|
|
|
|
|
|
|
|
|
|
# User name for authenticating to the container registry.
|
|
|
|
|
HOST_USER=
|
|
|
|
|
|
|
|
|
|
# Name of the Docker image to pull/run.
|
|
|
|
|
IMAGE_NAME=website
|
|
|
|
|
|
|
|
|
|
# Platform of the Docker image to pull/run.
|
|
|
|
|
IMAGE_PLATFORM=linux/arm64
|
|
|
|
|
|
|
|
|
|
# Tag of the image to pull/run.
|
|
|
|
|
# Use a semver in production; avoid `latest` so rollbacks are unambiguous.
|
|
|
|
|
IMAGE_TAG=latest
|
|
|
|
|
|
|
|
|
|
# --- Application config -------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# Server name reported by the HTTP service.
|
|
|
|
|
HTTP_SERVER_NAME=LoudWebsite
|
|
|
|
|
|
|
|
|
|
# Log verbosity: trace | debug | info | notice | warning | error | critical
|
2026-07-19 02:28:05 +00:00
|
|
|
LOG_LEVEL=debug
|
2026-07-11 09:15:58 +00:00
|
|
|
|
|
|
|
|
# --- Persistence ----------------------------------------------------------------
|
|
|
|
|
|
2026-08-04 16:19:04 +02:00
|
|
|
# Persistence driver: inMemory (default, no infrastructure) or postgres.
|
2026-07-11 09:15:58 +00:00
|
|
|
DATABASE_DRIVER=inMemory
|
|
|
|
|
|
2026-08-04 16:19:04 +02:00
|
|
|
# PostgreSQL connection, used when DATABASE_DRIVER=postgres.
|
2026-07-11 09:15:58 +00:00
|
|
|
DATABASE_HOST=localhost
|
|
|
|
|
|
|
|
|
|
# Name of the database to connect to.
|
2026-08-04 16:19:04 +02:00
|
|
|
DATABASE_NAME=loud
|
2026-07-11 09:15:58 +00:00
|
|
|
|
|
|
|
|
# Provide the real password via the environment or a secret — never commit it.
|
2026-08-04 16:19:04 +02:00
|
|
|
DATABASE_PASSWORD=loud
|
2026-07-11 09:15:58 +00:00
|
|
|
|
2026-08-11 01:35:17 +02:00
|
|
|
# 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
|
|
|
|
|
|
2026-08-10 23:40:15 +02:00
|
|
|
# Port of the database to connect to.
|
|
|
|
|
DATABASE_PORT=5432
|
|
|
|
|
|
2026-08-11 01:35:17 +02:00
|
|
|
# TLS posture when connecting: off | prefer | require. Plaintext is the usual
|
|
|
|
|
# choice over a private container network; use `require` across one you share.
|
2026-07-11 09:15:58 +00:00
|
|
|
DATABASE_TLS=off
|
2026-08-10 23:40:15 +02:00
|
|
|
|
|
|
|
|
# Username of the database to connect as.
|
|
|
|
|
DATABASE_USERNAME=loud
|