feat: Add container name to network aliases in ApplicationDeploymentJob

This commit is contained in:
Andras Bacsai 2024-05-06 12:47:49 +02:00
parent d53a9e672c
commit d46ff76887

View File

@ -1296,7 +1296,9 @@ private function generate_compose_file()
'expose' => $ports,
'networks' => [
$this->destination->network => [
'aliases' => []
'aliases' => [
$this->container_name
]
]
],
'mem_limit' => $this->application->limits_memory,