inital commit
This commit is contained in:
7 files changed
+142
No files matched your search
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Matrix Authentication Service
|
||||
After=postgresql.service
|
||||
Requires=postgresql.service
|
||||
|
||||
[Container]
|
||||
ContainerName=matrix-auth-service
|
||||
Pod=matrix.pod
|
||||
Image=ghcr.io/element-hq/matrix-authentication-service:latest
|
||||
Volume=mas-config:/app/config:ro
|
||||
EnvironmentFile=./env/matrix-auth-service.env
|
||||
Label=io.containers.autoupdate=registry
|
||||
UserNS=keep-id
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Matrix Webhook endpoint
|
||||
After=synapse.service
|
||||
Requires=postgresql.service
|
||||
Requires=synapse.service
|
||||
|
||||
[Container]
|
||||
ContainerName=matrix-hookshot
|
||||
Pod=matrix.pod
|
||||
Image=ghcr.io/matrix-org/matrix-hookshot:latest
|
||||
Volume=matrix-hookshot:/data:ro
|
||||
Volume=matrix-hookshot-crypt:/cryptostore
|
||||
EnvironmentFile=./env/matrix-hookshot.env
|
||||
Label=io.containers.autoupdate=registry
|
||||
UserNS=keep-id
|
||||
|
||||
#HealthCmd=curl http://localhost:29334/_matrix/mau/ready || exit 1
|
||||
#HealthInterval=10s
|
||||
#Notify=healthy
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Matrix Homeserver stack
|
||||
After=network-online.target
|
||||
|
||||
[Pod]
|
||||
PodName=matrix
|
||||
#Synapse
|
||||
PublishPort=8008:8008
|
||||
#Matrix Hookshot
|
||||
PublishPort=9993:9993
|
||||
PublishPort=9000:9000
|
||||
PublishPort=9002:9002
|
||||
#Mautrix Discord
|
||||
PublishPort=29334:29334
|
||||
#Matrix Authenitcation Service
|
||||
PublishPort=8080:8080
|
||||
PublishPort=8081:8081
|
||||
#Postgresql
|
||||
#PublishPort=5432:5432
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Matrix-Discord Bridge
|
||||
After=synapse.service
|
||||
Requires=postgresql.service
|
||||
Requires=synapse.service
|
||||
|
||||
[Container]
|
||||
ContainerName=mautrix-discord
|
||||
Pod=matrix.pod
|
||||
Image=dock.mau.dev/mautrix/discord:latest
|
||||
Exec=/usr/bin/mautrix-discord --no-update
|
||||
Volume=mautrix-discord:/data:ro
|
||||
EnvironmentFile=./env/mautrix-discord.env
|
||||
Label=io.containers.autoupdate=registry
|
||||
UserNS=keep-id
|
||||
|
||||
HealthCmd=curl http://localhost:29334/_matrix/mau/ready || exit 1
|
||||
HealthInterval=10s
|
||||
Notify=healthy
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Postgres Database
|
||||
After=network-online.target
|
||||
|
||||
[Container]
|
||||
ContainerName=postgresql
|
||||
Pod=matrix.pod
|
||||
Image=docker.io/library/postgres:18
|
||||
Volume=postgresql-data:/var/lib/postgresql
|
||||
EnvironmentFile=./env/postgresql.env
|
||||
Label=io.containers.autoupdate=registry
|
||||
UserNS=keep-id
|
||||
|
||||
HealthCmd=pg_isready || exit 1
|
||||
HealthInterval=10s
|
||||
Notify=healthy
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Redis data caching service
|
||||
After=network-online.target
|
||||
|
||||
[Container]
|
||||
ContainerName=redis
|
||||
Pod=matrix.pod
|
||||
Image=docker.io/library/redis:latest
|
||||
EnvironmentFile=./env/redis.env
|
||||
Label=io.containers.autoupdate=registry
|
||||
UserNS=keep-id
|
||||
|
||||
HealthCmd=redis-cli --raw incr ping
|
||||
HealthInterval=10s
|
||||
Notify=healthy
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
@@ -0,0 +1,22 @@
|
||||
[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
|
||||
Reference in new issue
Block a user