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