mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2026-06-20 07:35:45 +02:00
35 lines
958 B
Bash
35 lines
958 B
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-11-standard"
|
|
|
|
# Create sharefs mountpoint
|
|
LXC_MP="1"
|
|
|
|
# Create unprivileged container
|
|
LXC_UNPRIVILEGED="0"
|
|
|
|
# enable nesting feature
|
|
LXC_NESTING="1"
|
|
|
|
# Defines the IP from the SQL server
|
|
GITEA_DB_IP="127.0.0.1"
|
|
|
|
# Defines the PORT from the SQL server
|
|
GITEA_DB_PORT="5432"
|
|
|
|
# Defines the name from the SQL database
|
|
GITEA_DB_NAME="gitea"
|
|
|
|
# Defines the name from the SQL user
|
|
GITEA_DB_USR="gitea"
|
|
|
|
# Build a strong password for the SQL user - could be overwritten with something fixed
|
|
GITEA_DB_PWD="$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)" |