Parcourir la source

matrix: fix federation

Guilhem Saurel il y a 6 ans
Parent
commit
c1a3d6f18e
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 0 1
      matrix/README.md
  2. 2 1
      matrix/docker-compose.yml

+ 0 - 1
matrix/README.md

@@ -8,7 +8,6 @@ https://matrix.org
 echo POSTGRES_PASSWORD=$(openssl rand -base64 32) >> .env
 echo POSTGRES_PASSWORD=$(openssl rand -base64 32) >> .env
 echo SYNAPSE_REPORT_STATS=no >> .env
 echo SYNAPSE_REPORT_STATS=no >> .env
 echo SYNAPSE_ENABLE_REGISTRATION=yes >> .env
 echo SYNAPSE_ENABLE_REGISTRATION=yes >> .env
-echo SYNAPSE_LOG_LEVEL=INFO >> .env
 echo SYNAPSE_SMTP_PORT=465 >> .env
 echo SYNAPSE_SMTP_PORT=465 >> .env
 echo SYNAPSE_SMTP_HOST=mail.gandi.net >> .env
 echo SYNAPSE_SMTP_HOST=mail.gandi.net >> .env
 echo SYNAPSE_SMTP_USER=dev@oxyta.net >> .env
 echo SYNAPSE_SMTP_USER=dev@oxyta.net >> .env

+ 2 - 1
matrix/docker-compose.yml

@@ -12,7 +12,6 @@ services:
       - .env
       - .env
     environment:
     environment:
       - SYNAPSE_SERVER_NAME=matrix.${CHATONS_DOMAIN:-local}
       - SYNAPSE_SERVER_NAME=matrix.${CHATONS_DOMAIN:-local}
-      - SYNAPSE_NO_TLS=true
     labels:
     labels:
       traefik.enable: "true"
       traefik.enable: "true"
       traefik.frontend.rule: "Host: matrix.${CHATONS_DOMAIN:-local}, www.matrix.${CHATONS_DOMAIN:-local}"
       traefik.frontend.rule: "Host: matrix.${CHATONS_DOMAIN:-local}, www.matrix.${CHATONS_DOMAIN:-local}"
@@ -22,6 +21,8 @@ services:
       - default
       - default
     volumes:
     volumes:
       - ${CHATONS_ROOT_DIR:-/srv/chatons}/matrix/data:/data
       - ${CHATONS_ROOT_DIR:-/srv/chatons}/matrix/data:/data
+    ports:
+      - 8448:8448
 
 
   db:
   db:
     image: postgres:10-alpine
     image: postgres:10-alpine