updates to deploy testing and certbot commands

This commit is contained in:
2020-06-05 08:02:45 -04:00
parent 857bf699de
commit 7175a4fb2d
14 changed files with 132 additions and 41 deletions

View File

@@ -1,13 +1,15 @@
#!/usr/bin/env bash
set -e
#set -x
set -x
LETSENCRYPT_IMAGE=dkregistry.xai-corp.net:5000/xaicorp/acme-certbot
LETSENCRYPT_MOUNT=/opt/shared/letsencrypt-2-staging
CERT_NAME=xai-corp.net
export DOCKER_HOST=${DOCKER_HOST:-'dkhost:2376'}
export LETSENCRYPT_MOUNT
export LETSENCRYPT_IMAGE
export CERT_NAME
run() {
docker-compose \
@@ -22,10 +24,4 @@ run_help() {
}
while getopts h name
do
case $name in
h) run_help $@;;
*) run $@;;
esac
done
run $@