Skip to content

add appsettings.json #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions rubberduckvba.Server/appsettings.Development.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"ConnectionStrings": {
"RubberduckDb": "Data Source=(localdb)\\MSSQLLocalDB;Integrated Security=True;Trust Server Certificate=True;",
"HangfireDb": "Data Source=(localdb)\\MSSQLLocalDB;Integrated Security=True;Trust Server Certificate=True;"
},
"AllowedHosts": "*"
}
24 changes: 24 additions & 0 deletions rubberduckvba.Server/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file gets created or overwritten upon deployment to either AZ-TEST or AZ-PROD.
*/
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Hangfire": {
"QueuePollIntervalSeconds": 30,
"AutoRetryAttempts": 2,
"AutoRetryDelaySeconds": [ 2, 5, 10, 30, 60 ],
"HeartbeatIntervalMinutes": 1,
"CancellationCheckIntervalSeconds": 300,
"ConfigureHangfireServerOnStartup": true,
"CreateUpdateInstallerDownloadsJob": true,
"CreateUpdateXmldocContentJob": true,
"UpdateInstallerDownloadsSchedule": "0 0 * * *", // daily
"UpdateXmldocContentSchedule": "0 0 31 2 *" // never
},
"AllowedHosts": "*"
}