diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 0360d15..aa28dd3 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -5,7 +5,7 @@ if [ "$SELFSIGNED_CERTS" = 'true' ]; then update-ca-certificates fi -if [[ "$TEMPLATE_CONFIG" = 'true' && ! -f "$OWFMS_CONFIG"/owfms.properties ]]; then +if [[ "$TEMPLATE_CONFIG" = 'true' ]]; then RESTAPI_HOST_ROOTCA=${RESTAPI_HOST_ROOTCA:-"\$OWFMS_ROOT/certs/restapi-ca.pem"} \ RESTAPI_HOST_PORT=${RESTAPI_HOST_PORT:-"16004"} \ RESTAPI_HOST_CERT=${RESTAPI_HOST_CERT:-"\$OWFMS_ROOT/certs/restapi-cert.pem"} \