Files
SocialPub/tools/pasture/appsettings.Pasture.json
T

38 lines
1.4 KiB
JSON
Raw Permalink Normal View History

{
"MongoSettings": {
"Database": "PrivaPub",
"LogsDatabase": "logs",
2026-10-07 11:21:13 +02:00
"ConnectionString": "mongodb://mongo:27017/?directConnection=true"
},
"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,
"AcceptAnyCertificate": true,
"Relays": [ "https://relay.test/actor", "https://aoderelay.test/actor" ]
},
"Media": { "Root": "/tmp/privapub-media" },
"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 },
"Registrations": { "Mode": "Open" },
"Statistics": { "Geo": { "AutoUpdate": false } },
"Kestrel": { "Endpoints": { "Http": { "Url": "http://0.0.0.0:80", "Protocols": "Http1AndHttp2" } } },
"Serilog": {
"MinimumLevel": { "Default": "Information", "Override": { "Microsoft": "Warning", "System": "Warning" } },
"WriteTo": [ { "Name": "Console" } ]
}
}