add t0rt1k matrix homeserver
This commit is contained in:
89
argocd/apps/matrix-t0rt1k.yaml
Normal file
89
argocd/apps/matrix-t0rt1k.yaml
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: matrix-t0rt1k
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: http://gitea.gitea.svc.cluster.local:3000/admin/main.git
|
||||||
|
targetRevision: master
|
||||||
|
path: manifests/matrix-t0rt1k
|
||||||
|
directory:
|
||||||
|
recurse: true
|
||||||
|
include: "*.yaml"
|
||||||
|
- repoURL: ghcr.io
|
||||||
|
chart: element-hq/ess-helm/matrix-stack
|
||||||
|
targetRevision: 26.6.1
|
||||||
|
helm:
|
||||||
|
values: |
|
||||||
|
serverName: t0rt1k.tech
|
||||||
|
|
||||||
|
certManager:
|
||||||
|
clusterIssuer: letsencrypt-production
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
className: traefik
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
synapse:
|
||||||
|
postgres:
|
||||||
|
host: shared-pg-rw.cnpg.svc.cluster.local
|
||||||
|
database: synapse_t0rt1k
|
||||||
|
user: synapse_t0rt1k
|
||||||
|
password:
|
||||||
|
secret: pg-creds
|
||||||
|
secretKey: synapse
|
||||||
|
media:
|
||||||
|
storage:
|
||||||
|
size: 10Gi
|
||||||
|
ingress:
|
||||||
|
host: matrix.t0rt1k.tech
|
||||||
|
|
||||||
|
matrixAuthenticationService:
|
||||||
|
postgres:
|
||||||
|
host: shared-pg-rw.cnpg.svc.cluster.local
|
||||||
|
database: mas_t0rt1k
|
||||||
|
user: mas_t0rt1k
|
||||||
|
password:
|
||||||
|
secret: pg-creds
|
||||||
|
secretKey: mas
|
||||||
|
ingress:
|
||||||
|
host: auth.t0rt1k.tech
|
||||||
|
|
||||||
|
elementWeb:
|
||||||
|
ingress:
|
||||||
|
host: chat.t0rt1k.tech
|
||||||
|
|
||||||
|
elementAdmin:
|
||||||
|
ingress:
|
||||||
|
host: admin.t0rt1k.tech
|
||||||
|
|
||||||
|
matrixRTC:
|
||||||
|
ingress:
|
||||||
|
host: rtc.t0rt1k.tech
|
||||||
|
sfu:
|
||||||
|
manualIP: "81.26.181.240"
|
||||||
|
useStunToDiscoverPublicIP: false
|
||||||
|
exposedServices:
|
||||||
|
rtcTcp:
|
||||||
|
port: 30007
|
||||||
|
portType: NodePort
|
||||||
|
nodePort: ""
|
||||||
|
rtcMuxedUdp:
|
||||||
|
port: 30006
|
||||||
|
portType: NodePort
|
||||||
|
nodePort: ""
|
||||||
|
|
||||||
|
hookshot:
|
||||||
|
enabled: true
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: matrix-t0rt1k
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -33,6 +33,8 @@ spec:
|
|||||||
- "--entryPoints.ssh.address=:2222/tcp"
|
- "--entryPoints.ssh.address=:2222/tcp"
|
||||||
- "--entryPoints.rtc-tcp-mrt0rtikize.address=:30009/tcp"
|
- "--entryPoints.rtc-tcp-mrt0rtikize.address=:30009/tcp"
|
||||||
- "--entryPoints.rtc-udp-mrt0rtikize.address=:30008/udp"
|
- "--entryPoints.rtc-udp-mrt0rtikize.address=:30008/udp"
|
||||||
|
- "--entryPoints.rtc-tcp-t0rt1k.address=:30007/tcp"
|
||||||
|
- "--entryPoints.rtc-udp-t0rt1k.address=:30006/udp"
|
||||||
- "--providers.kubernetesingress.ingressclass=traefik"
|
- "--providers.kubernetesingress.ingressclass=traefik"
|
||||||
- "--providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik"
|
- "--providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik"
|
||||||
- "--accesslog=true"
|
- "--accesslog=true"
|
||||||
@@ -69,6 +71,18 @@ spec:
|
|||||||
protocol: UDP
|
protocol: UDP
|
||||||
expose:
|
expose:
|
||||||
default: true
|
default: true
|
||||||
|
rtc-tcp-t0rt1k:
|
||||||
|
port: 30007
|
||||||
|
exposedPort: 30007
|
||||||
|
protocol: TCP
|
||||||
|
expose:
|
||||||
|
default: true
|
||||||
|
rtc-udp-t0rt1k:
|
||||||
|
port: 30006
|
||||||
|
exposedPort: 30006
|
||||||
|
protocol: UDP
|
||||||
|
expose:
|
||||||
|
default: true
|
||||||
metrics:
|
metrics:
|
||||||
port: 9100
|
port: 9100
|
||||||
expose:
|
expose:
|
||||||
|
|||||||
13
manifests/matrix-t0rt1k/ingressroute-rtc-tcp.yaml
Normal file
13
manifests/matrix-t0rt1k/ingressroute-rtc-tcp.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRouteTCP
|
||||||
|
metadata:
|
||||||
|
name: rtc-tcp
|
||||||
|
namespace: matrix-t0rt1k
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- rtc-tcp-t0rt1k
|
||||||
|
routes:
|
||||||
|
- match: HostSNI(`*`)
|
||||||
|
services:
|
||||||
|
- name: matrix-t0rt1k-matrix-rtc-sfu-tcp
|
||||||
|
port: 30007
|
||||||
12
manifests/matrix-t0rt1k/ingressroute-rtc-udp.yaml
Normal file
12
manifests/matrix-t0rt1k/ingressroute-rtc-udp.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRouteUDP
|
||||||
|
metadata:
|
||||||
|
name: rtc-udp
|
||||||
|
namespace: matrix-t0rt1k
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- rtc-udp-t0rt1k
|
||||||
|
routes:
|
||||||
|
- services:
|
||||||
|
- name: matrix-t0rt1k-matrix-rtc-sfu-muxed-udp
|
||||||
|
port: 30006
|
||||||
Reference in New Issue
Block a user