Files
Matrix-Quadlets/synapse.container
T
2026-11-05 21:14:56 -05:00

23 lines
483 B
INI

[Unit]
Description=Matrix Homeserver
After=postgresql.service
Requires=postgresql.service
[Container]
ContainerName=synapse
Pod=matrix.pod
Image=docker.io/matrixdotorg/synapse:latest
Volume=synapse-data:/data
Volume=synapse-config:/config:ro
Volume=synapse-reg:/registration:ro
EnvironmentFile=./env/synapse.env
Label=io.containers.autoupdate=registry
UserNS=keep-id
HealthCmd=curl http://localhost:8008/health || exit 1
HealthInterval=10s
Notify=healthy
[Service]
Restart=always