2023-04-15 22:17:26 +02:00
|
|
|
# config.toml
|
|
|
|
|
|
|
|
# Hostname / IP
|
|
|
|
#
|
|
|
|
# Default: "localhost"
|
|
|
|
#
|
|
|
|
host = "127.0.0.1"
|
|
|
|
|
|
|
|
# Port
|
|
|
|
#
|
|
|
|
# Default: 7474
|
|
|
|
#
|
|
|
|
port = __PORT__
|
|
|
|
|
|
|
|
# Base url
|
|
|
|
# Set custom baseUrl eg /autobrr/ to serve in subdirectory.
|
|
|
|
# Not needed for subdomain, or by accessing with the :port directly.
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
|
|
|
baseUrl = "__PATH__/"
|
|
|
|
|
|
|
|
# autobrr logs file
|
|
|
|
# If not defined, logs to stdout
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
2023-04-15 22:46:37 +02:00
|
|
|
logPath = "/var/log/__APP__/__APP__.log"
|
2023-04-15 22:17:26 +02:00
|
|
|
|
|
|
|
# Log level
|
|
|
|
#
|
|
|
|
# Default: "DEBUG"
|
|
|
|
#
|
|
|
|
# Options: "ERROR", "DEBUG", "INFO", "WARN", "TRACE"
|
|
|
|
#
|
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
# Log Max Size
|
|
|
|
#
|
|
|
|
# Default: 50
|
|
|
|
#
|
|
|
|
# Max log size in megabytes
|
|
|
|
#
|
|
|
|
#logMaxSize = 50
|
|
|
|
|
|
|
|
# Log Max Backups
|
|
|
|
#
|
|
|
|
# Default: 3
|
|
|
|
#
|
|
|
|
# Max amount of old log files
|
|
|
|
#
|
|
|
|
#logMaxBackups = 3
|
|
|
|
|
|
|
|
# Check for updates
|
|
|
|
#
|
|
|
|
checkForUpdates = true
|
|
|
|
|
|
|
|
# Session secret
|
|
|
|
# Can be generated by running: head /dev/urandom | tr -dc A-Za-z0-9 | head -c16
|
|
|
|
sessionSecret = "__KEY__"
|
|
|
|
|
|
|
|
# Custom definitions
|
|
|
|
#
|
|
|
|
#customDefinitions = "/home/$YOUR_USER/.config/autobrr/definitions"
|
|
|
|
|
|
|
|
# Database config
|
|
|
|
#
|
|
|
|
databaseType = "postgres"
|
|
|
|
postgresHost = "localhost"
|
|
|
|
postgresPort = 5432
|
|
|
|
postgresDatabase = "__DB_NAME__"
|
|
|
|
postgresUser = "__DB_USER__"
|
|
|
|
postgresPass = "__DB_PWD__"
|