Commit d686adae authored by benedikt.kroening's avatar benedikt.kroening
Browse files

added ox memory flag to config

parent 9ed149df
......@@ -10,13 +10,13 @@ OX_MAIL_DOMAIN=qa.open-xchange.com
# Database specific configuration
# Choose which DB type should be installed (mysql | mariadb)
INSTALL_DATABASE=true
DATABASE_TYPE=mariadb
# Choose which DB version should be installed
DATABASE_VERSION=10.4
# Default setup settings
# In order to modify the features to install use the parameters or uncomment the options here
INSTALL_DATABASE=true
INSTALL_MIDDLEWARE=true
INSTALL_FRONTEND=true
INSTALL_JAVA=true
......@@ -33,6 +33,3 @@ FEATURE_SPELLCHECK=true
FEATURE_DOCUMENTS=true
FEATURE_DOCUMENTCONVERTER=true
FEATURE_GUARD=true
# TODO: RMEOVE ME!!
OX_ENV_QA=true
......@@ -16,13 +16,18 @@ DATABASE_CONFIGDB_PASS=secret
DATABASE_CONFIGDB_NAME=configdb
# OX Backend specific configuration
OX_ADMINMASTER_USER=oxadminmaster
OX_ADMINMASTER_PASS=secret
OX_SERVER_NAME=$(hostname -s)
OX_CLUSTER_NAME=$(hostname -s)
OX_HAZELCAST_ENABLED=true
OX_ADMINMASTER_USER=oxadminmaster
OX_ADMINMASTER_PASS=secret
OX_MEM_HEAP=1024M
OX_MEM_PERM=256M
INSTALL_TYPE=singlenode
OX_ENV_GLOBAL_ADDRESS_BOOK
# Noreply specific settings
OX_ENV_NOREPLY_SERVER=${OX_MAIL_HOST}
OX_ENV_NOREPLY_ADDRESS=noreply@${OX_MAIL_DOMAIN}
......@@ -31,5 +36,6 @@ OX_ENV_NOREPLY_PASSWORD=secret
# Set this to false if you want to manually init your middleware config (either manual calling the clts or manually executing the scripts provided at config/middleware)
OX_INIT=true
OX_ENV_QA=true
CONFIG_LOADED=true
\ No newline at end of file
......@@ -33,6 +33,7 @@ if [ ! -f ${INIT_STATE_FILE} ]; then
echo "Configuring backend..."
# setting default config (key, value, filepath)
setOXProperty JAVA_OPTS_MEM "-XX:MaxHeapSize=${OX_MEM_HEAP} -XX:MaxPermSize=${OX_MEM_PERM} -XX:+UseTLAB" /opt/open-xchange/etc/ox-scriptconf.sh
setOXProperty com.openexchange.sessiond.autologin true /opt/open-xchange/etc/sessiond.properties
setOXProperty com.openexchange.IPCheck false /opt/open-xchange/etc/server.properties
setOXProperty com.openexchange.dispatcher.prefix "/appsuite/api/" /opt/open-xchange/etc/server.properties
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment