aboutsummaryrefslogtreecommitdiff
path: root/app_build/riotweb
diff options
context:
space:
mode:
Diffstat (limited to 'app_build/riotweb')
-rw-r--r--app_build/riotweb/Dockerfile13
-rw-r--r--app_build/riotweb/config.json24
2 files changed, 37 insertions, 0 deletions
diff --git a/app_build/riotweb/Dockerfile b/app_build/riotweb/Dockerfile
new file mode 100644
index 0000000..862e2e5
--- /dev/null
+++ b/app_build/riotweb/Dockerfile
@@ -0,0 +1,13 @@
+FROM amd64/debian:buster as builder
+
+ARG VERSION
+WORKDIR /root
+
+RUN apt-get update && \
+ apt-get install -y wget && \
+ wget https://github.com/vector-im/riot-web/releases/download/v${VERSION}/riot-v${VERSION}.tar.gz && \
+ tar xf riot-v${VERSION}.tar.gz && \
+ mv riot-v${VERSION}/ riot/
+
+FROM superboum/amd64_webserver:v3
+COPY --from=builder /root/riot /srv/http
diff --git a/app_build/riotweb/config.json b/app_build/riotweb/config.json
new file mode 100644
index 0000000..8ce8e4c
--- /dev/null
+++ b/app_build/riotweb/config.json
@@ -0,0 +1,24 @@
+{
+ "default_hs_url": "https://im.deuxfleurs.fr",
+ "default_is_url": "https://vector.im",
+ "disable_custom_urls": false,
+ "disable_guests": false,
+ "disable_login_language_selector": false,
+ "disable_3pid_login": false,
+ "brand": "Deuxfleurs",
+ "integrations_ui_url": "https://scalar.vector.im/",
+ "integrations_rest_url": "https://scalar.vector.im/api",
+ "integrations_jitsi_widget_url": "https://scalar.vector.im/api/widgets/jitsi.html",
+ "bug_report_endpoint_url": "https://riot.im/bugreports/submit",
+ "features": {
+ "feature_groups": "labs",
+ "feature_pinning": "labs"
+ },
+ "default_federate": true,
+ "welcomePageUrl": "home.html",
+ "default_theme": "light",
+ "roomDirectory": {
+ "servers": [ "im.deuxfleurs.fr", "matrix.org" ]
+ }
+}
+