Skip to content

Commit 8be4973

Browse files
authored
Merge pull request #38 from rubberduck-vba/p0
add appsettings.json
2 parents a0bdd41 + 63b8c53 commit 8be4973

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.AspNetCore": "Warning"
6+
}
7+
},
8+
"ConnectionStrings": {
9+
"RubberduckDb": "Data Source=(localdb)\\MSSQLLocalDB;Integrated Security=True;Trust Server Certificate=True;",
10+
"HangfireDb": "Data Source=(localdb)\\MSSQLLocalDB;Integrated Security=True;Trust Server Certificate=True;"
11+
},
12+
"AllowedHosts": "*"
13+
}

rubberduckvba.Server/appsettings.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
This file gets created or overwritten upon deployment to either AZ-TEST or AZ-PROD.
3+
*/
4+
{
5+
"Logging": {
6+
"LogLevel": {
7+
"Default": "Information",
8+
"Microsoft.AspNetCore": "Warning"
9+
}
10+
},
11+
"Hangfire": {
12+
"QueuePollIntervalSeconds": 30,
13+
"AutoRetryAttempts": 2,
14+
"AutoRetryDelaySeconds": [ 2, 5, 10, 30, 60 ],
15+
"HeartbeatIntervalMinutes": 1,
16+
"CancellationCheckIntervalSeconds": 300,
17+
"ConfigureHangfireServerOnStartup": true,
18+
"CreateUpdateInstallerDownloadsJob": true,
19+
"CreateUpdateXmldocContentJob": true,
20+
"UpdateInstallerDownloadsSchedule": "0 0 * * *", // daily
21+
"UpdateXmldocContentSchedule": "0 0 31 2 *" // never
22+
},
23+
"AllowedHosts": "*"
24+
}

0 commit comments

Comments
 (0)