2024-05-27 15:53:54 +02:00
|
|
|
; The host the server will listen on
|
|
|
|
Host = localhost
|
|
|
|
; The port the server will listen on
|
|
|
|
Port = 5000
|
|
|
|
; The base *external* URL
|
|
|
|
BaseUrl = https://pronouns.localhost
|
2024-07-12 17:12:24 +02:00
|
|
|
; The base URL for media, without a trailing slash. This must be publicly accessible.
|
|
|
|
MediaBaseUrl = https://cdn-staging.pronouns.localhost
|
2024-05-27 15:53:54 +02:00
|
|
|
|
2024-07-08 19:03:04 +02:00
|
|
|
[Logging]
|
2024-05-27 15:53:54 +02:00
|
|
|
; The level to log things at. Valid settings: Verbose, Debug, Information, Warning, Error, Fatal
|
2024-07-08 19:03:04 +02:00
|
|
|
LogEventLevel = Debug
|
|
|
|
; The URL to the Seq instance (optional)
|
2024-05-27 15:53:54 +02:00
|
|
|
SeqLogUrl = http://localhost:5341
|
2024-07-08 19:03:04 +02:00
|
|
|
; The Sentry DSN to log to (optional)
|
|
|
|
SentryUrl = https://examplePublicKey@o0.ingest.sentry.io/0
|
|
|
|
; Whether to trace performance with Sentry (optional)
|
|
|
|
SentryTracing = true
|
|
|
|
; Percentage of performance traces to send to Sentry (optional). Defaults to 0.0 (no traces at all)
|
|
|
|
SentryTracesSampleRate = 1.0
|
2024-07-13 03:09:00 +02:00
|
|
|
; Whether to log SQL queries. Note that this is very verbose. Defaults to false.
|
|
|
|
LogQueries = false
|
2024-09-03 17:00:14 +02:00
|
|
|
; Whether metrics are enabled. If this is set to true, Foxnouns.NET will rely on Prometheus scraping metrics to update stats.
|
|
|
|
; If set to false, a background service will be used instead. Does not actually disable the /metrics endpoint.
|
|
|
|
; Defaults to false.
|
|
|
|
EnableMetrics = true
|
|
|
|
; The port the /metrics endpoint will listen on. Defaults to 5001.
|
2024-07-13 17:23:52 +02:00
|
|
|
MetricsPort = 5001
|
2024-05-27 15:53:54 +02:00
|
|
|
|
|
|
|
[Database]
|
|
|
|
; The database URL in ADO.NET format.
|
|
|
|
Url = "Host=localhost;Database=foxnouns_net;Username=pronouns;Password=pronouns"
|
|
|
|
; The timeout for opening new connections. Defaults to 5.
|
|
|
|
Timeout = 5
|
|
|
|
; The maximum number of open connections. Defaults to 50.
|
2024-06-04 17:38:59 +02:00
|
|
|
MaxPoolSize = 50
|
2024-06-12 03:47:20 +02:00
|
|
|
|
2024-07-08 19:03:04 +02:00
|
|
|
[Storage]
|
|
|
|
Endpoint = <s3EndpointHere>
|
|
|
|
AccessKey = <s3AccessKey>
|
|
|
|
SecretKey = <s3SecretKey>
|
|
|
|
Bucket = pronounscc
|
|
|
|
|
2024-09-09 14:37:59 +02:00
|
|
|
[EmailAuth]
|
|
|
|
; The address that emails will be sent from. If not set, email auth is disabled.
|
|
|
|
From = noreply@accounts.pronouns.cc
|
|
|
|
|
|
|
|
; The Coravel mail driver configuration. Keys should be self-explanatory.
|
|
|
|
[Coravel.Mail]
|
|
|
|
Driver = SMTP
|
|
|
|
Host = localhost
|
|
|
|
Port = 1025
|
|
|
|
Username = smtp-username
|
|
|
|
Password = smtp-password
|
|
|
|
|
2024-06-12 03:47:20 +02:00
|
|
|
[DiscordAuth]
|
|
|
|
ClientId = <clientIdHere>
|
|
|
|
ClientSecret = <clientSecretHere>
|