new sslproxy xai cli commands cerbot info and renewal
This commit is contained in:
22
dockerfiles/services/sslproxy/cli/certbot/info
Executable file
22
dockerfiles/services/sslproxy/cli/certbot/info
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
echo -e TODO: make this work!
|
||||
set -e
|
||||
set -x
|
||||
|
||||
LETSENCRYPT_IMAGE=dkregistry.xai-corp.net:5000/xaicorp/acme-certbot
|
||||
LETSENCRYPT_MOUNT=/opt/shared/letsencrypt-2-staging
|
||||
|
||||
if [ "$1" == 'prod' ]; then
|
||||
LETSENCRYPT_MOUNT=/opt/shared/letsencrypt-2
|
||||
fi
|
||||
|
||||
|
||||
|
||||
export LETSENCRYPT_MOUNT
|
||||
export LETSENCRYPT_IMAGE
|
||||
export DOCKER_HOST=${DOCKER_HOST:-'dkhost:2376'}
|
||||
|
||||
# shellcheck disable=SC2068
|
||||
docker-compose \
|
||||
-f docker-compose.tools.yml \
|
||||
run certificates
|
||||
Reference in New Issue
Block a user