diff --git a/apps/dokploy/components/dashboard/postgres/advanced/show-custom-command.tsx b/apps/dokploy/components/dashboard/postgres/advanced/show-custom-command.tsx index 5a543b477..d9841716e 100644 --- a/apps/dokploy/components/dashboard/postgres/advanced/show-custom-command.tsx +++ b/apps/dokploy/components/dashboard/postgres/advanced/show-custom-command.tsx @@ -129,7 +129,7 @@ export const ShowCustomCommand = ({ id, type }: Props) => { Docker Image - + diff --git a/apps/dokploy/components/dashboard/project/add-database.tsx b/apps/dokploy/components/dashboard/project/add-database.tsx index 3176b9589..bef54ba08 100644 --- a/apps/dokploy/components/dashboard/project/add-database.tsx +++ b/apps/dokploy/components/dashboard/project/add-database.tsx @@ -58,7 +58,7 @@ const dockerImageDefaultPlaceholder: Record = { mongo: "mongo:7", mariadb: "mariadb:11", mysql: "mysql:8", - postgres: "postgres:15", + postgres: "postgres:18", redis: "redis:7", }; diff --git a/packages/server/src/db/schema/postgres.ts b/packages/server/src/db/schema/postgres.ts index d4ad7ad83..9d4224006 100644 --- a/packages/server/src/db/schema/postgres.ts +++ b/packages/server/src/db/schema/postgres.ts @@ -102,7 +102,7 @@ const createSchema = createInsertSchema(postgres, { }), databaseName: z.string().min(1), databaseUser: z.string().min(1), - dockerImage: z.string().default("postgres:15"), + dockerImage: z.string().default("postgres:18"), command: z.string().optional(), args: z.array(z.string()).optional(), env: z.string().optional(),