From 19da1483105838f82bcf0f3a4d7225b57bdeb592 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Fri, 10 Feb 2023 18:07:46 +0100 Subject: [PATCH] Add LXC_MEM_MIN to constatns-service.conf --- src/bookstack/constants-service.conf | 3 +++ src/checkmk/constants-service.conf | 3 +++ src/debian-priv/constants-service.conf | 3 +++ src/debian-unpriv/constants-service.conf | 3 +++ src/ecodms/constants-service.conf | 3 +++ src/gitea/constants-service.conf | 3 +++ src/kimai/constants-service.conf | 3 +++ src/kopano-core/constants-service.conf | 3 +++ src/mailpiler/constants-service.conf | 3 +++ src/matrix/constants-service.conf | 3 +++ src/nextcloud/constants-service.conf | 3 +++ src/onlyoffice/constants-service.conf | 3 +++ src/open3a/constants-service.conf | 3 +++ src/proxmox-pbs/constants-service.conf | 3 +++ src/tactical-rmm/constants-service.conf | 4 ++-- src/unifi/constants-service.conf | 3 +++ src/urbackup/constants-service.conf | 3 +++ src/vaultwarden/constants-service.conf | 3 +++ src/zabbix/constants-service.conf | 3 +++ src/zammad/constants-service.conf | 4 ++-- src/zmb-ad-join/constants-service.conf | 3 +++ src/zmb-ad/constants-service.conf | 3 +++ src/zmb-member/constants-service.conf | 3 +++ src/zmb-standalone/constants-service.conf | 3 +++ 24 files changed, 70 insertions(+), 4 deletions(-) diff --git a/src/bookstack/constants-service.conf b/src/bookstack/constants-service.conf index 1f9a027..6e865bd 100644 --- a/src/bookstack/constants-service.conf +++ b/src/bookstack/constants-service.conf @@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="1" # enable nesting feature LXC_NESTING="1" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="php-fpm,nginx,mariadb" \ No newline at end of file diff --git a/src/checkmk/constants-service.conf b/src/checkmk/constants-service.conf index c0042df..73978a6 100644 --- a/src/checkmk/constants-service.conf +++ b/src/checkmk/constants-service.conf @@ -24,5 +24,8 @@ CMK_VERSION=2.1.0p19 # build number of the debian package (needs to start with underscore) CMK_BUILD=_0 +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=2048 + # service dependent meta tags SERVICE_TAGS="apache2" \ No newline at end of file diff --git a/src/debian-priv/constants-service.conf b/src/debian-priv/constants-service.conf index 550f81c..6c4691a 100644 --- a/src/debian-priv/constants-service.conf +++ b/src/debian-priv/constants-service.conf @@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="0" # enable nesting feature LXC_NESTING="1" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=512 + # service dependent meta tags SERVICE_TAGS="privileged" \ No newline at end of file diff --git a/src/debian-unpriv/constants-service.conf b/src/debian-unpriv/constants-service.conf index a05e518..7e5a29b 100644 --- a/src/debian-unpriv/constants-service.conf +++ b/src/debian-unpriv/constants-service.conf @@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="1" # enable nesting feature LXC_NESTING="1" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=512 + # service dependent meta tags SERVICE_TAGS="" \ No newline at end of file diff --git a/src/ecodms/constants-service.conf b/src/ecodms/constants-service.conf index 1dac056..06b8fa2 100644 --- a/src/ecodms/constants-service.conf +++ b/src/ecodms/constants-service.conf @@ -22,5 +22,8 @@ LXC_NESTING="1" # set ecodms release version ECODMS_RELEASE=ecodms_220864 +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=6144 + # service dependent meta tags SERVICE_TAGS="java,postgresql" \ No newline at end of file diff --git a/src/gitea/constants-service.conf b/src/gitea/constants-service.conf index eb2ff1e..4019690 100644 --- a/src/gitea/constants-service.conf +++ b/src/gitea/constants-service.conf @@ -34,5 +34,8 @@ GITEA_DB_USR="gitea" # Build a strong password for the SQL user - could be overwritten with something fixed GITEA_DB_PWD="$(random_password)" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="nginx,postgresql" \ No newline at end of file diff --git a/src/kimai/constants-service.conf b/src/kimai/constants-service.conf index 2753b7a..12d6e1d 100644 --- a/src/kimai/constants-service.conf +++ b/src/kimai/constants-service.conf @@ -25,5 +25,8 @@ KIMAI_VERSION="main" # Defines the php version to install KIMAI_PHP_VERSION="8.1" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="php-fpm,nginx,mariadb" \ No newline at end of file diff --git a/src/kopano-core/constants-service.conf b/src/kopano-core/constants-service.conf index c393914..684eb6b 100644 --- a/src/kopano-core/constants-service.conf +++ b/src/kopano-core/constants-service.conf @@ -39,5 +39,8 @@ MARIA_DB_USER="kopano" MARIA_ROOT_PWD=$(random_password) MARIA_USER_PWD=$(random_password) +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=4096 + # service dependent meta tags SERVICE_TAGS="php-fpm,nginx,mariadb" \ No newline at end of file diff --git a/src/mailpiler/constants-service.conf b/src/mailpiler/constants-service.conf index 3a295e7..4523fd3 100644 --- a/src/mailpiler/constants-service.conf +++ b/src/mailpiler/constants-service.conf @@ -26,5 +26,8 @@ PILER_SPHINX_VERSION="3.3.1" # Defines the php version to install PILER_PHP_VERSION="7.4" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="php-fpm,nginx,mariadb,sphinx" \ No newline at end of file diff --git a/src/matrix/constants-service.conf b/src/matrix/constants-service.conf index d544d5c..a318186 100644 --- a/src/matrix/constants-service.conf +++ b/src/matrix/constants-service.conf @@ -22,5 +22,8 @@ LXC_NESTING="1" # Define the version of Element Web MATRIX_ELEMENT_VERSION="v1.9.9" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="nginx,postgresql" \ No newline at end of file diff --git a/src/nextcloud/constants-service.conf b/src/nextcloud/constants-service.conf index ac205a1..51f9a33 100644 --- a/src/nextcloud/constants-service.conf +++ b/src/nextcloud/constants-service.conf @@ -40,5 +40,8 @@ NEXTCLOUD_DB_USR="nextcloud" # Build a strong password for the SQL user - could be overwritten with something fixed NEXTCLOUD_DB_PWD="$(random_password)" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=4096 + # service dependent meta tags SERVICE_TAGS="php-fpm,nginx,postgresql" \ No newline at end of file diff --git a/src/onlyoffice/constants-service.conf b/src/onlyoffice/constants-service.conf index 416c1b2..d135850 100644 --- a/src/onlyoffice/constants-service.conf +++ b/src/onlyoffice/constants-service.conf @@ -25,5 +25,8 @@ ONLYOFFICE_DB_NAME=onlyoffice ONLYOFFICE_DB_USER=onlyoffice +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="nginx,postgresql,rabbitmq" \ No newline at end of file diff --git a/src/open3a/constants-service.conf b/src/open3a/constants-service.conf index 1f9a027..6e865bd 100644 --- a/src/open3a/constants-service.conf +++ b/src/open3a/constants-service.conf @@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="1" # enable nesting feature LXC_NESTING="1" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="php-fpm,nginx,mariadb" \ No newline at end of file diff --git a/src/proxmox-pbs/constants-service.conf b/src/proxmox-pbs/constants-service.conf index 4151e54..e720f35 100644 --- a/src/proxmox-pbs/constants-service.conf +++ b/src/proxmox-pbs/constants-service.conf @@ -22,5 +22,8 @@ LXC_NESTING="1" # Backup ubdir where Urbackup will store backups PBS_DATA="backup" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="backup" \ No newline at end of file diff --git a/src/tactical-rmm/constants-service.conf b/src/tactical-rmm/constants-service.conf index 34e35d9..ad74a02 100644 --- a/src/tactical-rmm/constants-service.conf +++ b/src/tactical-rmm/constants-service.conf @@ -25,8 +25,8 @@ RMM_DB_IP="127.0.0.1" # Defines the PORT from the SQL server RMM_DB_PORT="5432" -# Defines the amount of RAM in MB your LXC container is allowed to use (default: 1024) -LXC_MEM="4096" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=4096 # Defines the name from the SQL database RMM_DB_NAME="rmm" diff --git a/src/unifi/constants-service.conf b/src/unifi/constants-service.conf index e38defb..ccb3471 100644 --- a/src/unifi/constants-service.conf +++ b/src/unifi/constants-service.conf @@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="1" # enable nesting feature LXC_NESTING="1" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=2048 + # service dependent meta tags SERVICE_TAGS="mongodb-server,java" \ No newline at end of file diff --git a/src/urbackup/constants-service.conf b/src/urbackup/constants-service.conf index bb9e804..d1511bb 100644 --- a/src/urbackup/constants-service.conf +++ b/src/urbackup/constants-service.conf @@ -25,5 +25,8 @@ URBACKUP_DATA="urbackup" # OS codename for opensuse / urbackup repo REPO_CODENAME="Debian_11" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="nginx" \ No newline at end of file diff --git a/src/vaultwarden/constants-service.conf b/src/vaultwarden/constants-service.conf index ee433eb..65d4f55 100644 --- a/src/vaultwarden/constants-service.conf +++ b/src/vaultwarden/constants-service.conf @@ -28,5 +28,8 @@ VAULTWARDEN_DB_USR="vaultwarden" # Build a strong password for the SQL user - could be overwritten with something fixed VAULTWARDEN_DB_PWD="$(random_password)" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="nginx,postgresql" \ No newline at end of file diff --git a/src/zabbix/constants-service.conf b/src/zabbix/constants-service.conf index e88cac4..d4ac610 100644 --- a/src/zabbix/constants-service.conf +++ b/src/zabbix/constants-service.conf @@ -35,5 +35,8 @@ ZABBIX_DB_USR="zabbix" # Build a strong password for the SQL user - could be overwritten with something fixed ZABBIX_DB_PWD="$(random_password)" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=2048 + # service dependent meta tags SERVICE_TAGS="php-fpm,nginx,postgresql" \ No newline at end of file diff --git a/src/zammad/constants-service.conf b/src/zammad/constants-service.conf index d4e5885..823fde3 100644 --- a/src/zammad/constants-service.conf +++ b/src/zammad/constants-service.conf @@ -19,8 +19,8 @@ LXC_UNPRIVILEGED="1" # enable nesting feature LXC_NESTING="1" -# Defines the amount of RAM in MB your LXC container is allowed to use (default: 1024) -LXC_MEM="4096" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=4096 # service dependent meta tags SERVICE_TAGS="nginx,postgresql,elasticsearch" \ No newline at end of file diff --git a/src/zmb-ad-join/constants-service.conf b/src/zmb-ad-join/constants-service.conf index a63fb39..712060f 100644 --- a/src/zmb-ad-join/constants-service.conf +++ b/src/zmb-ad-join/constants-service.conf @@ -31,5 +31,8 @@ LXC_NESTING="1" # OPTIONAL_FEATURES=(wsdd splitdns) OPTIONAL_FEATURES=(wsdd splitdns) +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="nginx,samba,dns,ntp,dc,ldap,secondary" \ No newline at end of file diff --git a/src/zmb-ad/constants-service.conf b/src/zmb-ad/constants-service.conf index ec5cea6..79de74b 100644 --- a/src/zmb-ad/constants-service.conf +++ b/src/zmb-ad/constants-service.conf @@ -31,5 +31,8 @@ LXC_NESTING="1" # OPTIONAL_FEATURES=(wsdd splitdns) OPTIONAL_FEATURES=(wsdd splitdns) +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="nginx,samba,dns,ntp,dc,ldap,primary" \ No newline at end of file diff --git a/src/zmb-member/constants-service.conf b/src/zmb-member/constants-service.conf index 12d46e5..47f6a82 100644 --- a/src/zmb-member/constants-service.conf +++ b/src/zmb-member/constants-service.conf @@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="0" # enable nesting feature LXC_NESTING="1" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="samba,member,fileserver" \ No newline at end of file diff --git a/src/zmb-standalone/constants-service.conf b/src/zmb-standalone/constants-service.conf index b71b870..1b9daf8 100644 --- a/src/zmb-standalone/constants-service.conf +++ b/src/zmb-standalone/constants-service.conf @@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="0" # enable nesting feature LXC_NESTING="1" +# Sets the minimum amount of RAM the service needs for operation +LXC_MEM_MIN=1024 + # service dependent meta tags SERVICE_TAGS="samba,nfs,standalone,fileserver,cockpit" \ No newline at end of file