/docker-element-web

element.io docker image generator with multi arch support

Primary LanguageDockerfileMIT LicenseMIT


GitHub pullrequests

This project is on charge of checking everyday if there is a new Element version and create the proper docker image and push it to the hub as need it.

What makes this docker image different from the original (vectorim/element-web)?

This image includes nginx with support for pretty much every common cpu arch:

  • linux/386
  • linux/amd64
  • linux/arm/v6
  • linux/arm/v7
  • linux/arm64
  • linux/ppc64le
  • linux/s390x

What is Element?

Element (formerly known as Vector/Riot) is a web client for Matrix an open network for secure, decentralized communication.

How to use the docker image

Pull the image

From GitHub Package Repository: docker pull ghcr.io/dotwee/element-web:latest

From Docker Hub Registry: docker pull dotwee/element-web:latest

Run the image

$ docker run --name element -p 8080:80 -d ghcr.io/dotwee/element-web

Then you can hit http://localhost:8080 in your browser.

Element configuration

$ docker run -v /host/path/config.json:/etc/element-web/config.json:ro --name element -p 8080:80 -d ghcr.io/dotwee/element-web

For information on the syntax of the element configuration file, see the official documentation.

HTTP server configuration

$ docker run -v /host/path/nginx.conf:/etc/nginx/nginx.conf:ro --name element -p 8080:80 -d ghcr.io/dotwee/element-web

For information on the syntax of the nginx configuration files, see the official documentation (specifically the Beginner's Guide).

Other references