fix: use port exposed for reverse proxy

This commit is contained in:
Andras Bacsai
2023-10-11 09:23:31 +02:00
parent a71cf5bc66
commit 8082dc1a01
2 changed files with 11 additions and 6 deletions

View File

@@ -620,7 +620,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
'container_name' => $this->container_name,
'restart' => RESTART_MODE,
'environment' => $environment_variables,
'labels' => generateLabelsApplication($this->application, $this->preview),
'labels' => generateLabelsApplication($this->application, $this->preview, $ports),
'expose' => $ports,
'networks' => [
$this->destination->network,