mirror of
https://github.com/bashclub/zamba-lxc-toolbox
synced 2026-02-18 15:36:20 +00:00
fix repos of matrix, onlyoffice
This commit is contained in:
@@ -111,8 +111,9 @@ inst_45drives() {
|
||||
apt update
|
||||
}
|
||||
|
||||
#### Set repo and install Docker ####
|
||||
inst_docker() {
|
||||
apt_repo "docker" "https://download.docker.com/linux/debian/gpg" "https://download.docker.com/linux/debian" "$(lsb_release -cs)" stable
|
||||
apt update
|
||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin pwgen
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,13 @@ source /root/constants-service.conf
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
#### Set repo and install matrix ####
|
||||
inst_matrix() {
|
||||
apt_repo "matrix" "https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg" "https://packages.matrix.org/debian" "$(lsb_release -cs)" "main"
|
||||
apt update
|
||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y -qq matrix-synapse-py3 && systemctl enable matrix-synapse
|
||||
}
|
||||
|
||||
MRX_PKE=$(random_password)
|
||||
|
||||
ELE_DBNAME="synapse_db"
|
||||
|
||||
@@ -11,6 +11,13 @@ source /root/constants-service.conf
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
#### Set repo and install onlyoffice ####
|
||||
inst_onlyoffice() {
|
||||
apt_repo "onlyoffice" "https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE" "https://download.onlyoffice.com/repo/debian" "squeeze" "main"
|
||||
apt update
|
||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y -qq ttf-mscorefonts-installer onlyoffice-documentserver
|
||||
}
|
||||
|
||||
ONLYOFFICE_DB_PASS=$(random_password)
|
||||
|
||||
inst_postgresql
|
||||
|
||||
Reference in New Issue
Block a user