diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 675d592..fc49666 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,8 +2,13 @@ set -e #set -x + + if [ "${LE_ENV}" == 'production' ]; then + echo "***** ${LE_ENV} *****" sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config +else + echo "***** staging *****" fi echo "${@}"