add support for docker-compose contents

This commit is contained in:
Nico Schottelius 2023-09-26 13:54:38 +02:00
commit dbe15bb09b
6 changed files with 112 additions and 15 deletions

View file

@ -0,0 +1,4 @@
SYNAPSE_VERSION=v1.92.3
HOME_SERVER_FQDN=corp-serv.net
SYNAPSE_FQDN=synapse.corp-apps.com

View file

@ -0,0 +1,14 @@
version: '3'
services:
synapse:
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
- SERVERNAME=${HOME_SERVER_FQDN}
- PUBLICBASEURL=${SYNAPSE_FQDN}
ports:
- "8008:8008/tcp"
volumes:
- /mnt/synapse_data:/data
entrypoint: sh -c "/data/homeserver.yaml.sh && chmod -R 777 /data && /start.py"
restart: always