22 lines
384 B
Bash
Executable File
22 lines
384 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
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 \
|
|
-f docker-compose.tools.yml \
|
|
run test $@
|
|
}
|
|
|
|
|
|
run $@
|