Skip to content

chore(databases): update mongodb version, to patch latest cve#3386

Merged
Siumauricio merged 4 commits intoDokploy:canaryfrom
stripsior:chore/bump-mongo
Apr 4, 2026
Merged

chore(databases): update mongodb version, to patch latest cve#3386
Siumauricio merged 4 commits intoDokploy:canaryfrom
stripsior:chore/bump-mongo

Conversation

@stripsior
Copy link
Copy Markdown
Contributor

What is this PR about?

This pull request updates default Docker image versions for database services, ensuring consistency and using more recent versions where appropriate.

Database Docker image version updates:

  • Updated the default Docker image placeholder for MongoDB from mongo:7 to mongo:8 in the dockerImageDefaultPlaceholder mapping in add-database.tsx.
  • Set the default value for the dockerImage field to mariadb:8 in the mariadb schema, replacing the previous requirement for explicit specification.

Checklist

Before submitting this PR, please make sure that:

@stripsior stripsior requested a review from Siumauricio as a code owner January 3, 2026 14:31
@stripsior
Copy link
Copy Markdown
Contributor Author

I read wrong, and edited mariadb version not mongodb in schema files. Fixed

@gOOvER
Copy link
Copy Markdown

gOOvER commented Jan 4, 2026

there is no direct way to upgrade from 7x to 8.2. If there is any existing Database, it will fail and destroy the database

@stripsior
Copy link
Copy Markdown
Contributor Author

Existing databases shouldn't be affected by that change, as I only changed default values for new deployments. This will provide safe way of creating new mongodb instances

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 4, 2026
…migration

- Introduced a new SQL script to set the default value for the "dockerImage" column in the "mongo" table.
- Updated the journal to include the new migration entry for version 0160.
- Added a snapshot file for version 7, detailing the schema for the "account" and "apikey" tables.
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Apr 4, 2026
@Siumauricio Siumauricio merged commit 791ca65 into Dokploy:canary Apr 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants