Skip to content

Commit 8c2efc1

Browse files
committed
Experiment with devcontainer setup
1 parent d258254 commit 8c2efc1

File tree

1 file changed

+33
-28
lines changed

1 file changed

+33
-28
lines changed

.devcontainer/devcontainer.json

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,34 @@
11
{
2-
"name": "MongoDB Atlas and Google Cloud ADK Agents",
3-
"dockerComposeFile": "docker-compose.yml",
4-
"service": "adk",
5-
"features": {
6-
"ghcr.io/devcontainers/features/python:1": {}
7-
},
8-
"updateContentCommand": "bash .devcontainer/install-mongodb-db-tools.sh && bash .devcontainer/import.sh && bash .devcontainer/install-dependencies.sh",
9-
"postCreateCommand": "",
10-
"postAttachCommand": "",
11-
"postStartCommand": "",
12-
"customizations": {
13-
"codespaces": {
14-
"openFiles": [
15-
"INSTRUCTIONS.md"
16-
]
17-
},
18-
"vscode": {
19-
"extensions": [
20-
"mongodb.mongodb-vscode",
21-
"ms-python.python"
22-
]
23-
}
24-
},
25-
"forwardPorts": [
26-
27017
27-
],
28-
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
29-
}
2+
"name": "MongoDB Atlas and Google Cloud ADK Agents",
3+
"dockerComposeFile": "docker-compose.yml",
4+
"service": "adk",
5+
"features": {
6+
"ghcr.io/devcontainers/features/python:1": {}
7+
},
8+
"updateContentCommand": "bash .devcontainer/install-mongodb-db-tools.sh && bash .devcontainer/import.sh && bash .devcontainer/install-dependencies.sh",
9+
"postCreateCommand": "",
10+
"postAttachCommand": "",
11+
"postStartCommand": "",
12+
"customizations": {
13+
"codespaces": {
14+
"openFiles": [
15+
"INSTRUCTIONS.md"
16+
]
17+
},
18+
"vscode": {
19+
"extensions": [
20+
"mongodb.mongodb-vscode",
21+
"ms-python.python"
22+
],
23+
"settings": {
24+
"workbench.editorAssociations": {
25+
"*.md": "vscode.markdown.preview.editor"
26+
}
27+
}
28+
}
29+
},
30+
"forwardPorts": [
31+
27017
32+
],
33+
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
34+
}

0 commit comments

Comments
 (0)