From 0da31c34b55c29c5e50cedab5c2e4efdbaaa3cae Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 3 Oct 2024 20:47:22 +0200 Subject: [PATCH] fix: add new supported database images --- app/Models/ServiceDatabase.php | 1 + bootstrap/helpers/constants.php | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/Models/ServiceDatabase.php b/app/Models/ServiceDatabase.php index 518e3f909..927527118 100644 --- a/app/Models/ServiceDatabase.php +++ b/app/Models/ServiceDatabase.php @@ -120,6 +120,7 @@ class ServiceDatabase extends BaseModel { return str($this->databaseType())->contains('mysql') || str($this->databaseType())->contains('postgres') || + str($this->databaseType())->contains('postgis') || str($this->databaseType())->contains('mariadb') || str($this->databaseType())->contains('mongodb'); } diff --git a/bootstrap/helpers/constants.php b/bootstrap/helpers/constants.php index 073a44fd8..d8dc26a48 100644 --- a/bootstrap/helpers/constants.php +++ b/bootstrap/helpers/constants.php @@ -20,12 +20,16 @@ const RESTART_MODE = 'unless-stopped'; const DATABASE_DOCKER_IMAGES = [ 'bitnami/mariadb', 'bitnami/mongodb', - 'bitnami/mysql', - 'bitnami/postgresql', 'bitnami/redis', 'mysql', + 'bitnami/mysql', + 'mysql/mysql-server', 'mariadb', + 'postgis/postgis', 'postgres', + 'bitnami/postgresql', + 'supabase/postgres', + 'elestio/postgres', 'mongo', 'redis', 'memcached', @@ -33,8 +37,6 @@ const DATABASE_DOCKER_IMAGES = [ 'neo4j', 'influxdb', 'clickhouse/clickhouse-server', - 'supabase/postgres', - 'elestio/postgres', ]; const SPECIFIC_SERVICES = [ 'quay.io/minio/minio',