From 4b98488e074549d9a3d35792b8af4b605fedbfa4 Mon Sep 17 00:00:00 2001 From: Peter Smit Date: Fri, 17 Jan 2025 08:49:19 +0100 Subject: [PATCH] Actually truly indeed really NOW actually genuinely for real fix docker compose in updater --- updater/webhook.php | 1 + 1 file changed, 1 insertion(+) diff --git a/updater/webhook.php b/updater/webhook.php index c8eec6e..34a2986 100644 --- a/updater/webhook.php +++ b/updater/webhook.php @@ -67,6 +67,7 @@ if (json_last_error() !== JSON_ERROR_NONE) { error_log('SUCCESS - ' . $decoded['ref']); chdir($docker_config_dir); +putenv('HOME=/var/www/html/'); exec('git config --global --add safe.directory ' . $docker_config_dir); exec('git pull'); exec('docker compose up -d --build --quiet-pull');