Catalogger.NET/Catalogger.Backend/config.example.ini

36 lines
1.6 KiB
INI
Raw Normal View History

2024-08-13 13:08:50 +02:00
[Logging]
# The minimum level that will be logged. Possible options are: Debug, Information, Warning, Error, Fatal
2024-08-13 13:08:50 +02:00
LogEventLevel = Debug
# Whether to log SQL queries. This is extremely verbose.
2024-08-13 13:08:50 +02:00
LogQueries = false
# URL for a Seq instance to log to. Generally not needed if you're self-hosting.
SeqLogUrl = http://localhost:5341
# Whether to enable Prometheus metrics. If disabled, Catalogger will update metrics manually every so often.
EnableMetrics = false
2024-08-13 13:08:50 +02:00
[Database]
Url = Host=localhost;Database=postgres;Username=postgres;Password=postgres
# URL for a Redis-compatible database. Not required; Catalogger will fall back to in-memory caching if it's not set.
2024-08-13 13:08:50 +02:00
Redis = localhost:6379
# The key used to encrypt message data. This should be base64;
# you can use `openssl rand -base64 32` on the command line to generate a key.
EncryptionKey = changeMe!FNmZbotJnAAJ7grWHDluCoKIwj6NcUagKE=
2024-08-13 13:08:50 +02:00
[Discord]
ApplicationId = <applicationIdHere>
Token = <discordTokenHere>
# If you only want to sync commands with a single server, uncomment the line below and put its ID.
# CommandsGuildId = <testGuildIdHere>
# If disabled, commands will not be synced with Discord. This generally shouldn't be turned off.
SyncCommands = true
# The channel where guild join/leave logs are sent. The bot needs to have permission to manage webhooks in this channel.
GuildLogId = 803961980758261800
# This is not necessary when not using the dashboard.
# ClientSecret = <secret>
# Dashboard related settings. You shouldn't need to change these.
[Web]
Host = localhost
Port = 5005
BaseUrl = https://catalogger.localhost