diff --git a/matrix/quadlets/matrix-authentication-service b/matrix/quadlets/matrix-authentication-service new file mode 100644 index 0000000..2fc0d6d --- /dev/null +++ b/matrix/quadlets/matrix-authentication-service @@ -0,0 +1,33 @@ +[Unit] +Description=Matrix Authentication Service + +Requires=matrix-postgres.service +After=matrix-postgres.service + +PartOf=matrix.target + +[Container] +Image=ghcr.io/element-hq/matrix-authentication-service:latest +ContainerName=matrix-mas + +Environment=MAS_CONFIG=/config/config.yaml + +AddHost=auth.terrorist.academy:host-gateway +AddHost=terrorist.academy:host-gateway + +Volume=%h/services/matrix/mas/config:/config:ro +Volume=%h/services/matrix/mas/data:/data + +Exec=server + +PublishPort=8881:8080 + +Network=matrix.network + +[Service] +Restart=always + +[Install] +WantedBy=matrix.target + +