enable traefik for apps
This commit is contained in:
parent
ac976d0f3a
commit
135f9ab048
@ -359,6 +359,7 @@ private function set_labels_for_applications()
|
||||
$labels[] = 'coolify.type=application';
|
||||
$labels[] = 'coolify.name=' . $this->application->name;
|
||||
if ($this->application->fqdn) {
|
||||
$labels[] = 'traefik.enable=true';
|
||||
$labels[] = "traefik.http.routers.container.rule=Host(`{$this->application->fqdn}`)";
|
||||
}
|
||||
return $labels;
|
||||
|
Loading…
Reference in New Issue
Block a user