Skip to content

Commit

Permalink
compose: allow lowering mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed May 11, 2024
1 parent c61e70e commit 00b14e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ services:
serve-certs: { condition: service_started }

mongodb:
image: mongo:7
image: mongo:${MONGO_TAG:-7}
volumes:
- ${PWD}/dist/mongodb:/data/db
depends_on:
master: { condition: service_healthy }
restart: unless-stopped
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongosh --quiet
test: echo 'db.runCommand("ping").ok' | ${MONGO_SH:-mongosh} --quiet
interval: 5s

ndn-python-repo:
Expand Down

0 comments on commit 00b14e8

Please sign in to comment.