fix: remove --pull always flag incompatible with docker-compose v1
This commit is contained in:
parent
898deda05f
commit
beb8b5cbaa
|
|
@ -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 ---"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue