feat: add docker configuration
This commit is contained in:
parent
821712f43b
commit
cf2f624ae4
21 changed files with 232 additions and 13 deletions
48
docker/config.example.ini
Normal file
48
docker/config.example.ini
Normal file
|
@ -0,0 +1,48 @@
|
|||
;; This configuration file is specifically for Docker installations.
|
||||
;; Host, Port, and Database settings are overridden in the compose configuration.
|
||||
|
||||
; 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
|
||||
; 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.
|
||||
MetricsPort = 5001
|
||||
|
||||
[Storage]
|
||||
Endpoint = <s3EndpointHere>
|
||||
AccessKey = <s3AccessKey>
|
||||
SecretKey = <s3SecretKey>
|
||||
Bucket = pronounscc
|
||||
|
||||
[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]
|
||||
Host = localhost
|
||||
Port = 1025
|
||||
Username = smtp-username
|
||||
Password = smtp-password
|
||||
|
||||
[DiscordAuth]
|
||||
ClientId = <clientIdHere>
|
||||
ClientSecret = <clientSecretHere>
|
Loading…
Add table
Add a link
Reference in a new issue