Skip to content

Commit bebdd1d

Browse files
committed
Run atlas-local with search features locally
1 parent 54b8d2a commit bebdd1d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docker-compose.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.5'
2-
31
services:
42
app:
53
tty: true
@@ -16,11 +14,11 @@ services:
1614

1715
mongodb:
1816
container_name: mongodb
19-
image: mongo:latest
17+
image: mongodb/mongodb-atlas-local:latest
2018
ports:
2119
- "27017:27017"
2220
healthcheck:
23-
test: echo 'db.runCommand("ping").ok' | mongosh mongodb:27017 --quiet
21+
test: mongosh mongodb:27017 --quiet --eval 'db.runCommand("ping").ok'
2422
interval: 10s
2523
timeout: 10s
2624
retries: 5

0 commit comments

Comments
 (0)