Skip to content

Commit 8be174f

Browse files
author
ajosh0504
committed
Updating MongoDB URI
1 parent 7902771 commit 8be174f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"containerEnv": {
1414
"SERVERLESS_URL": "https://vtqjvgchmwcjwsrela2oyhlegu0hwqnw.lambda-url.us-west-2.on.aws/",
15-
"MONGODB_URI": "mongodb://localhost:27017/?directConnection=true"
15+
"MONGODB_URI": "mongodb://admin:mongodb@mongodb:27017/"
1616
},
1717
"postCreateCommand": "pip install -r requirements.txt",
1818
"customizations": {
@@ -23,7 +23,6 @@
2323
"extensions": [
2424
"ms-python.python",
2525
"ms-toolsai.jupyter",
26-
"ms-tools.vscode-jupyter",
2726
"mongodb.mongodb-vscode"
2827
]
2928
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"mdb.presetConnections": [
33
{
44
"name": "Local MongoDB Atlas",
5-
"connectionString": "mongodb://localhost:27017"
5+
"connectionString": "mongodb://admin:mongodb@localhost:27017"
66
}
77
],
88
"mdb.showOverviewPageAfterInstall": false

0 commit comments

Comments
 (0)