Misc fixes, templates

This commit is contained in:
2024-03-02 17:10:30 +01:00
parent 61f4f767c6
commit df3e1211af
7 changed files with 27 additions and 9 deletions

View File

@ -251,6 +251,10 @@ class ContainerManager
$cmdl = 'docker '.join(' ',array_map('escapeshellarg', $args));
$cmdl = preg_replace_callback('<\$\{(.+?)\}>', function ($v) use ($service) {
return $service['environment'][$v[1]]??null;
}, $cmdl);
echo "$ {$cmdl}\n";
passthru($cmdl);