From c9ed94bcc5fe44f826210e7a9fbab1648a26dcbd Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 26 May 2023 15:25:35 +0200 Subject: [PATCH] add comment to coolify.yaml --- app/Http/Livewire/Settings/Form.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Http/Livewire/Settings/Form.php b/app/Http/Livewire/Settings/Form.php index 682eb7bf3..02f04c999 100644 --- a/app/Http/Livewire/Settings/Form.php +++ b/app/Http/Livewire/Settings/Form.php @@ -109,8 +109,12 @@ public function submit() ]; } $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') { - // dump($yaml); + dump($yaml); } $base64 = base64_encode($yaml); remote_process([