mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 21:20:29 +00:00
feat(ServiceDatabase): add support for TimescaleDB detection and database type identification
This commit is contained in:
@@ -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