aboutsummaryrefslogtreecommitdiff
path: root/app_build/riotweb
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-09-12 10:03:48 +0200
committerQuentin <quentin@deuxfleurs.fr>2020-09-12 10:03:48 +0200
commitc4a6cf1534b864d3941c839d4a4dca7e505bd828 (patch)
tree3e866768cf39ae947def5b205f74fddfb435725d /app_build/riotweb
parent0550647b9348d1e36431400e0832b4340564c658 (diff)
downloadinfrastructure-c4a6cf1534b864d3941c839d4a4dca7e505bd828.tar.gz
infrastructure-c4a6cf1534b864d3941c839d4a4dca7e505bd828.zip
Rebase first step
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" ]
+ }
+}
+