1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

set prod certificate to true in nats wrapper script

This commit is contained in:
postmannen 2021-12-08 14:32:11 +01:00
parent e560edaf7c
commit 2a52306247

View file

@ -15,7 +15,7 @@ else
exit 1
fi
if docker run -it --rm -v "$PWD:/certs/:rw" -p 80:80 -p 443:443 -e DAEMON=false -e USER_FOLDER=/certs -e PROD=false -e DOMAIN="$FQDN" certupdater:0.1.0; then
if docker run -it --rm -v "$PWD:/certs/:rw" -p 80:80 -p 443:443 -e DAEMON=false -e USER_FOLDER=/certs -e PROD=true -e DOMAIN="$FQDN" certupdater:0.1.0; then
echo " * successfully generated LetsEncrypt certificate"
else
echo " * failed to generate LetsEncrypt certificate."