fix(service): use database UUID for ServiceDatabase proxy container name

The proxy container was incorrectly named using the service UUID instead
of the database UUID, causing proxy logs to query the wrong container.
Each ServiceDatabase should have its own uniquely named proxy container.
This commit is contained in:
Andras Bacsai 2026-01-02 16:44:36 +01:00
parent f53229b7af
commit 29c62cb38f

View file

@ -33,7 +33,6 @@ public function handle(StandaloneRedis|StandalonePostgresql|StandaloneMongodb|St
$databaseType = $database->databaseType();
$network = $database->service->uuid;
$server = data_get($database, 'service.destination.server');
$proxyContainerName = "{$database->service->uuid}-proxy";
$containerName = "{$database->name}-{$database->service->uuid}";
}
$internalPort = match ($databaseType) {