70 lines
1.6 KiB
JSON
70 lines
1.6 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "server=<db-host>;port=3306;database=vijaya_core;user=<db-user>;password=<db-password>"
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Kestrel": {
|
|
"Endpoints": {
|
|
"Http": {
|
|
"Url": "http://0.0.0.0:5601"
|
|
}
|
|
},
|
|
|
|
"AllowedOrigins": [ "*" ]
|
|
},
|
|
"Jwt": {
|
|
"PublicKey": "<same-RSA-public-key-configured-in-auth-service-appsettings>",
|
|
"Audience": "VijayaClient",
|
|
"ExpiresInMinutes": "1000",
|
|
"Issuer": "VijayaAuth"
|
|
},
|
|
"Cors": {
|
|
"AllowedOrigins": [ "*" ],
|
|
"AllowedMethods": [ "GET", "POST", "PUT", "DELETE" ],
|
|
"AllowedHeaders": [ "*" ]
|
|
},
|
|
"Gemini": {
|
|
"ApiKey": "<gemini-api-key>"
|
|
},
|
|
"AuthService": {
|
|
"BaseUrl": "http://127.0.0.1:5602"
|
|
},
|
|
"PaymentService": {
|
|
"BaseUrl": "http://127.0.0.1:5120",
|
|
"InternalApiKey": "<generate-fresh-internal-api-key>"
|
|
},
|
|
"Worker": {
|
|
"InternalApiKey": "<generate-fresh-internal-api-key>"
|
|
},
|
|
"RequestAccessToken": {
|
|
"SigningKey": "<generate-fresh-32-byte-signing-key>",
|
|
"ExpiresInMinutes": 15
|
|
},
|
|
"InvoicePaymentToken": {
|
|
"SigningKey": "<generate-fresh-32-byte-signing-key>",
|
|
"ExpiresInDays": 7
|
|
},
|
|
"Sms": {
|
|
"ApiUrl": "<sms-service-url>",
|
|
"ApiKey": "<sms-api-key>"
|
|
},
|
|
"Gmail": {
|
|
"Host": "smtp.gmail.com",
|
|
"Port": 587,
|
|
"FromName": "Vijaya Sport Club",
|
|
"User": "",
|
|
"AppPassword": ""
|
|
},
|
|
"App": {
|
|
"FrontendBaseUrl": "<frontend-url>",
|
|
"MobileAppLink": "<frontend-url>/app"
|
|
}
|
|
|
|
}
|