48 lines
1.6 KiB
INI
48 lines
1.6 KiB
INI
; 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
|
|
; The base URL for media, without a trailing slash. This must be publicly accessible.
|
|
MediaBaseUrl = https://cdn-staging.pronouns.localhost
|
|
|
|
[Logging]
|
|
; The level to log things at. Valid settings: Verbose, Debug, Information, Warning, Error, Fatal
|
|
LogEventLevel = Debug
|
|
; The URL to the Seq instance (optional)
|
|
SeqLogUrl = http://localhost:5341
|
|
; 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
|
|
; Whether to log SQL queries. Note that this is very verbose. Defaults to false.
|
|
LogQueries = false
|
|
; The port the /metrics endpoint will listen on. If not set, metrics will be disabled.
|
|
MetricsPort = 5001
|
|
|
|
[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.
|
|
MaxPoolSize = 50
|
|
|
|
[Jobs]
|
|
; The connection string for the Redis server.
|
|
Redis = localhost:6379
|
|
; The number of workers to use for background jobs. Defaults to 5.
|
|
Workers = 5
|
|
|
|
[Storage]
|
|
Endpoint = <s3EndpointHere>
|
|
AccessKey = <s3AccessKey>
|
|
SecretKey = <s3SecretKey>
|
|
Bucket = pronounscc
|
|
|
|
[DiscordAuth]
|
|
ClientId = <clientIdHere>
|
|
ClientSecret = <clientSecretHere>
|