Commit 9b40d3a3 authored by zauberstuhl's avatar zauberstuhl
Browse files

Add riot-web image

parent 02dd3678
FROM debian:stretch
ARG VERSION=v1.0.1
RUN apt-get update
RUN apt-get install -y curl nginx
WORKDIR /var/www/html
RUN rm -r /var/www/html/*
RUN curl -LO https://github.com/vector-im/riot-web/releases/download/$VERSION/riot-$VERSION.tar.gz
RUN tar -x -f riot-$VERSION.tar.gz
RUN mv riot-$VERSION/* .
RUN rm -r riot-$VERSION*
ADD config.json /var/www/html/config.json
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
# Riot Web
docker build --build-arg VERSION=v1.0.1 -t feneas/riot-web:latest .
{
"default_hs_url": "https://feneas.org",
"default_is_url": "https://vector.im",
"disable_custom_urls": false,
"disable_guests": false,
"disable_login_language_selector": false,
"disable_3pid_login": false,
"brand": "Feneas",
"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,
"default_theme": "light",
"roomDirectory": {
"servers": [
"matrix.org",
"feneas.org"
]
},
"welcomeUserId": "@riot-bot:matrix.org",
"piwik": {
"url": "https://piwik.riot.im/",
"whitelistedHSUrls": [],
"whitelistedISUrls": [],
"siteId": 1
},
"enable_presence_by_hs_url": {
"https://matrix.org": false
}
}
#!/bin/bash
/usr/sbin/nginx -g 'daemon off;' -c /etc/nginx/nginx.conf $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment