| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- ---
- kind: Deployment
- apiVersion: apps/v1
- metadata:
- name: matrix
- labels:
- app: matrix
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: matrix
- template:
- metadata:
- labels:
- app: matrix
- spec:
- containers:
- - name: matrix
- image: ghcr.io/element-hq/synapse
- env:
- - name: SYNAPSE_SERVER_NAME
- value: "matrix.dezendorf.net"
- ports:
- - name: web
- containerPort: 8008
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: matrix
- spec:
- type: ClusterIP
- ports:
- - name: web
- port: 8008
- selector:
- app: matrix
- ---
- apiVersion: traefik.containo.us/v1alpha1
- kind: IngressRoute
- metadata:
- name: matrix-ingress-route
- namespace: default
- spec:
- entryPoints:
- - web
- routes:
- - match: ((Host(`matrix`)||Host(`matrix.dezendorf.net`)))
- kind: Rule
- priority: 1
- services:
- - name: matrix
- port: 8008
- ---
- apiVersion: traefik.containo.us/v1alpha1
- kind: IngressRoute
- metadata:
- name: matrix-websecure-route
- namespace: default
- spec:
- entryPoints:
- - websecure
- routes:
- - match: Host(`matrix.dezendorf.net`)
- kind: Rule
- services:
- - name: matrix
- port: 8008
- tls:
- certResolver: myresolver
|