description: Synapse maintainer: "Valentin Lab " docker-image: matrixdotorg/synapse:latest config-resources: - /etc/synapse data-resources: - /data host-resources: - /etc/localtime:ro default-options: ## ensure that this virtualhost is joinable on https, and with a ## valid cert. # server_name: XXX # report_stats: no # enable_registration: no # registration_shared_secret: My secret # allow_guest_access: no # enable_registration_captcha: yes # recaptcha_public_key: XXX # recaptcha_private_key: YYY # docker-compose: # ports: uses: postgres-database: constraint: required auto: summon solves: database: "main storage" default-options: encoding: UTF-8 lc-collate: C lc-ctype: C template: template0 # log-rotate: # constraint: recommended # auto: pair # solves: # disk-leak: "/data/logs" web-proxy: constraint: recommended auto: pair solves: proxy: "Public access" default-options: ## ``nocanon`` is mandatory ## see: https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.rst apache-proxy-pass-options: retry=0 nocanon apache-core-rules: !var-expand | SSLProxyEngine on ## ../server implementation added with a patch in docker image ProxyPass "http://${MASTER_BASE_SERVICE_NAME}:8008/.well-known/matrix" retry=0 nocanon Order deny,allow Allow from all # # ProxyPass "http://${MASTER_BASE_SERVICE_NAME}:8008/_matrix" retry=0 nocanon # #Order deny,allow # #Allow from all #