From 0a7fdd6a49aad40bc7ea8f75b87cdb61f392da8c Mon Sep 17 00:00:00 2001 From: agentbox Date: Fri, 31 Jul 2026 22:40:52 +0000 Subject: [PATCH] fix: use docker-compose.meal.yml compose file --- watch-for-updates.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/watch-for-updates.sh b/watch-for-updates.sh index eca6b4b..a602d8c 100755 --- a/watch-for-updates.sh +++ b/watch-for-updates.sh @@ -17,6 +17,7 @@ if [ -z "${GITEA_PASSWORD:-}" ]; then fi # Configure the remote with credentials for non-interactive pulls +COMPOSE_FILE="docker-compose.meal.yml" REMOTE_BASE="https://gitea.ct.cozytren.ch/romane/agentbox-test" REMOTE_AUTH="https://agentbox:${GITEA_PASSWORD}@gitea.ct.cozytren.ch/romane/agentbox-test" git remote set-url origin "$REMOTE_AUTH" @@ -55,13 +56,13 @@ while true; do } echo "[$(date -Iseconds)] Bringing containers down..." - docker compose down 2>&1 + docker compose -f "$COMPOSE_FILE" down 2>&1 echo "[$(date -Iseconds)] Building images..." - docker compose build 2>&1 + docker compose -f "$COMPOSE_FILE" build 2>&1 echo "[$(date -Iseconds)] Starting containers..." - docker compose up -d 2>&1 + docker compose -f "$COMPOSE_FILE" up -d 2>&1 echo "[$(date -Iseconds)] Update complete." else