Configuration
All configuration is done via environment variables.
| Variable | Description |
|---|---|
JOURNEX_USER | Username for authentication |
JOURNEX_PASSWORD | Password (hashed at startup) |
JOURNEX_PASSWORD_HASH | Pre-hashed password |
JOURNEX_NO_AUTH | Disable authentication |
JOURNEX_PORT | Server port (default: 8080) |
JOURNEX_BASE_PATH | Public URL path prefix |
JOURNEX_TRUST_PROXY | Rate limit by X-Forwarded-For |
JOURNEX_UNSAFE_REGEX | Allow lookaround/backreferences |
JOURNEX_ALLOWED_ORIGINS | Extra WebSocket origins |
Either JOURNEX_USER with JOURNEX_PASSWORD or JOURNEX_PASSWORD_HASH, or
JOURNEX_NO_AUTH, must be set.