Skip to content

Commit 5c89973

Browse files
authored
Merge pull request #3385 from stripsior/chore/bump-postgres
chore(databases): bump default postgres version while creating to 18
2 parents 4e8cdfb + 27dd20b commit 5c89973

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/dokploy/components/dashboard/postgres/advanced/show-custom-command.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export const ShowCustomCommand = ({ id, type }: Props) => {
129129
<FormItem>
130130
<FormLabel>Docker Image</FormLabel>
131131
<FormControl>
132-
<Input placeholder="postgres:15" {...field} />
132+
<Input placeholder="postgres:18" {...field} />
133133
</FormControl>
134134

135135
<FormMessage />

apps/dokploy/components/dashboard/project/add-database.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const dockerImageDefaultPlaceholder: Record<DbType, string> = {
5858
mongo: "mongo:7",
5959
mariadb: "mariadb:11",
6060
mysql: "mysql:8",
61-
postgres: "postgres:15",
61+
postgres: "postgres:18",
6262
redis: "redis:7",
6363
};
6464

packages/server/src/db/schema/postgres.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const createSchema = createInsertSchema(postgres, {
102102
}),
103103
databaseName: z.string().min(1),
104104
databaseUser: z.string().min(1),
105-
dockerImage: z.string().default("postgres:15"),
105+
dockerImage: z.string().default("postgres:18"),
106106
command: z.string().optional(),
107107
args: z.array(z.string()).optional(),
108108
env: z.string().optional(),

0 commit comments

Comments
 (0)