aboutsummaryrefslogtreecommitdiff
path: root/docker/riotweb
diff options
context:
space:
mode:
Diffstat (limited to 'docker/riotweb')
-rw-r--r--docker/riotweb/Dockerfile13
-rw-r--r--docker/riotweb/README.md4
-rw-r--r--docker/riotweb/config.json24
3 files changed, 41 insertions, 0 deletions
diff --git a/docker/riotweb/Dockerfile b/docker/riotweb/Dockerfile
new file mode 100644
index 0000000..f3528a1
--- /dev/null
+++ b/docker/riotweb/Dockerfile
@@ -0,0 +1,13 @@
+FROM amd64/debian:stretch as builder
+
+WORKDIR /root
+ENV VERSION v1.1.2
+
+RUN apt-get update && \
+ apt-get install -y wget && \
+ wget https://github.com/vector-im/riot-web/releases/download/${VERSION}/riot-${VERSION}.tar.gz && \
+ tar xf riot-${VERSION}.tar.gz && \
+ mv riot-${VERSION}/ riot/
+
+FROM superboum/amd64_webserver:v3
+COPY --from=builder /root/riot /srv/http
diff --git a/docker/riotweb/README.md b/docker/riotweb/README.md
new file mode 100644
index 0000000..4949dd2
--- /dev/null
+++ b/docker/riotweb/README.md
@@ -0,0 +1,4 @@
+```
+sudo docker build -t superboum/amd64_riotweb:v4 .
+sudo docker push superboum/amd64_riotweb:v4
+```
diff --git a/docker/riotweb/config.json b/docker/riotweb/config.json
new file mode 100644
index 0000000..8ce8e4c
--- /dev/null
+++ b/docker/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" ]
+ }
+}
+