Fix custom domain's env variable name (#10092)

This commit is contained in:
Shrikant Sharat Kandula 2021-12-31 18:04:10 +05:30 committed by GitHub
parent d71a873e16
commit 8411e35999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,11 +9,10 @@ if [[ -f /appsmith-stacks/configuration/docker.env ]]; then
set +o allexport set +o allexport
fi fi
if [[ -n $CUSTOM_DOMAIN ]]; then if [[ -n $APPSMITH_CUSTOM_DOMAIN ]]; then
#then run script data_path="/appsmith-stacks/data/certificate"
local data_path="/appsmith-stacks/data/certificate" domain="$APPSMITH_CUSTOM_DOMAIN"
domain="$CUSTOM_DOMAIN" rsa_key_size=4096
local rsa_key_size=4096
certbot certonly --webroot --webroot-path="$data_path/certbot" \ certbot certonly --webroot --webroot-path="$data_path/certbot" \
--register-unsafely-without-email \ --register-unsafely-without-email \