mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 08:02:28 +01:00 
			
		
		
		
	Add LXC_MEM_MIN to constatns-service.conf
This commit is contained in:
		@@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="1"
 | 
				
			|||||||
# enable nesting feature
 | 
					# enable nesting feature
 | 
				
			||||||
LXC_NESTING="1"
 | 
					LXC_NESTING="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=1024
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="php-fpm,nginx,mariadb"
 | 
					SERVICE_TAGS="php-fpm,nginx,mariadb"
 | 
				
			||||||
@@ -24,5 +24,8 @@ CMK_VERSION=2.1.0p19
 | 
				
			|||||||
# build number of the debian package (needs to start with underscore)
 | 
					# build number of the debian package (needs to start with underscore)
 | 
				
			||||||
CMK_BUILD=_0
 | 
					CMK_BUILD=_0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=2048
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="apache2"
 | 
					SERVICE_TAGS="apache2"
 | 
				
			||||||
@@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="0"
 | 
				
			|||||||
# enable nesting feature
 | 
					# enable nesting feature
 | 
				
			||||||
LXC_NESTING="1"
 | 
					LXC_NESTING="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=512
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="privileged"
 | 
					SERVICE_TAGS="privileged"
 | 
				
			||||||
@@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="1"
 | 
				
			|||||||
# enable nesting feature
 | 
					# enable nesting feature
 | 
				
			||||||
LXC_NESTING="1"
 | 
					LXC_NESTING="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=512
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS=""
 | 
					SERVICE_TAGS=""
 | 
				
			||||||
@@ -22,5 +22,8 @@ LXC_NESTING="1"
 | 
				
			|||||||
# set ecodms release version
 | 
					# set ecodms release version
 | 
				
			||||||
ECODMS_RELEASE=ecodms_220864
 | 
					ECODMS_RELEASE=ecodms_220864
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=6144
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="java,postgresql"
 | 
					SERVICE_TAGS="java,postgresql"
 | 
				
			||||||
@@ -34,5 +34,8 @@ GITEA_DB_USR="gitea"
 | 
				
			|||||||
# Build a strong password for the SQL user - could be overwritten with something fixed
 | 
					# Build a strong password for the SQL user - could be overwritten with something fixed
 | 
				
			||||||
GITEA_DB_PWD="$(random_password)"
 | 
					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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="nginx,postgresql"
 | 
					SERVICE_TAGS="nginx,postgresql"
 | 
				
			||||||
@@ -25,5 +25,8 @@ KIMAI_VERSION="main"
 | 
				
			|||||||
# Defines the php version to install
 | 
					# Defines the php version to install
 | 
				
			||||||
KIMAI_PHP_VERSION="8.1"
 | 
					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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="php-fpm,nginx,mariadb"
 | 
					SERVICE_TAGS="php-fpm,nginx,mariadb"
 | 
				
			||||||
@@ -39,5 +39,8 @@ MARIA_DB_USER="kopano"
 | 
				
			|||||||
MARIA_ROOT_PWD=$(random_password)
 | 
					MARIA_ROOT_PWD=$(random_password)
 | 
				
			||||||
MARIA_USER_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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="php-fpm,nginx,mariadb"
 | 
					SERVICE_TAGS="php-fpm,nginx,mariadb"
 | 
				
			||||||
@@ -26,5 +26,8 @@ PILER_SPHINX_VERSION="3.3.1"
 | 
				
			|||||||
# Defines the php version to install
 | 
					# Defines the php version to install
 | 
				
			||||||
PILER_PHP_VERSION="7.4"
 | 
					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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="php-fpm,nginx,mariadb,sphinx"
 | 
					SERVICE_TAGS="php-fpm,nginx,mariadb,sphinx"
 | 
				
			||||||
@@ -22,5 +22,8 @@ LXC_NESTING="1"
 | 
				
			|||||||
# Define the version of Element Web
 | 
					# Define the version of Element Web
 | 
				
			||||||
MATRIX_ELEMENT_VERSION="v1.9.9"
 | 
					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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="nginx,postgresql"
 | 
					SERVICE_TAGS="nginx,postgresql"
 | 
				
			||||||
@@ -40,5 +40,8 @@ NEXTCLOUD_DB_USR="nextcloud"
 | 
				
			|||||||
# Build a strong password for the SQL user - could be overwritten with something fixed 
 | 
					# Build a strong password for the SQL user - could be overwritten with something fixed 
 | 
				
			||||||
NEXTCLOUD_DB_PWD="$(random_password)"
 | 
					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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="php-fpm,nginx,postgresql"
 | 
					SERVICE_TAGS="php-fpm,nginx,postgresql"
 | 
				
			||||||
@@ -25,5 +25,8 @@ ONLYOFFICE_DB_NAME=onlyoffice
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
ONLYOFFICE_DB_USER=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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="nginx,postgresql,rabbitmq"
 | 
					SERVICE_TAGS="nginx,postgresql,rabbitmq"
 | 
				
			||||||
@@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="1"
 | 
				
			|||||||
# enable nesting feature
 | 
					# enable nesting feature
 | 
				
			||||||
LXC_NESTING="1"
 | 
					LXC_NESTING="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=1024
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="php-fpm,nginx,mariadb"
 | 
					SERVICE_TAGS="php-fpm,nginx,mariadb"
 | 
				
			||||||
@@ -22,5 +22,8 @@ LXC_NESTING="1"
 | 
				
			|||||||
