Configuration

All configuration is done via environment variables.

VariableDescription
JOURNEX_USERUsername for authentication
JOURNEX_PASSWORDPassword (hashed at startup)
JOURNEX_PASSWORD_HASHPre-hashed password
JOURNEX_NO_AUTHDisable authentication
JOURNEX_PORTServer port (default: 8080)
JOURNEX_BASE_PATHPublic URL path prefix
JOURNEX_TRUST_PROXYRate limit by X-Forwarded-For
JOURNEX_UNSAFE_REGEXAllow lookaround/backreferences
JOURNEX_ALLOWED_ORIGINSExtra WebSocket origins

Either JOURNEX_USER with JOURNEX_PASSWORD or JOURNEX_PASSWORD_HASH, or JOURNEX_NO_AUTH, must be set.