Skip to content

Commit 0ab7b30

Browse files
committed
Updated local dev to use CosmosDb emulator
1 parent cc6edbc commit 0ab7b30

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/backend/Sudoku.Api/appsettings.Development.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55
"Microsoft.AspNetCore": "Warning"
66
}
77
},
8+
"ConnectionStrings": {
9+
"CosmosDb": "AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==;"
10+
},
811
"CosmosDb": {
9-
"DatabaseName": "sudoku-dev"
12+
"DatabaseName": "sudoku-dev",
13+
"DisableSslValidation": true
1014
},
1115
"appconfig": {
1216
"Endpoint": "https://appcs-xenobiasoft-prod.azconfig.io",

src/backend/Sudoku.AppHost/appsettings.Development.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"ConnectionStrings": {
99
"appconfig": "",
1010
"AzureKeyVault": "https://kv-xenobiasoft-prod.vault.azure.net/",
11-
"CosmosDb": ""
11+
"CosmosDb": "AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==;"
1212
}
1313
}

0 commit comments

Comments
 (0)