Skip to content
Snippets Groups Projects
Commit 7e81f74b authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible/playbooks/general#115 Leave host controlled traefik untouched

parent 13872026
Branches
Tags
1 merge request!69Merging develop into main
Pipeline #921897 passed
......@@ -505,6 +505,10 @@ class Handler extends BaseHandler {
* Update Traefik.
*/
private function updateTraefik(): void {
if (getenv('TRAEFIK_HOST') === 'yes') {
// Traefik is already available and controlled by the host. Don't touch it.
return;
}
$traefik = new Traefik(
$this->config->readValue('projectname'),
$this->config->readValue(['traefik', 'domain']),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment