Iceshrimp.NET/Iceshrimp.Backend/configuration.ini

78 lines
No EOL
2.2 KiB
INI

[Instance]
ListenPort = 3000
ListenHost = localhost
;; Caution: changing these settings after initial setup *will* break federation
WebDomain = shrimp.example.org
AccountDomain = example.org
;; End of problematic settings block
;; Maximum number of characters allowed for local notes (must not be larger than the global limit, which is 100000 characters)
CharacterLimit = 8192
[Security]
;; Whether to require incoming ActivityPub requests carry a valid HTTP or LD signature
;; It is highly recommend you keep this enabled if you intend to use block- or allowlist federation
AuthorizedFetch = true
;; The level of detail in API error responses
;; Options: [None, Basic, Full]
ExceptionVerbosity = Basic
;; Whether to allow instance registrations
;; Options: [Closed, Invite, Open]
Registrations = Closed
;; Whether to use a blocklist or allowlist for controlling who can federate with this instance
;; Options: [BlockList, AllowList]
FederationMode = BlockList
;; Whether to expose the list of blocked/allowed instances publicly, for registered users only, or not at all
;; Options = [Public, Registered, Hide]
ExposeFederationList = Registered
;; Whether to expose the reason for instance blocks publicly, for registered users only, or not at all
;; Options = [Public, Registered, Hide]
ExposeBlockReasons = Registered
[Database]
Host = localhost
Port = 5432
Database = iceshrimp
Username = iceshrimp
Password = iceshrimp
[Redis]
Host = localhost
Port = 6379
;;Prefix =
;;Username =
;;Password =
;;Database = 0
[Storage]
;; Where to store media attachments
;; Options: [Local, ObjectStorage]
Mode = Local
;; Amount of time remote media is retained in the cache (0 = disabled)
MediaRetention = 30d
[Storage:Local]
;; Path where media is stored at. Must be writable for the service user.
Path = /path/to/media/location
[Storage:ObjectStorage]
;;Endpoint = endpoint.example.org
;;Region = us-east-1
;;KeyId = <yourAccessKey>
;;SecretKey = <yourSecretKey>
;;Bucket = <yourBucketName>
;;Prefix =
;;AccessUrl = https://endpoint.example.org/<yourBucketName>
[Logging:LogLevel]
Default = Information
Microsoft.AspNetCore = Warning
Microsoft.EntityFrameworkCore = Warning
Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager = Critical