Merge pull request #3386 from stripsior/chore/bump-mongo

chore(databases): update mongodb version, to patch latest cve
This commit is contained in:
Mauricio Siu
2026-04-04 09:32:15 -06:00
committed by GitHub
5 changed files with 8288 additions and 2 deletions

View File

@@ -57,8 +57,8 @@ import { APP_NAME_MESSAGE, APP_NAME_REGEX } from "@/utils/schema";
type DbType = z.infer<typeof mySchema>["type"];
const dockerImageDefaultPlaceholder: Record<DbType, string> = {
mongo: "mongo:8",
libsql: "ghcr.io/tursodatabase/libsql-server:v0.24.32",
mongo: "mongo:7",
mariadb: "mariadb:11",
mysql: "mysql:8",
postgres: "postgres:18",

View File

@@ -0,0 +1 @@
ALTER TABLE "mongo" ALTER COLUMN "dockerImage" SET DEFAULT 'mongo:8';

File diff suppressed because it is too large Load Diff

View File

@@ -1121,6 +1121,13 @@
"when": 1775274158009,
"tag": "0159_polite_puppet_master",
"breakpoints": true
},
{
"idx": 160,
"version": "7",
"when": 1775316657754,
"tag": "0160_burly_odin",
"breakpoints": true
}
]
}

View File

@@ -56,7 +56,7 @@ export const mongo = pgTable("mongo", {
description: text("description"),
databaseUser: text("databaseUser").notNull(),
databasePassword: text("databasePassword").notNull(),
dockerImage: text("dockerImage").notNull(),
dockerImage: text("dockerImage").notNull().default("mongo:8"),
command: text("command"),
args: text("args").array(),
env: text("env"),