mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
feat(ServiceDatabase): add support for TimescaleDB detection and database type identification
This commit is contained in:
1 parent
033433f553
commit
ec30426a2f
3 files changed
+86
No files matched your search
@@ -84,6 +84,10 @@ class ServiceDatabase extends BaseModel
|
||||
$image = str($this->image)->before(':');
|
||||
if ($image->contains('supabase/postgres')) {
|
||||
$finalImage = 'supabase/postgres';
|
||||
} elseif ($image->contains('timescale')) {
|
||||
$finalImage = 'postgresql';
|
||||
} elseif ($image->contains('pgvector')) {
|
||||
$finalImage = 'postgresql';
|
||||
} elseif ($image->contains('postgres') || $image->contains('postgis')) {
|
||||
$finalImage = 'postgresql';
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user