forked from bashclub/zamba-lxc-toolbox
Create constants-service.conf
This commit is contained in:
parent
735719d600
commit
168aa38cfd
39
src/nextcloud/constants-service.conf
Normal file
39
src/nextcloud/constants-service.conf
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
|
||||||
|
# Create sharefs mountpoint
|
||||||
|
LXC_MP="1"
|
||||||
|
|
||||||
|
# Create unprivileged container
|
||||||
|
LXC_UNPRIVILEGED="1"
|
||||||
|
|
||||||
|
# enable nesting feature
|
||||||
|
LXC_NESTING="0"
|
||||||
|
|
||||||
|
# Defines the version number of piler mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest')
|
||||||
|
NEXTCLOUD_VERSION="latest"
|
||||||
|
|
||||||
|
# Defines the php version to install
|
||||||
|
NEXTCLOUD_PHP_VERSION="8.0"
|
||||||
|
|
||||||
|
# Defines the IP from the SQL server
|
||||||
|
NEXTCLOUD_DB_IP="127.0.0.1"
|
||||||
|
|
||||||
|
# Defines the PORT from the SQL server
|
||||||
|
NEXTCLOUD_DB_PORT="5432"
|
||||||
|
|
||||||
|
# Defines the name from the SQL database
|
||||||
|
NEXTCLOUD_DB_NAME="nextcloud_db"
|
||||||
|
|
||||||
|
# Defines the name from the SQL user
|
||||||
|
NEXTCLOUD_DB_USR="nextcloud"
|
||||||
|
|
||||||
|
# Build a strong password for the SQL user - could be overwritten with something fixed
|
||||||
|
NEXTCLOUD_DB_PWD="$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
|
Loading…
Reference in New Issue
Block a user