Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Added error.ftl for keycloak Increased memory for maanger and keycloak to 600MB

Michael Rademaker97c375122c5f
diff --git a/profile/deploy.yml b/profile/deploy.yml
index a35e0c63e..47ca1e228 100644
--- a/profile/deploy.yml
+++ b/profile/deploy.yml
@@ -239,8 +239,8 @@ services:
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/javadump.core.hprof'
# Resource limits
- mem_limit: 512m
- memswap_limit: 512m
+ mem_limit: 600m
+ memswap_limit: 600m
# Configure logging of the container, see deployment/logging.properties
logging:
@@ -289,8 +289,8 @@ services:
-Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true'
# Resource limits
- mem_limit: 512m
- memswap_limit: 512m
+ mem_limit: 600m
+ memswap_limit: 600m
# Configure logging of the container
logging:
diff --git a/ui/keycloak/themes/openremote/login/error.ftl b/ui/keycloak/themes/openremote/login/error.ftl
new file mode 100644
index 000000000..97927dd91
--- /dev/null
+++ b/ui/keycloak/themes/openremote/login/error.ftl
@@ -0,0 +1,13 @@
+<#import "template.ftl" as layout>
+<@layout.registrationLayout displayMessage=false; section>
+ <#if section = "header">
+ ${msg("errorTitle")}
+ <#elseif section = "form">
+ <div id="kc-error-message">
+ <p class="instruction">${message.summary?no_esc}</p>
+ <#if client?? && client.baseUrl?has_content>
+ <p><a id="backToApplication" href="${client.baseUrl}">${kcSanitize(msg("backToApplication"))?no_esc}</a></p>
+ </#if>
+ </div>
+ </#if>
+</@layout.registrationLayout>