We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba60fe0 commit 43f8829Copy full SHA for 43f8829
2 files changed
.devcontainer/devcontainer.json
@@ -20,6 +20,11 @@
20
]
21
}
22
},
23
+ "features": {
24
+ "ghcr.io/devcontainers/features/node:1": {
25
+ "version": "22"
26
+ }
27
+ },
28
"remoteEnv": {
29
"DB_URL": "mongodb://localhost:27017/",
30
"DB_NAME": "farm_intro"
.devcontainer/docker-compose.yml
@@ -7,7 +7,7 @@ services:
7
- mongodb-data:/data/db
8
- mongodb-config:/data/configdb
9
healthcheck:
10
- test: mongosh --eval "db.adminCommand({ ping: 1 })"
+ test: ["CMD-SHELL", "mongosh --eval \"db.adminCommand({ ping: 1 })\""]
11
interval: 10s
12
timeout: 5s
13
retries: 5
0 commit comments