Skip to Content
DocumentationReferenceEnvironment variables

Environment variables

Runtipi generates its runtime .env file on startup from your settings and the current installation state. In a default install that file is mounted into the container as /data/.env, so most changes should be made through custom settings or custom environment variables instead of editing it directly.

Core environment variables

VariableDescription
INTERNAL_IPInternal IP address used for local links and non-exposed app access.
ARCHITECTUREDetected CPU architecture used to filter compatible apps (amd64 or arm64).
TIPI_VERSIONCurrent Runtipi version.
ROOT_FOLDER_HOSTHost path used to resolve Runtipi’s data directories.
DOMAINPublic domain used for the dashboard and exposed apps.
LOCAL_DOMAINLocal domain used for internal HTTPS access.
NGINX_PORTHTTP port used by Traefik and the dashboard. Defaults to 80.
NGINX_PORT_SSLHTTPS port used by Traefik and the dashboard. Defaults to 443.
POSTGRES_HOSTPostgreSQL host.
POSTGRES_PORTPostgreSQL port. Defaults to 5432.
POSTGRES_USERNAMEPostgreSQL username.
POSTGRES_PASSWORDPostgreSQL password.
POSTGRES_DBNAMEPostgreSQL database name.
RABBITMQ_HOSTRabbitMQ host used by the internal job queue.
RABBITMQ_USERNAMERabbitMQ username.
RABBITMQ_PASSWORDRabbitMQ password.
APPS_REPO_URLDefault app store repository URL.
APPS_REPO_IDLegacy hash derived from the default app store URL. Kept for compatibility.
RUNTIPI_APP_DATA_PATHHost path backing the app-data directory.
RUNTIPI_FORWARD_AUTH_URLForward-auth endpoint Traefik uses to protect apps.
TZSystem timezone passed through to apps and services.
DNS_IPDNS server IP stored in settings for compatibility.
JWT_SECRETSecret used for CLI JWT authentication.
DEMO_MODEEnables demo mode restrictions.
GUEST_DASHBOARDAllows guest access to the dashboard.
ALLOW_ERROR_MONITORINGEnables anonymous crash reporting to Sentry after consent.
ALLOW_AUTO_THEMESEnables seasonal automatic theme changes.
PERSIST_TRAEFIK_CONFIGPrevents Runtipi from overwriting Traefik config on restart.
QUEUE_TIMEOUT_IN_MINUTESTimeout for background jobs and app lifecycle events.
ADVANCED_SETTINGSEnables advanced settings in the dashboard.
MAX_BACKUPSMaximum number of app backups to keep. 0 disables retention cleanup.
LOG_LEVELBackend log level.
THEME_BASEDashboard base theme.
THEME_COLORDashboard accent color.
EXPERIMENTAL_INSECURE_COOKIEDisables secure cookie handling for debugging only.

App-specific environment variables

Each installed app also receives a generated app.env file with app-specific values.

VariableDescription
APP_URNFull app identifier in <app-id>:<store-slug> format.
APP_IDDocker-safe app identifier in <app-id>-<store-slug> format.
APP_NAMEApp name portion of the URN.
APP_STORE_IDApp store slug.
APP_PORTHost port assigned to the app when a port is exposed.
APP_DATA_DIRHost path to the app’s data directory.
APP_IMAGE_TAGApp image tag from config.json.
APP_EXPOSEDWhether the app is publicly exposed.
APP_DOMAINPublic domain, local domain, or ip:port used to reach the app.
APP_HOSTSame as APP_DOMAIN, but without the port for local-only access.
APP_PROTOCOLProtocol used to access the app (http or https).
APP_LOCAL_DOMAINLocal HTTPS domain when local exposure is enabled.
APP_EXPOSED_DOMAINPublic domain when public exposure is enabled.
Last updated on