From b61ac9f019dc816442042a852fc6dcad3bc564c5 Mon Sep 17 00:00:00 2001 From: Peter Smit Date: Fri, 17 Jan 2025 09:07:07 +0100 Subject: [PATCH] Actually truly indeed really NOW actually for real now genuinely for real actually 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..4baaca7 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=/home/www-data'); exec('git config --global --add safe.directory ' . $docker_config_dir); exec('git pull'); exec('docker compose up -d --build --quiet-pull');