Skip to content

Configuration

Leandro Battochio edited this page Nov 8, 2026 · 2 revisions

Settings come from appsettings.json and can be overridden with environment variables, where __ separates the sections (Data__Directory sets Data:Directory).

Variable Default Purpose
ConnectionStrings__PostgresConnection empty Optional. Setting it means "use PostgreSQL": the application data goes to the PostgreSQL database in this connection string, which you create yourself (see Using PostgreSQL). When it is empty or not set, the app uses SQLite at <Data__Directory>/trackarr.db.
ConnectionStrings__HangfireConnection Data Source=hangfire.db SQLite connection string of the Hangfire job store.
Hangfire__Directory not set In Production, the folder that holds the Hangfire SQLite file. The compose files set it to /data.
Data__Directory /data Data folder. Plugins live in <Data__Directory>/plugins, in official/, overrides/ and custom/ plus state.json. A relative path is resolved against the app's content root.
PluginSource__Url https://raw.githubusercontent.com/leandrobattochio/trackarr-plugins/main/ Where the startup download reads index.json and the plugin files. Use an https:// URL for a fork or mirror, or a local folder laid out like trackarr-plugins as file:///path/to/trackarr-plugins/ to work offline or try plugin changes. The trailing slash is optional; http:// is rejected.
PluginSource__SnapshotDirectory plugin-snapshot next to the app Plugin snapshot that seeds an empty official/ folder. The Docker image fills it at build time; there is normally no reason to change it.
Proxies__TestUrl https://github.com/ Address the Test button of a proxy requests through it (see Proxies).
AppReleases__Url https://api.github.com/repos/leandrobattochio/trackarr/releases?per_page=100 Where What's New reads the trackarr release notes, once per start and unauthenticated.
APP_TIMEZONE, TZ America/Sao_Paulo Timezone of the container. APP_TIMEZONE is also a Docker build argument that sets the UI's timezone.
ASPNETCORE_ENVIRONMENT Production in the compose files ASP.NET Core environment.

docker/docker-compose.postgres.yml also reads POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_PORT and POSTGRES_CONNECTION_STRING to configure its PostgreSQL container.

Clone this wiki locally