apiversion: v1 kind: Pod metadata: name: matrix-pod annotations: io.podman.annotations.infra.name: matrix-pod-infra spec: containers: - name: dendrite image: ghcr.io/element-hq/dendrite-monolith:latest ports: - containerport: 8008 hostport: protocol: TCP - containerport: 8448 hostport: 8448 protocol: TCP volumemounts: - name: dendrite-config mountpath: /etc/dendrite - name: dendrite-media mountpath: /var/dendrite/media - name: dendrite-jetstream mountpath: /var/dendrite/jetstream - name: dendrite-searchindex mountpath: /var/dendrite/searchindex - name: localtime mountpath: /etc/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: - name: mautrix-whatsapp-config mountpath: /data - name: localtime mountpath: /etc/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: - name: mautrix-signal-config mountpath: /data - name: localtime mountpath: /etc/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: - name: postgres-dump mountpath: /dump - name: postgres-data mountpath: /var/lib/postgresql/data - name: localtime mountpath: /etc/localtime readonly: true volumes: - name: dendrite-config hostpath: path: $HOME/.config/pods/matrix/dendrite-config type: Directory - name: dendrite-media persistentvolumeclaim: claimname: matrix-pod-dendrite-media - name: dendrite-jetstream persistentvolumeclaim: claimname: matrix-pod-dendrite-jetstream - name: dendrite-searchindex persistentvolumeclaim: claimname: matrix-pod-dendrite-searchindex - name: mautrix-whatsapp-config hostpath: path: $HOME/.config/pods/matrix/mautrix-whatsapp-config type: Directory - name: mautrix-signal-config hostpath: path: $HOME/.config/pods/matrix/mautrix-signal-config type: Directory - name: postgres-dump hostpath: path: $HOME/.dump/matrix type: Directory - name: postgres-data persistentvolumeclaim: claimname: matrix-pod-postgres-data - name: localtime hostpath: path: /etc/localtime type: File