From 36c0d7b2aae57565822731a6dd2f22edd3179c42 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Tue, 14 Jul 2026 13:39:46 +0000 Subject: [PATCH] Fix docker compose deploy: pass -f docker-compose.yml explicitly for Compose v5 compatibility --- updater/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updater/src/index.js b/updater/src/index.js index 43b0af1..a52db79 100644 --- a/updater/src/index.js +++ b/updater/src/index.js @@ -223,11 +223,11 @@ async function runRemote(target, repoName, cmd, label) { } async function deploy(target, repoName) { - return runRemote(target, repoName, `cd ${target.path} && git pull && docker compose up -d --build`, 'deploy') + return runRemote(target, repoName, `cd ${target.path} && git pull && docker compose -f docker-compose.yml up -d --build`, 'deploy') } async function rebuild(target, repoName) { - return runRemote(target, repoName, `cd ${target.path} && docker compose up -d --build`, 'rebuild') + return runRemote(target, repoName, `cd ${target.path} && docker compose -f docker-compose.yml up -d --build`, 'rebuild') } // ── Routes ────────────────────────────────────────────────────────────────────