Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Matrix Chat as Service With Element WebUI #4444

Open
wants to merge 10 commits into
base: next
Choose a base branch
from
6 changes: 6 additions & 0 deletions public/svgs/matrix-element.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions templates/compose/matrix-element.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Documentation: https://github.com/kamyargerami/matrix-docker
# Slogan: An open network for secure, decentralised communication
# Tags: real-time-messaging, secure-communication, peer-to-peer
# Logo: svgs/matrix-element.svg
# Port: 80

services:

synapse:
image: "docker.io/matrixdotorg/synapse:v1.84.1"
container_name: synapse
environment:
- SERVICE_FQDN_MATRIX=${SERVICE_FQDN_MATRIX}
- SYNAPSE_REPORT_STATS=${SYNAPSE_REPORT_STATS:-no}
volumes:
- synapse_data:/data
depends_on:
- synapse_db
healthcheck:
test:
- CMD
- curl
- '-f'
- 'http://127.0.0.1:80'

synapse_db:
image: "docker.io/postgres:14-alpine"
environment:
- POSTGRES_USER=${SERVICE_USER_POSTGRESQL}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
volumes:
- synapse_db_data:/var/lib/postgresql/data

coturn:
image: "instrumentisto/coturn:latest"
volumes:
- coturn:/etc/coturn

element:
image: "vectorim/element-web:latest"
volumes:
- element:/app
environment:
- SERVICE_FQDN_ELEMENT=${SERVICE_FQDN_ELEMENT}