fix: deploy-frigate.sh use docker-compose v1 for chelsty-infra
This commit is contained in:
parent
f34399a30d
commit
898deda05f
|
|
@ -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 up -d --pull always"
|
||||||
|
|
||||||
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