66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"App": "Host=localhost;Port=5432;Database=dyson_network;Username=postgres;Password=postgres",
|
|
"Guard": "Host=localhost;Port=5432;Database=dyson_network_casbin;Username=postgres;Password=postgres"
|
|
},
|
|
"Authentication": {
|
|
"Schemes": {
|
|
"Bearer": {
|
|
"ValidAudiences": [
|
|
"http://localhost:5071",
|
|
"https://localhost:7099"
|
|
],
|
|
"ValidIssuer": "solar-network"
|
|
}
|
|
}
|
|
},
|
|
"Jwt": {
|
|
"PublicKeyPath": "Keys/PublicKey.pem",
|
|
"PrivateKeyPath": "Keys/PrivateKey.pem"
|
|
},
|
|
"Tus": {
|
|
"StorePath": "Uploads"
|
|
},
|
|
"Storage": {
|
|
"BaseUrl": "http://localhost:5071",
|
|
"PreferredRemote": "cloudflare",
|
|
"Remote": [
|
|
{
|
|
"Id": "cloudflare",
|
|
"Label": "Cloudflare R2",
|
|
"Region": "auto",
|
|
"Bucket": "solar-network",
|
|
"Endpoint": "0a70a6d1b7128888c823359d0008f4e1.r2.cloudflarestorage.com",
|
|
"SecretId": "8ff5d06c7b1639829d60bc6838a542e6",
|
|
"SecretKey": "4b000df2b31936e1ceb0aa48bbd4166214945bd7f83b85b26f9d164318587991",
|
|
"EnableSigned": true,
|
|
"EnableSsl": true
|
|
}
|
|
]
|
|
},
|
|
"Captcha": {
|
|
"Provider": "recaptcha",
|
|
"ApiKey": "6LfIzSArAAAAAN413MtycDcPlKa636knBSAhbzj-",
|
|
"ApiSecret": ""
|
|
},
|
|
"Notifications": {
|
|
"Push": {
|
|
"Production": true,
|
|
"Google": "path/to/config.json",
|
|
"Apple": {
|
|
"PrivateKey": "path/to/cert.p8",
|
|
"PrivateKeyId": "",
|
|
"TeamId": "",
|
|
"BundleIdentifier": ""
|
|
}
|
|
}
|
|
}
|
|
}
|