Initial quadlet files

This commit is contained in:
2025-04-16 20:13:39 +02:00
parent 61e67a30f7
commit a115cd67c8
9 changed files with 48 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=Docker
[Container]
Image=docker.io/postgres:alpine
Pod=synapse.pod
Volume=postgres.volume:/var/lib/postgresql/data
Environment=POSTGRES_USER=synapse
Environment=POSTGRES_PASSWORD=changeme
Environment=POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
Network=synapse.network
[Service]
Restart=always
+1
View File
@@ -0,0 +1 @@
[Volume]
+1
View File
@@ -0,0 +1 @@
[Volume]
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=Synapse init container
[Container]
Image=docker.io/matrixdotorg/synapse:latest
Pod=synapse.pod
Volume=synapse-data.volume:/data
Environment=SYNAPSE_SERVER_NAME=test.legonzaur.fr
Environment=SYNAPSE_REPORT_STATS=no
Exec=generate
[Service]
Type=oneshot
+1
View File
@@ -0,0 +1 @@
[Volume]
+1
View File
@@ -0,0 +1 @@
[Volume]
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=Synapse
[Container]
Image=docker.io/matrixdotorg/synapse:latest
Pod=synapse.pod
Volume=synapse-data.volume:/data
Volume=synapse-uploads.volume:/data/uploads
Volume=synapse-media.volume:/data/media
Environment=SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
Network=synapse.network
PublishPort=8008:8008
[Service]
Restart=always
+1
View File
@@ -0,0 +1 @@
[Network]
+1
View File
@@ -0,0 +1 @@
[Pod]