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:
parent
f53229b7af
commit
29c62cb38f
1 changed files with 0 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue