fix(Docker-Compose): devide pull and up into

This commit is contained in:
Marcel Feix 2022-05-16 12:54:14 +00:00
parent 716789dd91
commit cf3fbaf63c
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03

View File

@ -38,7 +38,8 @@
# Tunnel Docker socket from remote Maschine to local Maschine. This should be more stable than the current SSH Implementation of Docker
- rm -f /tmp/docker.sock
- ssh -M -S docker-ctrl-socket -fnNT -L /tmp/docker.sock:/var/run/docker.sock "$SSH_USER@$SSH_URL" -p $SSH_PORT -o ControlPersist=no
- DOCKER_HOST=unix:///tmp/docker.sock docker-compose pull && docker-compose $COMPOSE_EXTRA_ARGS up -d --remove-orphans
- DOCKER_HOST=unix:///tmp/docker.sock docker-compose pull
- DOCKER_HOST=unix:///tmp/docker.sock docker-compose $COMPOSE_EXTRA_ARGS up -d --remove-orphans
#todo add docker compose renovate updater
.docker-compose-validate: