fix: remove --pull always flag incompatible with docker-compose v1

This commit is contained in:
oskar 2026-05-21 22:07:49 +02:00
parent 898deda05f
commit beb8b5cbaa

View file

@ -15,7 +15,7 @@ echo "TARGET: $TARGET"
# Secrets must exist at /opt/homelab/config/frigate/frigate.env on the node # Secrets must exist at /opt/homelab/config/frigate/frigate.env on the node
# before first deploy. See config.yml for required variables. # before first deploy. See config.yml for required variables.
DEPLOY_CMD="cd $REPO_PATH && git fetch origin && git checkout master && git pull origin master && cd $SERVICE_PATH && docker-compose up -d --pull always" DEPLOY_CMD="cd $REPO_PATH && git fetch origin && git checkout master && git pull origin master && cd $SERVICE_PATH && docker-compose pull && docker-compose up -d"
if [[ "$MODE" == "ssh" ]]; then if [[ "$MODE" == "ssh" ]]; then
echo "--- Deploying Frigate to $NODE ($TARGET) via SSH ---" echo "--- Deploying Frigate to $NODE ($TARGET) via SSH ---"