fix certbot renew not updating prod certs

This commit is contained in:
2020-09-06 22:50:17 -04:00
parent 9351caf5b0
commit 77af2eecd0
4 changed files with 9 additions and 3 deletions

View File

@@ -19,4 +19,4 @@ export DOCKER_HOST=${DOCKER_HOST:-'dkhost:2376'}
# shellcheck disable=SC2068
docker-compose \
-f docker-compose.tools.yml \
run certificates
run --rm certificates

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env bash
set -e
LETSENCRYPT_IMAGE=dkregistry.xai-corp.net:5000/xaicorp/acme-certbot
@@ -23,6 +22,8 @@ update() {
export LETSENCRYPT_IMAGE
export CERT_NAME
echo "Updating ${ENVIRONMENT}"
# shellcheck disable=SC2086
docker-compose \
-f docker-compose.tools.yml \