astral-api/Astral.ApiServer/appsettings.json

53 lines
1.3 KiB
JSON
Raw Permalink Normal View History

2024-12-11 21:36:30 +01:00
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Warning"
}
},
"Database": {
"ConnectionString": ""
},
"PwdHash": {
"DegreeOfParallelism": 4,
"NumberOfIterations": 3,
"MemoryToUseKb": 16,
"SaltSize": 64,
"HashSize": 128
},
2024-12-15 17:06:14 +01:00
"Metaverse": {
"Name": "Astral Directory Services",
"Nickname": "Astral",
"ServerUrl": "http://localhost:5000",
"IceServerUrl": "localhost",
"DashboardUrl": "localhost",
"Version": "0.1 alpha",
"Codename": "astral"
},
2024-12-11 21:36:30 +01:00
"InitialUser": {
"Username": "admin",
"Email": "admin@changeme.com",
"Password": "Change!Me1234"
},
"EmailDomainBlacklist": {
"Enabled": true,
"MasterList": "https://raw.githubusercontent.com/disposable/disposable-email-domains/refs/heads/master/domains.txt"
},
"Registration": {
"RequireEmailValidation": false,
"DefaultHeroImageUrl": "heroimage",
"DefaultThumbnailImageUrl": "thumbnail"
},
"JWT": {
"SecretKey": "your-secret-key",
"Issuer": "your-issuer",
"Audience": "your-audience",
"AccessTokenExpiration": "7 days",
"RefreshTokenExpiration": "14 days",
"ValidateIssuer": true,
"ValidateAudience": true
},
"AllowedHosts": "*"
}