Skip to content

Commit 0da31c3

Browse files
committed
fix: add new supported database images
1 parent ccdaf59 commit 0da31c3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

app/Models/ServiceDatabase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public function isBackupSolutionAvailable()
120120
{
121121
return str($this->databaseType())->contains('mysql') ||
122122
str($this->databaseType())->contains('postgres') ||
123+
str($this->databaseType())->contains('postgis') ||
123124
str($this->databaseType())->contains('mariadb') ||
124125
str($this->databaseType())->contains('mongodb');
125126
}

bootstrap/helpers/constants.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,23 @@
2020
const DATABASE_DOCKER_IMAGES = [
2121
'bitnami/mariadb',
2222
'bitnami/mongodb',
23-
'bitnami/mysql',
24-
'bitnami/postgresql',
2523
'bitnami/redis',
2624
'mysql',
25+
'bitnami/mysql',
26+
'mysql/mysql-server',
2727
'mariadb',
28+
'postgis/postgis',
2829
'postgres',
30+
'bitnami/postgresql',
31+
'supabase/postgres',
32+
'elestio/postgres',
2933
'mongo',
3034
'redis',
3135
'memcached',
3236
'couchdb',
3337
'neo4j',
3438
'influxdb',
3539
'clickhouse/clickhouse-server',
36-
'supabase/postgres',
37-
'elestio/postgres',
3840
];
3941
const SPECIFIC_SERVICES = [
4042
'quay.io/minio/minio',

0 commit comments

Comments
 (0)