Skip to content

feat: add mongo cli tools, use mongo:latest, fixes #29#30

Merged
stasadev merged 10 commits intoddev:mainfrom
Murz-forks:add-mongo-cli-tools
Jan 28, 2026
Merged

feat: add mongo cli tools, use mongo:latest, fixes #29#30
stasadev merged 10 commits intoddev:mainfrom
Murz-forks:add-mongo-cli-tools

Conversation

@MurzNN
Copy link
Contributor

@MurzNN MurzNN commented Jan 28, 2026

The Issue

How This PR Solves The Issue

  • Adds mongo cli tools
  • Switches from mongo:5-focal to mongo:latest

Manual Testing Instructions

ddev add-on get https://github.com/ddev/ddev-mongo/tarball/refs/pull/30/head
ddev restart

Automated Testing Overview

Release/Deployment Notes

Copy link
Member

@stasadev stasadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!


It looks like healthcheck doesn't work in v1.24.10 https://github.com/ddev/ddev-mongo/actions/runs/21434759196/job/61723111837?pr=30 because there's no mongo command available

healthcheck:
test: ["CMD-SHELL", "mongo --eval 'db.runCommand(\"ping\").ok' localhost:27017/test --quiet"]
timeout: 60s

And I would it to support the existing config for mongo:5-focal, healthcheck can be improved to work differently depending on what's available.

@stasadev stasadev changed the title Add mongo cli tools feat: add mongo cli tools, fixes #29 Jan 28, 2026
@stasadev stasadev changed the title feat: add mongo cli tools, fixes #29 feat: add mongo cli tools, use mongo:latest, fixes #29 Jan 28, 2026
MurzNN and others added 2 commits January 28, 2026 19:30
Co-authored-by: Stanislav Zhuk <stasadev@gmail.com>
MurzNN and others added 3 commits January 28, 2026 19:54
Copy link
Member

@stasadev stasadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and works with both mongo:latest and mongo:5-focal.

Thank you!

@stasadev stasadev merged commit 131fc6c into ddev:main Jan 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add mongodump cli tool to the web container

2 participants