Skip to content

Commit 43f8829

Browse files
committed
Update devcontainer setup
1 parent ba60fe0 commit 43f8829

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
]
2121
}
2222
},
23+
"features": {
24+
"ghcr.io/devcontainers/features/node:1": {
25+
"version": "22"
26+
}
27+
},
2328
"remoteEnv": {
2429
"DB_URL": "mongodb://localhost:27017/",
2530
"DB_NAME": "farm_intro"

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
- mongodb-data:/data/db
88
- mongodb-config:/data/configdb
99
healthcheck:
10-
test: mongosh --eval "db.adminCommand({ ping: 1 })"
10+
test: ["CMD-SHELL", "mongosh --eval \"db.adminCommand({ ping: 1 })\""]
1111
interval: 10s
1212
timeout: 5s
1313
retries: 5

0 commit comments

Comments
 (0)