From ffda6e2bb8484546aae52aaa7e7c2bd7dd054cd6 Mon Sep 17 00:00:00 2001 From: DerFossibaer Date: Fri, 11 Feb 2022 22:32:38 +0100 Subject: [PATCH] kopano-core_0.1 --- src/kopano-core/constants-service.conf | 44 ++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/kopano-core/constants-service.conf diff --git a/src/kopano-core/constants-service.conf b/src/kopano-core/constants-service.conf new file mode 100644 index 0000000..30026c7 --- /dev/null +++ b/src/kopano-core/constants-service.conf @@ -0,0 +1,44 @@ +#!/bin/bash + +# Authors: +# (C) 2021 Idea an concept by Christian Zengel +# (C) 2021 Script design and prototype by Markus Helmke +# (C) 2021 Script rework and documentation by Thorsten Spille + +# This file contains the project constants on service level + +# Debian Version, which will be installed +LXC_TEMPLATE_VERSION="debian-10-standard" + +# Create sharefs mountpoint +LXC_MP="1" + +# Create unprivileged container +LXC_UNPRIVILEGED="1" + +# enable nesting feature +LXC_NESTING="1" + +# Defines the version number of piler mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest') +KOPANO_VERSION="latest" + +# Defines the php version to install +KOPANO_PHP_VERSION="7.3" + +# Defines Maria DB Version +MARIA_DB_VERS="10.5" + +# Defines the name from the SQL database +MARIA_DB_NAME="kopano" + +# Defines the name from the SQL user +MARIA_DB_USER="kopano" + +# Build a strong password for the SQL user - could be overwritten with something fixed +secure_pwd() { + set +o pipefail + LC_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32 +} +MARIA_ROOT_PWD=$(secure_pwd) +MARIA_USER_PWD=$(secure_pwd) +