Actually truly really NOW actually for real really truly now actually for real genuinely really fix docker compose in updater
This commit is contained in:
@@ -63,12 +63,15 @@ if (json_last_error() !== JSON_ERROR_NONE) {
|
||||
exit();
|
||||
}
|
||||
|
||||
// success, log something without error_log
|
||||
error_log('SUCCESS - ' . $decoded['ref']);
|
||||
error_log('SUCCESS');
|
||||
|
||||
chdir($docker_config_dir);
|
||||
|
||||
error_log('Pulling latest changes');
|
||||
exec('git pull');
|
||||
exec('docker compose up -d --build --quiet-pull');
|
||||
|
||||
error_log('Building and starting containers');
|
||||
exec('docker compose --profile autoupdate up -d --build --quiet-pull');
|
||||
|
||||
// send return code and text message
|
||||
http_response_code(200);
|
||||
|
||||
Reference in New Issue
Block a user