forked from public/stack
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: StatefulSet
|
||
|
metadata:
|
||
|
name: mautrix-telegram-bridge
|
||
|
spec:
|
||
|
template:
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: telegram-mautrix
|
||
|
image: dock.mau.dev/mautrix/telegram
|
||
|
command:
|
||
|
- python3
|
||
|
args:
|
||
|
- -m
|
||
|
- mautrix_telegram
|
||
|
- -n
|
||
|
- -c
|
||
|
- /data/secrets.yaml
|
||
|
ports:
|
||
|
- name: http
|
||
|
containerPort: 29335
|
||
|
protocol: TCP
|
||
|
volumeMounts:
|
||
|
- name: config-secrets
|
||
|
mountPath: /data/secrets.yaml
|
||
|
subPath: config.yaml
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
path: /_matrix/mau/live
|
||
|
port: http
|
||
|
scheme: HTTP
|
||
|
initialDelaySeconds: 120
|
||
|
readinessProbe:
|
||
|
httpGet:
|
||
|
path: /_matrix/mau/ready
|
||
|
port: http
|
||
|
scheme: HTTP
|
||
|
initialDelaySeconds: 10
|
||
|
volumes:
|
||
|
- name: config-secrets
|
||
|
secret:
|
||
|
secretName: mautrix-telegram
|