1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/autobrr_ynh.git synced 2024-09-03 18:15:56 +02:00
autobrr_ynh/conf/config.toml
2023-04-15 22:17:26 +02:00

73 lines
1.1 KiB
TOML

# 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
#
#logPath = "log/autobrr.log"
# 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__"