From 861c1da179621a3b3922816d4f05e98ee019e8af Mon Sep 17 00:00:00 2001
From: ecobytes collective <status@ecobytes.net>
Date: Wed, 25 Mar 2020 20:24:46 +0100
Subject: [PATCH] update riot and synapse, add home config

---
 docker-compose.yml | 5 +++--
 riot/config.json   | 6 ++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index e6e40fa..d143154 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -3,7 +3,7 @@ version: '2'
 services:
 
   riot:
-    image: vectorim/riot-web:v1.5.6
+    image: vectorim/riot-web:develop
     labels:
       - traefik.enable=true
       - traefik.backend=matrix-riot
@@ -14,13 +14,14 @@ services:
       - traefik.port=80
     volumes:
       - /data/domains/matrix.allmende.io/riot/config.json:/app/config.json
+      - /data/domains/matrix.allmende.io/riot/riot-home/:/app/home/
     logging:
       driver: none
     networks:
       - web
 
   synapse:
-    image: docker.io/matrixdotorg/synapse:v1.7.0
+    image: docker.io/matrixdotorg/synapse:v1.12.0
     env_file: ["./synapse.env"]
     labels:
       - traefik.enable=true
diff --git a/riot/config.json b/riot/config.json
index aa29de7..428506d 100644
--- a/riot/config.json
+++ b/riot/config.json
@@ -16,6 +16,12 @@
     "showLabsSettings": true,
     "default_federate": true,
 
+    "disable_custom_urls": true,
+    "permalinkPrefix": "https://riot.allmende.io",
+    "embeddedPages": {
+        "homeUrl": "/home/index.html"
+    },
+
     "welcomePageUrl": "home.html",
     "default_theme": "light",
 
-- 
GitLab