Skip to main content

Environment variables

These environment variables can be set in your docker-compose.yaml file.

NameTypeDefaultDescription
MUSIC_DIRstringundefinedAbsolute path to your music.
PHOTOS_DIRstringundefinedAbsolute path to your photos.
MOVIES_DIRstringundefinedAbsolute path to your movies.
TV_DIRstringundefinedAbsolute path to your TV shows.
HTTP_LOG_LEVELboolean0Set the log level¹ for HTTP requests.
EVENTS_LOG_LEVELboolean0Set the log level¹ for the internal event system.
INDEXING_LOG_LEVELboolean10Set the log level¹ for the indexing system.
JOBS_LOG_LEVELboolean10Set the log level¹ for the jobs system.
CARDINAL_POSTGRESbooleanfalseUse PostgreSQL instead of the default SQLite.
POSTGRES_HOSTstringcardinal-postgresPostgreSQL host name.
POSTGRES_PORTnumber5432PostgreSQL port number.
POSTGRES_USERstringcardinalThe PostgreSQL user.
POSTGRES_PASSWORDstringcardinalThe PostgreSQL user password.
SIGNING_SECRETstringN/ASecret used to sign authentication tokens. Changing this will revoke all sessions.
INDEXING_SCAN_TIMEOUTnumber120Number of seconds the scanner will wait for the file system to respond.
HEIF_CONVERSION_TIMEOUTnumber60Number of seconds before we assume that the conversion failed.

¹ Available log levels are:

  • 0 - Silent
  • 10 - Info
  • 20 - Debug

Higher numbers include logs from lower numbers. Setting 0 does not disable error logging.