2026-10-01 13:19:16 +02:00
|
|
|
{
|
|
|
|
|
"MongoSettings": {
|
|
|
|
|
"Database": "PrivaPub",
|
|
|
|
|
"LogsDatabase": "logs",
|
2026-10-07 11:21:13 +02:00
|
|
|
"ConnectionString": "mongodb://mongo:27017/?directConnection=true"
|
2026-10-01 13:19:16 +02:00
|
|
|
},
|
|
|
|
|
"AppConfiguration": {
|
|
|
|
|
"Version": "0.0.0",
|
|
|
|
|
"MaxAllowedUploadFiles": 3,
|
|
|
|
|
"MaxAllowedFileSize": 2097152,
|
|
|
|
|
"SupportedLanguages": [ "en" ],
|
|
|
|
|
"BackendBaseAddress": "https://privapub.test",
|
|
|
|
|
"FrontendBaseAddress": "https://privapub.test",
|
|
|
|
|
"HashingOptions": { "Iterations": 10101 },
|
|
|
|
|
"Jwt": {
|
|
|
|
|
"Key": "pasture-only-key-not-a-secret-pasture-only-key-not-a-secret-0123456789",
|
|
|
|
|
"Issuer": "http://privapub.test",
|
|
|
|
|
"Audience": "http://privapub.test",
|
|
|
|
|
"HoursTimeout": 24
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"Federation": {
|
|
|
|
|
"AllowPrivateNetworks": true,
|
|
|
|
|
"AllowPlainHttp": true,
|
2026-10-05 23:11:59 +02:00
|
|
|
"AcceptAnyCertificate": true,
|
|
|
|
|
"Relays": [ "https://relay.test/actor", "https://aoderelay.test/actor" ]
|
2026-10-01 13:19:16 +02:00
|
|
|
},
|
|
|
|
|
"Media": { "Root": "/tmp/privapub-media" },
|
2026-10-07 11:40:06 +02:00
|
|
|
"Backups": { "Root": "/tmp/privapub-backups", "Nightly": false },
|
2026-10-07 10:54:33 +02:00
|
|
|
"RateLimits": { "AccountsPerMinute": 1000, "UploadsBurst": 1000, "UploadsPerMinute": 1000, "ProxyBurst": 100000, "ProxyPerMinute": 100000 },
|
2026-10-04 02:37:38 +02:00
|
|
|
"Registrations": { "Mode": "Open" },
|
|
|
|
|
"Statistics": { "Geo": { "AutoUpdate": false } },
|
2026-10-01 13:19:16 +02:00
|
|
|
"Kestrel": { "Endpoints": { "Http": { "Url": "http://0.0.0.0:80", "Protocols": "Http1AndHttp2" } } },
|
|
|
|
|
"Serilog": {
|
|
|
|
|
"MinimumLevel": { "Default": "Information", "Override": { "Microsoft": "Warning", "System": "Warning" } },
|
|
|
|
|
"WriteTo": [ { "Name": "Console" } ]
|
|
|
|
|
}
|
|
|
|
|
}
|