Initial commit.

This commit is contained in:
2026-08-19 23:19:08 +02:00
commit 22e737d9c2
153 changed files with 11680 additions and 0 deletions
+67
View File
@@ -0,0 +1,67 @@
# Local `.env` file used solely for Development purposes.
# --- 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=ccn
# 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 deployment image
IMAGE_PLATFORM=linux/amd64
# Platform of the *local* build only (docker-compose.override.yml)
BUILD_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=CCNWebsite
# Log verbosity: trace | debug | info | notice | warning | error | critical
LOG_LEVEL=debug
# --- Persistence ----------------------------------------------------------------
# Persistence driver: inMemory (default, no infrastructure) or postgres.
DATABASE_DRIVER=inMemory
# PostgreSQL connection, used when DATABASE_DRIVER=postgres.
DATABASE_HOST=localhost
# Name of the database to connect to.
DATABASE_NAME=ccn
# Provide the real password via the environment or a secret — never commit it.
DATABASE_PASSWORD=ccn
# 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=ccn