Environment variables
These environment variables can be set in your docker-compose.yaml
file.
Name | Type | Default | Description |
---|---|---|---|
MUSIC_DIR | string | undefined | Absolute path to your music. |
PHOTOS_DIR | string | undefined | Absolute path to your photos. |
MOVIES_DIR | string | undefined | Absolute path to your movies. |
TV_DIR | string | undefined | Absolute path to your TV shows. |
HTTP_LOG_LEVEL | boolean | 0 | Set the log level¹ for HTTP requests. |
EVENTS_LOG_LEVEL | boolean | 0 | Set the log level¹ for the internal event system. |
INDEXING_LOG_LEVEL | boolean | 10 | Set the log level¹ for the indexing system. |
JOBS_LOG_LEVEL | boolean | 10 | Set the log level¹ for the jobs system. |
MAX_CONCURRNET_JOBS | boolean | 3 | Max number of jobs that are allowed to run at the same time. |
CARDINAL_POSTGRES | boolean | false | Use PostgreSQL instead of the default SQLite. |
POSTGRES_HOST | string | cardinal-postgres | PostgreSQL host name. |
POSTGRES_PORT | number | 5432 | PostgreSQL port number. |
POSTGRES_USER | string | cardinal | The PostgreSQL user. |
POSTGRES_PASSWORD | string | cardinal | The PostgreSQL user password. |
SIGNING_SECRET | string | N/A | Secret used to sign authentication tokens. Changing this will revoke all sessions. |
INDEXING_SCAN_TIMEOUT | number | 120 | Number of seconds the scanner will wait for the file system to respond. |
HEIF_CONVERSION_TIMEOUT | number | 60 | Number of seconds before we assume that the conversion failed. |
¹ Available log levels are:
20
- Debug10
- Info0
- Silent
Higher numbers include logs from lower numbers. Setting 0
does not disable error logging.