chore: Adds Dendrite for Matrix.

This commit is contained in:
imterah 2024-12-12 10:54:53 -05:00
parent 00146edc51
commit c0b85e3268
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
4 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,21 @@
postgresql:
enabled: true # this installs Postgres
primary:
persistence:
enabled: true
size: 15Gi
persistence:
storageClass: longhorn
jetstream:
storageClass: longhorn
capacity: 5Gi
media:
storageClass: longhorn
capacity: 30Gi
search:
storageClass: longhorn
capacity: 5Gi
ingress:
enabled: false

View file

@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
namespace: matrix-dendrite-personal
name: dendrite
annotations:
metallb.universe.tf/loadBalancerIPs: 192.168.2.21
spec:
type: LoadBalancer
selector:
app.kubernetes.io/instance: dendrite
app.kubernetes.io/name: dendrite
ports:
- name: http
protocol: TCP
port: 8008
targetPort: http

View file

@ -0,0 +1,33 @@
[meta]
format_ver = 1
[matrix_dendrite_personal_repo]
description = Personal Dendrite Matrix Instance Repository
mode = helm
depends_on = traefik:longhorn_storage_class
[#matrix_dendrite_personal_repo/helm]
mode = add_repo
name = dendrite
repo = https://matrix-org.github.io/dendrite/
[matrix_dendrite_personal]
mode = helm
depends_on = matrix_dendrite_personal_repo
[#matrix_dendrite_personal/helm]
mode = upgrade
name = dendrite
repo = dendrite/dendrite
options_file = dendrite.yml
variable_file = ../../secrets/matrix/personal.env
create_namespace = yes
namespace = matrix-dendrite-personal
[matrix_dendrite_personal_ingress]
depends_on = matrix_dendrite_personal
mode = k3s
[#matrix_dendrite_personal_ingress/k3s]
mode = install
yml_path = ./ingress.yml

View file

@ -28,3 +28,7 @@ path = ./woodpecker-ci/project.ini
[immich_project]
mode = include
path = ./immich/project.ini
[matrix_dendrite_personal_project]
mode = include
path = ./matrix-dendrite-personal/project.ini