stacks/homelab/deploy.sh

13 lines
258 B
Bash
Raw Normal View History

#! /bin/sh
stack=$(basename $(pwd))
2023-02-15 16:39:09 -07:00
extra="--resolve-image changed"
if [ "$1" = "--slow" ]; then
extra=
shift
fi
docker --context deergrove stack deploy -c docker-compose.yaml --prune $extra "$@" $stack
2023-01-28 16:34:47 -07:00
#docker --context deergrove compose up --detach