mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 22:37:00 +03:00
47 lines
1.2 KiB
Markdown
47 lines
1.2 KiB
Markdown
# element-docker-demo
|
|
|
|
WIP of a docker-compose Matrix 2.0 stack to show off EW + EC + EX + Synapse + MAS + livekit.
|
|
|
|
Not remotely intended for serious production usage, but just to be the simplest possible way to get a
|
|
hacker-friendly Matrix 2.0 stack up and running without requiring any k8s.
|
|
|
|
In future, ESS will support migrating from this (which should be trivial, in terms of copying the env vars and secrets
|
|
into their ESS counterparts, and rehoming the postgres).
|
|
|
|
## To run
|
|
|
|
```
|
|
./setup.sh
|
|
docker compose up
|
|
```
|
|
|
|

|
|
|
|
## To admin
|
|
|
|
```
|
|
# To register a user
|
|
docker compose exec mas mas-cli -c /data/config.yaml manage register-user
|
|
```
|
|
|
|
```
|
|
# if you change the OIDC clients in MAS:
|
|
docker compose exec mas mas-cli -c /data/config.yaml config sync --prune
|
|
```
|
|
|
|
## Diagnostics
|
|
|
|
```
|
|
# check that OIDC is working - useful for debugging TLS problems
|
|
docker compose exec mas mas-cli -c /data/config.yaml doctor
|
|
````
|
|
|
|
## Todo
|
|
|
|
* [x] sort out the networking
|
|
* [x] make nginx do something useful when running on a local workstation
|
|
* [x] hook up letsencrypt to nginx properly
|
|
* [x] hook up livekit properly
|
|
* [x] make it work
|
|
|