mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2025-08-02 20:25:01 +02:00
44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
#!/bin/bash
|
|
|
|
# Authors:
|
|
# (C) 2021 Idea an concept by Christian Zengel <christian@sysops.de>
|
|
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
|
|
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
|
|
|
|
# This file contains the project constants on service level
|
|
|
|
# Debian Version, which will be installed
|
|
LXC_TEMPLATE_VERSION="debian-12-standard"
|
|
|
|
# Create sharefs mountpoint
|
|
LXC_MP=0
|
|
# Defines the mountpoint of the filesystem shared by Zamba inside your LXC container (default: tank)
|
|
LXC_SHAREFS_MOUNTPOINT="tank"
|
|
# Defines the recordsize of mp0
|
|
LXC_MP_RECORDSIZE="16K"
|
|
|
|
# Create unprivileged container
|
|
LXC_UNPRIVILEGED="1"
|
|
|
|
# enable nesting feature
|
|
LXC_NESTING="1"
|
|
|
|
# enable keyctl feature
|
|
LXC_KEYCTL="0"
|
|
|
|
# Sets the minimum amount of RAM the service needs for operation
|
|
LXC_MEM_MIN=1024
|
|
|
|
# --- Service Metadata ---
|
|
ZAMBA_SERVICE_NAME="Icinga2 Monitoring Stack"
|
|
ZAMBA_SERVICE_DESC="Installiert Icinga2, Icingaweb2, Director, Nginx, PostgreSQL, InfluxDB2 und Grafana."
|
|
|
|
# --- Service Configuration ---
|
|
# Path to store the generated credentials for the admin
|
|
CRED_FILE="/root/.zamba_credentials/icinga_stack.txt"
|
|
|
|
# Define the PHP version for the current OS release.
|
|
# For Debian 12 (Bookworm), this is 8.2.
|
|
# For a future Debian 13 (Trixie), you would likely change this to "8.3".
|
|
PHP_VERSION="8.2"
|