Configuration
Decisions
Section titled “Decisions”- [E] Settings come from
.envthrough environment variables; important values can come from secret files (NAME_FILE, Docker secrets). - [E] Both
NAMEandNAME_FILEset: the server does not start. - [E] SMTP settings are environment variables, the password a secret file.
- [E] Universe values are not environment variables; the admin sets them in the game (see Admin).
Rules (as in muffelblog)
Section titled “Rules (as in muffelblog)”- [V] An invalid value stops the start, every error is named at once with the variable and its range; nothing falls back to the default silently. An empty variable counts as unset (Compose passes unset ones like that).
- [V] Names follow
NOVA_<NAME>; SMTP and the sender keep the common namesSMTP_*andMAIL_FROM(as in muffelblog). - The source of truth is
src/server/config.ts; the table isdocs/configuration.md, a test keeps code, table,.env.exampleandcompose.yamlin line.
Variables
Section titled “Variables”See docs/configuration.md. Numeric values with their defaults: session days
30, invitation days 7, rate limit 20 attempts per 10 minutes (the values of
version 1), port 8080.
NOVA_PASSWORD_MIN_LENGTH defaults to 15 characters and accepts 8 to 200.
It applies at registration, password change and password reset. The server
reads it at startup. Existing passwords remain usable.