mirror of
https://github.com/akpall/akpella.git
synced 2026-02-21 16:47:00 +00:00
config.yaml: move files to files dir
This commit is contained in:
25
files/docker-matrixdotorg-synapse.service
Normal file
25
files/docker-matrixdotorg-synapse.service
Normal file
@@ -0,0 +1,25 @@
|
||||
[Unit]
|
||||
Description=Synapse: Matrix homeserver written in Python/Twisted + Rust
|
||||
After=docker.service \
|
||||
docker-network-setup
|
||||
Requires=docker.service \
|
||||
docker-network-setup
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/usr/bin/docker run \
|
||||
--name=matrixdotorg-synapse \
|
||||
--network=caddy-network \
|
||||
--rm \
|
||||
--mount type=bind,src=/opt/matrixdotorg-synapse/data,dst=/data \
|
||||
-e SYNAPSE_SERVER_NAME=matrix.fst.ee \
|
||||
-e SYNAPSE_REPORT_STATS=yes \
|
||||
matrixdotorg/synapse:latest generate
|
||||
ExecStart=docker run \
|
||||
--name=matrixdotorg-synapse \
|
||||
--network=caddy-network \
|
||||
--rm \
|
||||
--mount type=bind,src=/opt/matrixdotorg-synapse/data,dst=/data \
|
||||
matrixdotorg/synapse:latest
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user