add comment to coolify.yaml

This commit is contained in:
Andras Bacsai 2023-05-26 15:25:35 +02:00
parent 84a5099dd6
commit c9ed94bcc5

View File

@ -109,8 +109,12 @@ class Form extends Component
]; ];
} }
$yaml = Yaml::dump($traefik_dynamic_conf, 12, 2); $yaml = Yaml::dump($traefik_dynamic_conf, 12, 2);
$yaml =
"# This file is automatically generated by Coolify.\n" .
"# Do not edit it manually (only if you know what are you doing).\n\n" .
$yaml;
if (config('app.env') == 'local') { if (config('app.env') == 'local') {
// dump($yaml); dump($yaml);
} }
$base64 = base64_encode($yaml); $base64 = base64_encode($yaml);
remote_process([ remote_process([