Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat: Add container name to network aliases in ApplicationDeploymentJob

Andras Bacsaid46ff768878a
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index da66671f38..e3221e091e 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -1296,7 +1296,9 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
'expose' => $ports,
'networks' => [
$this->destination->network => [
- 'aliases' => []
+ 'aliases' => [
+ $this->container_name
+ ]
]
],
'mem_limit' => $this->application->limits_memory,