stacks/homelab/deploy.sh

12 lines
258 B
Bash
Executable File

#! /bin/sh
caddy_hash () {
echo -n "$1 "
echo "$2" | docker run --rm -i caddy caddy hash-password
}
stack=$(basename $(pwd))
docker --context deergrove stack deploy -c docker-compose.yaml --prune $stack
#docker --context deergrove compose up --detach