# Backup ubdir where Urbackup will store backups
 | 
					# Backup ubdir where Urbackup will store backups
 | 
				
			||||||
PBS_DATA="backup"
 | 
					PBS_DATA="backup"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=1024
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="backup"
 | 
					SERVICE_TAGS="backup"
 | 
				
			||||||
@@ -25,8 +25,8 @@ RMM_DB_IP="127.0.0.1"
 | 
				
			|||||||
# Defines the PORT from the SQL server
 | 
					# Defines the PORT from the SQL server
 | 
				
			||||||
RMM_DB_PORT="5432"
 | 
					RMM_DB_PORT="5432"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Defines the amount of RAM in MB your LXC container is allowed to use (default: 1024)
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
LXC_MEM="4096"
 | 
					LXC_MEM_MIN=4096
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Defines the name from the SQL database
 | 
					# Defines the name from the SQL database
 | 
				
			||||||
RMM_DB_NAME="rmm"
 | 
					RMM_DB_NAME="rmm"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="1"
 | 
				
			|||||||
# enable nesting feature
 | 
					# enable nesting feature
 | 
				
			||||||
LXC_NESTING="1"
 | 
					LXC_NESTING="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=2048
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="mongodb-server,java"
 | 
					SERVICE_TAGS="mongodb-server,java"
 | 
				
			||||||
@@ -25,5 +25,8 @@ URBACKUP_DATA="urbackup"
 | 
				
			|||||||
# OS codename for opensuse / urbackup repo
 | 
					# OS codename for opensuse / urbackup repo
 | 
				
			||||||
REPO_CODENAME="Debian_11"
 | 
					REPO_CODENAME="Debian_11"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=1024
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="nginx"
 | 
					SERVICE_TAGS="nginx"
 | 
				
			||||||
@@ -28,5 +28,8 @@ VAULTWARDEN_DB_USR="vaultwarden"
 | 
				
			|||||||
# Build a strong password for the SQL user - could be overwritten with something fixed
 | 
					# Build a strong password for the SQL user - could be overwritten with something fixed
 | 
				
			||||||
VAULTWARDEN_DB_PWD="$(random_password)"
 | 
					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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="nginx,postgresql"
 | 
					SERVICE_TAGS="nginx,postgresql"
 | 
				
			||||||
@@ -35,5 +35,8 @@ ZABBIX_DB_USR="zabbix"
 | 
				
			|||||||
# Build a strong password for the SQL user - could be overwritten with something fixed
 | 
					# Build a strong password for the SQL user - could be overwritten with something fixed
 | 
				
			||||||
ZABBIX_DB_PWD="$(random_password)"
 | 
					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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="php-fpm,nginx,postgresql"
 | 
					SERVICE_TAGS="php-fpm,nginx,postgresql"
 | 
				
			||||||
@@ -19,8 +19,8 @@ LXC_UNPRIVILEGED="1"
 | 
				
			|||||||
# enable nesting feature
 | 
					# enable nesting feature
 | 
				
			||||||
LXC_NESTING="1"
 | 
					LXC_NESTING="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Defines the amount of RAM in MB your LXC container is allowed to use (default: 1024)
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
LXC_MEM="4096"
 | 
					LXC_MEM_MIN=4096
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="nginx,postgresql,elasticsearch"
 | 
					SERVICE_TAGS="nginx,postgresql,elasticsearch"
 | 
				
			||||||
@@ -31,5 +31,8 @@ LXC_NESTING="1"
 | 
				
			|||||||
# OPTIONAL_FEATURES=(wsdd splitdns)
 | 
					# OPTIONAL_FEATURES=(wsdd splitdns)
 | 
				
			||||||
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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="nginx,samba,dns,ntp,dc,ldap,secondary"
 | 
					SERVICE_TAGS="nginx,samba,dns,ntp,dc,ldap,secondary"
 | 
				
			||||||
@@ -31,5 +31,8 @@ LXC_NESTING="1"
 | 
				
			|||||||
# OPTIONAL_FEATURES=(wsdd splitdns)
 | 
					# OPTIONAL_FEATURES=(wsdd splitdns)
 | 
				
			||||||
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 dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="nginx,samba,dns,ntp,dc,ldap,primary"
 | 
					SERVICE_TAGS="nginx,samba,dns,ntp,dc,ldap,primary"
 | 
				
			||||||
@@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="0"
 | 
				
			|||||||
# enable nesting feature
 | 
					# enable nesting feature
 | 
				
			||||||
LXC_NESTING="1"
 | 
					LXC_NESTING="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=1024
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="samba,member,fileserver"
 | 
					SERVICE_TAGS="samba,member,fileserver"
 | 
				
			||||||
@@ -19,5 +19,8 @@ LXC_UNPRIVILEGED="0"
 | 
				
			|||||||
# enable nesting feature
 | 
					# enable nesting feature
 | 
				
			||||||
LXC_NESTING="1"
 | 
					LXC_NESTING="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sets the minimum amount of RAM the service needs for operation
 | 
				
			||||||
 | 
					LXC_MEM_MIN=1024
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# service dependent meta tags
 | 
					# service dependent meta tags
 | 
				
			||||||
SERVICE_TAGS="samba,nfs,standalone,fileserver,cockpit"
 | 
					SERVICE_TAGS="samba,nfs,standalone,fileserver,cockpit"
 | 
				
			||||||
		Reference in New Issue
	
	Block a user