mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
Merge pull request #3386 from stripsior/chore/bump-mongo
chore(databases): update mongodb version, to patch latest cve
This commit is contained in:
@@ -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",
|
||||
|
||||
1
apps/dokploy/drizzle/0160_burly_odin.sql
Normal file
1
apps/dokploy/drizzle/0160_burly_odin.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "mongo" ALTER COLUMN "dockerImage" SET DEFAULT 'mongo:8';
|
||||
8278
apps/dokploy/drizzle/meta/0160_snapshot.json
Normal file
8278
apps/dokploy/drizzle/meta/0160_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user