diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 9f4e315..65d7285 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -24,6 +24,7 @@ if [[ "$TEMPLATE_CONFIG" = 'true' ]]; then SYSTEM_URI_PRIVATE=${SYSTEM_URI_PRIVATE:-"https://localhost:17005"} \ SYSTEM_URI_PUBLIC=${SYSTEM_URI_PUBLIC:-"https://localhost:16005"} \ SYSTEM_URI_UI=${SYSTEM_URI_UI:-"http://localhost"} \ + SECURITY_RESTAPI_DISABLE=${SECURITY_RESTAPI_DISABLE:-"false"} \ KAFKA_ENABLE=${KAFKA_ENABLE:-"true"} \ KAFKA_BROKERLIST=${KAFKA_BROKERLIST:-"localhost:9092"} \ KAFKA_SSL_CA_LOCATION=${KAFKA_SSL_CA_LOCATION:-""} \ diff --git a/owprov.properties b/owprov.properties index 41f504a..50566ff 100644 --- a/owprov.properties +++ b/owprov.properties @@ -34,6 +34,7 @@ openwifi.system.uri.private = https://localhost:17005 openwifi.system.uri.public = https://ucentral.dpaas.arilia.com:16005 openwifi.system.commandchannel = /tmp/app.owprov openwifi.system.uri.ui = owprov-ui.arilia.com +openwifi.security.restapi.disable = false firmware.updater.upgrade = false firmware.updater.releaseonly = false @@ -115,4 +116,4 @@ storage.type.mysql.connectiontimeout = 60 ######################################################################## logging.type = file logging.path = $OWPROV_ROOT/logs -logging.level = debug \ No newline at end of file +logging.level = debug diff --git a/owprov.properties.tmpl b/owprov.properties.tmpl index fa4fc9c..7abcb4c 100644 --- a/owprov.properties.tmpl +++ b/owprov.properties.tmpl @@ -39,6 +39,7 @@ openwifi.system.uri.private = ${SYSTEM_URI_PRIVATE} openwifi.system.uri.public = ${SYSTEM_URI_PUBLIC} openwifi.system.commandchannel = /tmp/app.ucentralfms openwifi.system.uri.ui = ${SYSTEM_URI_UI} +openwifi.security.restapi.disable = ${SECURITY_RESTAPI_DISABLE} ############################# # Generic information for all micro services