mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 16:12:27 +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
 | 
			
		||||
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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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=""
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
@@ -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"
 | 
			
		||||
		Reference in New Issue
	
	Block a user