diff options
author | Quentin <quentin@deuxfleurs.fr> | 2019-06-01 16:02:49 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2019-07-11 09:33:07 +0200 |
commit | 61d009f18d5886db8b22ae41e04bb41a4ba2fddb (patch) | |
tree | e44bb326caf3107653c7a48749527cfd77f02cf2 /docker/riotweb | |
download | infrastructure-61d009f18d5886db8b22ae41e04bb41a4ba2fddb.tar.gz infrastructure-61d009f18d5886db8b22ae41e04bb41a4ba2fddb.zip |
Initial commit
Diffstat (limited to 'docker/riotweb')
-rw-r--r-- | docker/riotweb/Dockerfile | 13 | ||||
-rw-r--r-- | docker/riotweb/README.md | 4 | ||||
-rw-r--r-- | docker/riotweb/config.json | 24 |
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" ] + } +} + |