From 402fb6188728bf1fb7ac19b5cd7c93719e3fac9f Mon Sep 17 00:00:00 2001 From: Claudio Mezzasalma Date: Thu, 25 Jun 2020 10:44:34 +0200 Subject: [PATCH] Disable datastore for REST API Signed-off-by: Claudio Mezzasalma --- assembly/api/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assembly/api/docker/Dockerfile b/assembly/api/docker/Dockerfile index 4604976389c..4dbaffc6d7e 100644 --- a/assembly/api/docker/Dockerfile +++ b/assembly/api/docker/Dockerfile @@ -36,7 +36,8 @@ ENV JAVA_OPTS "-Dcommons.db.schema.update=true \ -Ddatastore.client.class=\${DATASTORE_CLIENT} \ -Dcommons.eventbus.url=\${SERVICE_BROKER_ADDR} \ -Dcertificate.jwt.private.key=file:///var/opt/jetty/key.pk8 \ - -Dcertificate.jwt.certificate=file:///var/opt/jetty/cert.pem" + -Dcertificate.jwt.certificate=file:///var/opt/jetty/cert.pem \ + -Ddatastore.disable=\${KAPUA_DISABLE_DATASTORE:-false}" USER 0