yavsc/src/Yavsc.Org/appsettings-org.json

92 lines
2.6 KiB
JSON
Raw Normal View History

2016-05-17 18:22:18 +02:00
{
2023-03-19 17:57:55 +00:00
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
2024-03-04 01:02:19 +00:00
"Microsoft.AspNetCore.SignalR": "Debug",
"Microsoft.AspNetCore.Http.Connections": "Debug"
2016-05-17 18:22:18 +02:00
}
2023-03-19 17:57:55 +00:00
},
2023-03-26 20:41:42 +01:00
"AllowedHosts": "*",
"ConnectionStrings": {
"YavscConnection": "*** via dotnet user-secrets ou variable d'environnement *** Server=[YOURSERVERNAME];Port=5432;Database=[YOURDBNAME];Username=[YOURDBUSERNAME];Password=[YOURDBPASSW];"
2023-03-26 20:41:42 +01:00
},
"Site": {
2026-06-10 11:10:15 +01:00
"Title": "yavsc",
2023-03-26 20:41:42 +01:00
"Slogan": "Yavsc!",
"StyleSheet": "/css/default.css",
2026-06-10 11:10:15 +01:00
"Authority": "https://localhost:5001",
"ExternalUrl": "https://localhost:5001",
"Banner": "~/images/arts/PillarOfCreationOil.svg",
2023-03-26 20:41:42 +01:00
"Owner": {
"Name": "[Site owner's name]",
"EMail": "[Site owner's e-mail address]"
},
"Admin": {
"Name": "[a name for a site admin]",
"EMail": "[an e-mail for a site admin]"
},
2024-02-14 20:35:15 +00:00
"Avatars": "avatars",
2023-03-26 20:41:42 +01:00
"Quota": 200000000,
2024-02-14 20:35:15 +00:00
"Bills": "bills",
"Blog": "blog",
"TempDir": "temp",
"DataDir": "data"
2023-03-26 20:41:42 +01:00
},
"Smtp": {
"Host": "[YOURSMTPHOST]",
2026-06-13 20:57:30 +01:00
"Port": 465
2023-03-26 20:41:42 +01:00
},
"DataProtection": {
"Keys": {
2023-04-05 22:29:40 +01:00
"Dir": "DataProtection"
2023-03-26 20:41:42 +01:00
},
"RSAParamFile": "RSA-Params.json",
"ExpiresInHours": 168
},
"Authentication": {
"PayPal": {
"Mode": "[sandbox|production]",
"ClientId": "[Your PayPal REST API ClientId]",
"Secret": "[Your PayPal REST API Secret]"
},
"Google": {
"ApiKey": "[Your ApiKey]",
"ClientId": "[Your ClientId]",
"ClientSecret": "[Your ClientSecret]",
"ServiceAccount": {
"project_id": "[Yours]",
"private_key_id": "[Yours]",
"private_key": "-----[Yours]---\n",
"client_email": "[Yours]@appspot.gserviceaccount.com",
"client_id": "[Yours]",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www41.googleapis.com/robot/v1/[Yours].com"
}
},
"Facebook": {
"ClientId": "[Your ClientId]",
"ClientSecret": "[Your ClientSecret]"
},
"Twitter": {
"ClientId": "[Your ClientId]",
"ClientSecret": "[Your ClientSecret]"
}
2026-05-24 19:35:35 +01:00
},
"Kyc": {
"HmacSecret": "*** via dotnet user-secrets ou variable d'environnement ***"
2026-05-30 18:20:17 +01:00
},
"Moderation": {
"AutoApproveThreshold": 0.7,
"AutoRejectThreshold": 0.9
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:3002"
}
}
2023-03-26 20:41:42 +01:00
}
2018-12-23 01:57:58 +00:00
}