add example configuraion file
This commit is contained in:
parent
4f28a73af6
commit
29f0614e56
46
src/HttpApi/appsettings.Example.json
Normal file
46
src/HttpApi/appsettings.Example.json
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"Type": "SimpleConsole",
|
||||||
|
"LogLevel": "Information",
|
||||||
|
"TimestampFormat": "yyyy-MM-ddTHH:mm:ss.fffK",
|
||||||
|
"UseUtcTimestamp": true
|
||||||
|
},
|
||||||
|
"Localization": {
|
||||||
|
"DefaultCultureName": "en-US",
|
||||||
|
"CacheDuration": "00:00:30"
|
||||||
|
},
|
||||||
|
"JsonWebToken": {
|
||||||
|
"Issuer": "https://api.travel-guide.cuqmbr.xyz",
|
||||||
|
"Audience": "https://travel-guide.cuqmbr.xyz",
|
||||||
|
"IssuerSigningKey": "change-this-sufficiently-logn-string",
|
||||||
|
"AccessTokenValidity": "00:03:00",
|
||||||
|
"RefreshTokenValidity": "14.00:00:00"
|
||||||
|
},
|
||||||
|
"Datastore": {
|
||||||
|
"Type": "postgresql",
|
||||||
|
"ConnectionString": "Host=127.0.0.1;Port=5432;Username=postgres;Password=0000;Database=travel_guide;",
|
||||||
|
"PartitionName": "application",
|
||||||
|
"Migrate": true,
|
||||||
|
"SeedIdentity": true,
|
||||||
|
"SeedData": false
|
||||||
|
},
|
||||||
|
"PaymentProcessing": {
|
||||||
|
"CallbackAddressBase": "https://api.travel-guide.cuqmbr.xyz",
|
||||||
|
"ResultAddressBase": "https://travel-guide.cuqmbr.xyz",
|
||||||
|
"LiqPay": {
|
||||||
|
"PublicKey": "sandbox_xxxxxxxxxxxx",
|
||||||
|
"PrivateKey": "sandbox_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Email": {
|
||||||
|
"Smtp": {
|
||||||
|
"Host": "mail.travel-guide.cuqmbr.xyz",
|
||||||
|
"Port": "465",
|
||||||
|
"UseTls": true,
|
||||||
|
"Username": "no-reply",
|
||||||
|
"Password": "super-secret-password",
|
||||||
|
"SenderAddress": "no-reply@travel-guide.cuqmbr.xyz",
|
||||||
|
"SenderName": "Travel Guide"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user