enable traefik for apps
This commit is contained in:
		@@ -359,6 +359,7 @@ COPY --from={$this->application->uuid}:{$this->git_commit}-build /app/{$this->ap
 | 
				
			|||||||
        $labels[] = 'coolify.type=application';
 | 
					        $labels[] = 'coolify.type=application';
 | 
				
			||||||
        $labels[] = 'coolify.name=' . $this->application->name;
 | 
					        $labels[] = 'coolify.name=' . $this->application->name;
 | 
				
			||||||
        if ($this->application->fqdn) {
 | 
					        if ($this->application->fqdn) {
 | 
				
			||||||
 | 
					            $labels[] = 'traefik.enable=true';
 | 
				
			||||||
            $labels[] = "traefik.http.routers.container.rule=Host(`{$this->application->fqdn}`)";
 | 
					            $labels[] = "traefik.http.routers.container.rule=Host(`{$this->application->fqdn}`)";
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return $labels;
 | 
					        return $labels;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user