mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 12:14:28 +00:00
Custom network aliases for Dockerfile and Docker Image apps
This commit is contained in:
1 parent
676f616efa
commit
9acde06795
5 files changed
+36
-3
No files matched your search
@@ -1712,9 +1712,10 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
|
||||
'expose' => $ports,
|
||||
'networks' => [
|
||||
$this->destination->network => [
|
||||
'aliases' => [
|
||||
$this->container_name,
|
||||
],
|
||||
'aliases' => array_merge(
|
||||
[$this->container_name],
|
||||
$this->application->network_aliases ? explode(',', $this->application->network_aliases) : []
|
||||
),
|
||||
],
|
||||
],
|
||||
'mem_limit' => $this->application->limits_memory,
|
||||
|
||||
Reference in new issue
Block a user