fix repos of matrix, onlyoffice

This commit is contained in:
Markus
2026-01-18 12:33:00 +01:00
parent 6bb93c7c0e
commit e6acbd25d4
3 changed files with 16 additions and 1 deletions

View File

@@ -111,8 +111,9 @@ inst_45drives() {
apt update apt update
} }
#### Set repo and install Docker ####
inst_docker() { inst_docker() {
apt_repo "docker" "https://download.docker.com/linux/debian/gpg" "https://download.docker.com/linux/debian" "$(lsb_release -cs)" stable apt_repo "docker" "https://download.docker.com/linux/debian/gpg" "https://download.docker.com/linux/debian" "$(lsb_release -cs)" stable
apt update 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 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
} }

View File

@@ -11,6 +11,13 @@ source /root/constants-service.conf
set -euo pipefail 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) MRX_PKE=$(random_password)
ELE_DBNAME="synapse_db" ELE_DBNAME="synapse_db"

View File

@@ -11,6 +11,13 @@ source /root/constants-service.conf
set -euo pipefail 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) ONLYOFFICE_DB_PASS=$(random_password)
inst_postgresql inst_postgresql