mirror of
https://github.com/IT4Change/gradido.git
synced 2026-04-25 23:37:36 +00:00
try to fix deploy script
This commit is contained in:
parent
9007636e47
commit
72c0b3d8df
@ -214,14 +214,13 @@ unset FEDERATION_APIVERSION
|
|||||||
unset FEDERATION_PORT
|
unset FEDERATION_PORT
|
||||||
log_step "===================================================================================================="
|
log_step "===================================================================================================="
|
||||||
|
|
||||||
|
export DLT_NGINX_CONF="${DLT_NGINX_CONF:-# dlt disabled}"
|
||||||
# prepare inspector and gradido dlt node nginx config blocks if enabled
|
# prepare inspector and gradido dlt node nginx config blocks if enabled
|
||||||
if [ "$DLT_CONNECTOR" = true ] ; then
|
if [ "$DLT_CONNECTOR" = true ] ; then
|
||||||
log_step "prepare inspector and dlt gradido node nginx config block"
|
log_step "prepare inspector and dlt gradido node nginx config block"
|
||||||
envsubst '$DLT_NODE_SERVER_PORT' < $NGINX_CONFIG_DIR/gradido-dlt.conf.template >> $NGINX_CONFIG_DIR/gradido-dlt.conf
|
envsubst '$DLT_NODE_SERVER_PORT' < $NGINX_CONFIG_DIR/gradido-dlt.conf.template >> $NGINX_CONFIG_DIR/gradido-dlt.conf
|
||||||
export DLT_NGINX_CONF=$(< $NGINX_CONFIG_DIR/gradido-dlt.conf)
|
export DLT_NGINX_CONF=$(< $NGINX_CONFIG_DIR/gradido-dlt.conf)
|
||||||
rm $NGINX_CONFIG_DIR/gradido-dlt.conf
|
rm $NGINX_CONFIG_DIR/gradido-dlt.conf
|
||||||
else
|
|
||||||
export DLT_NGINX_CONF="# dlt is disabled"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# *** 2nd read gradido-federation.conf file in env variable to be replaced in 3rd step
|
# *** 2nd read gradido-federation.conf file in env variable to be replaced in 3rd step
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user