diff options
Diffstat (limited to 'docker/instance_config.sh')
-rwxr-xr-x | docker/instance_config.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/instance_config.sh b/docker/instance_config.sh index e312cf3..7fcaa7a 100755 --- a/docker/instance_config.sh +++ b/docker/instance_config.sh @@ -21,6 +21,11 @@ if [ $SERVICE_IP ]; then sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" modeling/etsicatalog/catalog/pub/config/config.py fi + +if [ $SSL_ENABLED ]; then + sed -i "s|SSL_ENABLED.*|SSL_ENABLED = '$SSL_ENABLED'|" modeling/etsicatalog/catalog/pub/config/config.py +fi + MYSQL_IP=`echo $MYSQL_ADDR | cut -d: -f 1` MYSQL_PORT=`echo $MYSQL_ADDR | cut -d: -f 2` echo "MYSQL_ADDR=$MYSQL_ADDR" |