Skip to content

Environment Variables Reference

Configuration reference for Txlog Server.

General

VariableDefaultDescription
INSTANCE-Name of the environment (e.g., "Production"). Displayed in UI.
LOG_LEVELINFOLogging verbosity (DEBUG, INFO, WARN, ERROR).
GIN_MODEreleaseGin framework mode (debug, release).
PORT8080HTTP port to listen on.

Database

VariableRequiredDescription
PGSQL_HOSTYesDatabase hostname or IP.
PGSQL_PORTYesDatabase port (default 5432).
PGSQL_USERYesDatabase username.
PGSQL_PASSWORDYesDatabase password.
PGSQL_DBYesDatabase name.
PGSQL_SSLMODEYesSSL mode (disable, require, verify-full).

Authentication (OIDC)

VariableRequiredDescription
OIDC_ISSUER_URLNoOIDC Provider URL (e.g., https://accounts.google.com).
OIDC_CLIENT_IDNoClient ID from provider.
OIDC_CLIENT_SECRETNoClient Secret from provider.
OIDC_REDIRECT_URLNoCallback URL (must match provider config).
OIDC_SKIP_TLS_VERIFYNoSet true to skip TLS checks (dev only).

Authentication (LDAP)

VariableRequiredDescription
LDAP_HOSTNoLDAP server hostname.
LDAP_PORTNoLDAP port (389 or 636).
LDAP_USE_TLSNotrue for LDAPS.
LDAP_BIND_DNNoService account DN.
LDAP_BIND_PASSWORDNoService account password.
LDAP_BASE_DNNoBase DN for user search.
LDAP_USER_FILTERNoFilter for users (e.g., (uid=%s)).
LDAP_ADMIN_GROUPNoDN of admin group.
LDAP_VIEWER_GROUPNoDN of viewer group.

Scheduler & Retention

VariableDefaultDescription
CRON_RETENTION_DAYS7Days to keep execution history.
CRON_RETENTION_EXPRESSION0 2 * * *Cron schedule for cleanup job.
CRON_STATS_EXPRESSION0 * * * *Cron schedule for statistics calculation.