mirror of
https://github.com/tiyn/wiki.git
synced 2026-09-13 18:41:35 +02:00
1.3 KiB
1.3 KiB
vectorim – riot-web
This is a Docker container for a matrix
client.
The official container and documentation was made by
linuxserver.
This docker-rebuild is made up by a docker-compose.yml file.
Setup
Create the files rebuild.sh and docker-compose.yml at the same place.
Change the settings according to your needs and run ./rebuild.sh afterward.
Volumes
Set the following volumes in the volumes: section of the docker-compose file.
| Outside mount/volume name | Container mount | Description |
|---|---|---|
./config.json |
/app/config.json:ro |
config file |
Ports
Set the following ports in the ports: section.
| Container Port | Recommended outside port | Protocol | Description |
|---|---|---|---|
80 |
80 |
TCP | WebUI |
rebuild.sh
#!/bin/sh
docker-compose down
docker pull vectorim/riot-web:latest
docker-compose up -d
docker-compose.yml
version: "2"
services:
element:
image: vectorim/riot-web:latest
restart: unless-stopped
volumes:
– "./data/matrix/element/config.json:/app/config.json:ro"
ports:
– 80:80