Skip to content
Environment Variables

Environment Variables

Variables without a default are required; the container fails to start if they are unset.

Server

Authentication

VariableDefaultDescription
KEYCLOAK_URLrequiredFull Keycloak realm URL used for server-side token verification (e.g. https://auth.example.org/realms/myrealm)

Database

VariableDefaultDescription
DB_USERNAMErequiredPostgreSQL user
DB_PASSWORDrequiredPostgreSQL password
DB_HOSTrequiredPostgreSQL host
DB_PORTrequiredPostgreSQL port
DB_DATABASErequiredPostgreSQL database name

Application

VariableDefaultDescription
FRANKLYN_PIN_RANGE_MIN1337Lower bound for generated session PINs
FRANKLYN_PIN_RANGE_MAX4200Upper bound for generated session PINs
FRANKLYN_STORAGE_DIR/var/lib/franklynDirectory for all persistent data

Proctor

VariableDefaultDescription
KEYCLOAK_HOSTrequiredKeycloak base URL served to the browser — no realm path (e.g. https://auth.example.org). Host must match KEYCLOAK_URL.
KEYCLOAK_REALMrequiredKeycloak realm
KEYCLOAK_CLIENT_IDrequiredKeycloak client ID for the Proctor SPA
FRANKLYN_TELEMETRYfalseWhen true, Proctor sends error reports to the Franklyn team. This helps us find and fix bugs faster. No personally identifiable data beyond your Keycloak user ID and role is sent.
Last updated on • J.H.F.