Skip to content
Snippets Groups Projects
Commit 2950f7b2 authored by jurgenhaas's avatar jurgenhaas
Browse files

Remove final parameter to make it compatible with both yaml versions, 2.x and 3.x

parent 179c51dc
No related branches found
Tags v0.2.1
No related merge requests found
Pipeline #
...@@ -184,7 +184,7 @@ class Handler { ...@@ -184,7 +184,7 @@ class Handler {
'name' => $options['projectname'] . '_default', 'name' => $options['projectname'] . '_default',
], ],
]; ];
file_put_contents($traefikFile, Yaml::dump($traefik, 9, 2, YAML::DUMP_MULTI_LINE_LITERAL_BLOCK)); file_put_contents($traefikFile, Yaml::dump($traefik, 9, 2));
exec('docker-compose -f ' . $traefikFile . ' --project-name traefik restart'); exec('docker-compose -f ' . $traefikFile . ' --project-name traefik restart');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment