Skip to content

Commit

Permalink
standardized appsettings (#41)
Browse files Browse the repository at this point in the history
- changed all urls to localhost
- commented out example seed data so app doesn't crash by default
  • Loading branch information
sei-aschlackman authored Jan 14, 2022
1 parent cbcdde6 commit 7f973a5
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Steamfitter.Api/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"CorsPolicy": {
"Origins": ["http://host.docker.internal:4401"],
"Origins": ["http://localhost:4401"],
"Methods": [],
"Headers": [],
"AllowAnyOrigin": false,
Expand All @@ -23,27 +23,27 @@
"SupportsCredentials": true
},
"ConnectionStrings": {
"PostgreSQL": "Server=host.docker.internal;Port=5432;Database=steamfitter_api;Username=steamfitter;Password=password;",
"PostgreSQL": "Server=localhost;Port=5432;Database=steamfitter_api;Username=steamfitter;Password=password;",
"Sqlite": "Data Source=steamfitter_api.db",
"SqlServer": "Server=(localdb)\\mssqllocaldb;Database=steamfitter_api;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"Database": {
"AutoMigrate": true,
"DevModeRecreate": true,
"DevModeRecreate": false,
"Provider": "Sqlite"
},
"Authorization": {
"Authority": "http://host.docker.internal:5000",
"AuthorizationUrl": "http://host.docker.internal:5000/connect/authorize",
"TokenUrl": "http://host.docker.internal:5000/connect/token",
"Authority": "http://localhost:5000",
"AuthorizationUrl": "http://localhost:5000/connect/authorize",
"TokenUrl": "http://localhost:5000/connect/token",
"AuthorizationScope": "steamfitter player player-vm",
"ClientId": "steamfitter.swagger",
"ClientName": "Steamfitter Swagger UI",
"ClientSecret": "",
"RequireHttpsMetadata": false
},
"ResourceOwnerAuthorization": {
"Authority": "http://host.docker.internal:5000",
"Authority": "http://localhost:5000",
"ClientId": "steamfitter.api",
"ClientSecret": "",
"UserName": "",
Expand All @@ -58,15 +58,15 @@
},
"ClientSettings": {
"urls": {
"playerApi": "http://host.docker.internal:4300/",
"vmApi": "http://host.docker.internal:4302/"
"playerApi": "http://localhost:4300/",
"vmApi": "http://localhost:4302/"
}
},
"VmTaskProcessing": {
"ApiType": "st2",
"ApiUsername": "username",
"ApiPassword": "password",
"ApiBaseUrl": "https://host.docker.internal",
"ApiBaseUrl": "https://localhost",
"VmListUpdateIntervalMinutes": 5,
"HealthCheckSeconds": 30,
"HealthCheckTimeoutSeconds": 90,
Expand All @@ -93,16 +93,16 @@
}
],
"Users": [
{
/* {
"id": "<admin guid>",
"name": "<admin name>"
}
} */
],
"UserPermissions": [
{
/* {
"UserId": "<admin guid>",
"PermissionId": "00000000-0000-0000-0000-000000000001"
}
} */
]
},
"Files": {
Expand Down

0 comments on commit 7f973a5

Please sign in to comment.