Fix custom domain's env variable name (#10092)
This commit is contained in:
parent
d71a873e16
commit
8411e35999
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user