Updated repository to the new configuration.
This commit is contained in:
parent
25dde6a119
commit
1945f193ea
31 changed files with 766 additions and 866 deletions
129
pods/matrix/matrix-pod.yml
Normal file
129
pods/matrix/matrix-pod.yml
Normal file
|
@ -0,0 +1,129 @@
|
|||
apiversion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: matrix-pod
|
||||
annotations:
|
||||
io.podman.annotations.infra.name: matrix-pod-infra
|
||||
spec:
|
||||
containers:
|
||||
- name: dendrite
|
||||
image: matrixdotorg/dendrite-monolith:latest
|
||||
ports:
|
||||
- containerport: 8008
|
||||
hostport: 3080
|
||||
protocol: TCP
|
||||
- containerport: 8448
|
||||
hostport: 8448
|
||||
protocol: TCP
|
||||
volumemounts:
|
||||
- mountpath: /etc/dendrite
|
||||
name: dendrite-config
|
||||
- mountpath: /var/dendrite/media
|
||||
name: dendrite-media
|
||||
- mountpath: /var/dendrite/jetstream
|
||||
name: dendrite-jetstream
|
||||
- mountpath: /var/dendrite/searchindex
|
||||
name: dendrite-searchindex
|
||||
- mountpath: /etc/localtime
|
||||
name: localtime
|
||||
readonly: true
|
||||
|
||||
- name: mautrix-whatsapp
|
||||
image: dock.mau.dev/mautrix/whatsapp:latest
|
||||
command:
|
||||
- /usr/bin/mautrix-whatsapp
|
||||
- -c
|
||||
- /data/config.yaml
|
||||
- -r
|
||||
- /data/registration.yaml
|
||||
- --ignore-unsupported-server
|
||||
volumemounts:
|
||||
- mountpath: /data
|
||||
name: mautrix-whatsapp-config
|
||||
- mountpath: /etc/localtime
|
||||
name: localtime
|
||||
readonly: true
|
||||
|
||||
- name: mautrix-signal
|
||||
image: dock.mau.dev/mautrix/signal:latest
|
||||
command:
|
||||
- /usr/bin/mautrix-signal
|
||||
- -c
|
||||
- /data/config.yaml
|
||||
- -r
|
||||
- /data/registration.yaml
|
||||
- --ignore-unsupported-server
|
||||
volumemounts:
|
||||
- mountpath: /data
|
||||
name: mautrix-signal-config
|
||||
- mountpath: /etc/localtime
|
||||
name: localtime
|
||||
readonly: true
|
||||
|
||||
- name: element
|
||||
image: vectorim/element-web:latest
|
||||
ports:
|
||||
- containerport: 80
|
||||
hostport: 3180
|
||||
protocol: TCP
|
||||
volumemounts:
|
||||
- mountpath: /app/config.json
|
||||
name: element-config
|
||||
- mountpath: /etc/localtime
|
||||
name: localtime
|
||||
readonly: true
|
||||
|
||||
- name: postgres
|
||||
image: docker.io/library/postgres:16-alpine
|
||||
env:
|
||||
- name: POSTGRES_PASSWORD
|
||||
valuefrom:
|
||||
secretkeyref:
|
||||
name: matrix-secrets
|
||||
key: postgres-password
|
||||
volumemounts:
|
||||
- mountpath: /dump
|
||||
name: postgres-dump
|
||||
- mountpath: /var/lib/postgresql/data
|
||||
name: postgres-data
|
||||
- mountpath: /etc/localtime
|
||||
name: localtime
|
||||
readonly: true
|
||||
|
||||
volumes:
|
||||
- hostpath:
|
||||
path: <home>/.config/pods/matrix/dendrite-config
|
||||
type: Directory
|
||||
name: dendrite-config
|
||||
- persistentvolumeclaim:
|
||||
claimname: matrix-pod-dendrite-media
|
||||
name: dendrite-media
|
||||
- persistentvolumeclaim:
|
||||
claimname: matrix-pod-dendrite-jetstream
|
||||
name: dendrite-jetstream
|
||||
- persistentvolumeclaim:
|
||||
claimname: matrix-pod-dendrite-searchindex
|
||||
name: dendrite-searchindex
|
||||
- hostpath:
|
||||
path: <home>/.config/pods/matrix/mautrix-whatsapp-config
|
||||
type: Directory
|
||||
name: mautrix-whatsapp-config
|
||||
- hostpath:
|
||||
path: <home>/.config/pods/matrix/mautrix-signal-config
|
||||
type: Directory
|
||||
name: mautrix-signal-config
|
||||
- hostpath:
|
||||
path: <home>/.config/pods/matrix/element-config/config.json
|
||||
type: File
|
||||
name: element-config
|
||||
- hostpath:
|
||||
path: <home>/.dump/matrix
|
||||
type: Directory
|
||||
name: postgres-dump
|
||||
- persistentvolumeclaim:
|
||||
claimname: matrix-pod-postgres-data
|
||||
name: postgres-data
|
||||
- hostpath:
|
||||
path: /etc/localtime
|
||||
type: File
|
||||
name: localtime
|
7
pods/matrix/matrix-secrets.yml
Normal file
7
pods/matrix/matrix-secrets.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
apiversion: v1
|
||||
data:
|
||||
postgres-password: <base64-secret>
|
||||
kind: Secret
|
||||
metadata:
|
||||
creationtimestamp: null
|
||||
name: matrix-secrets
|
Loading…
Add table
Add a link
Reference in a new issue