2023-01-21 02:30:09 +01:00
|
|
|
#!/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="0"
|
|
|
|
|
|
|
|
# Create unprivileged container
|
|
|
|
LXC_UNPRIVILEGED="1"
|
|
|
|
|
|
|
|
# enable nesting feature
|
|
|
|
LXC_NESTING="1"
|
|
|
|
|
|
|
|
# Defines the name from the SQL database
|
|
|
|
VAULTWARDEN_DB_NAME="vaultwarden"
|
|
|
|
|
|
|
|
# Defines the name from the SQL user
|
|
|
|
VAULTWARDEN_DB_USR="vaultwarden"
|
|
|
|
|
|
|
|
# Build a strong password for the SQL user - could be overwritten with something fixed
|
2023-01-24 23:04:00 +01:00
|
|
|
VAULTWARDEN_DB_PWD="$(random_password)"
|
|
|
|
|
|
|
|
# service dependent meta tags
|
|
|
|
SERVICE_TAGS="nginx,postgresql"
|