matrix/compose.yaml
feldjaeger 97a07a4e9e feat: LiveKit + Element Call eingerichtet
- LiveKit Server für WebRTC Calls
- lk-jwt-service für Token-Generierung
- Element Config mit Call Features
- Synapse homeserver.yaml aufgeräumt (doppelte Keys, trusted_key_servers)
- Caddy: livekit.plappern.com + SFU URL Proxy
- DNS: A + AAAA Records für livekit.plappern.com
2026-04-15 14:22:39 +02:00

64 lines
1.6 KiB
YAML

services:
synapse:
image: matrixdotorg/synapse:latest
container_name: synapse
restart: unless-stopped
volumes:
- /app-config/matrix/synapse:/data
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
ports:
- "8008:8008"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8008/health"]
interval: 30s
timeout: 10s
retries: 3
element:
image: vectorim/element-web:latest
container_name: element
restart: unless-stopped
volumes:
- /app-config/matrix/element/config.json:/app/config.json:ro
ports:
- "8080:80"
coturn:
image: coturn/coturn:latest
container_name: coturn
restart: unless-stopped
network_mode: host
volumes:
- /app-config/matrix/coturn/turnserver.conf:/etc/coturn/turnserver.conf:ro
synapse-admin:
image: awesometechnologies/synapse-admin:latest
container_name: synapse-admin
restart: unless-stopped
ports:
- "8081:80"
livekit:
image: livekit/livekit-server:latest
container_name: livekit
restart: unless-stopped
ports:
- "7880:7880"
- "7881:7881"
- "50100-50200:50100-50200/udp"
volumes:
- /app-config/matrix/livekit/config.yaml:/etc/livekit/config.yaml:ro
command: --config /etc/livekit/config.yaml
livekit-jwt:
image: ghcr.io/element-hq/lk-jwt-service:latest
container_name: livekit-jwt
restart: unless-stopped
environment:
- LIVEKIT_URL=wss://livekit.plappern.com
- LIVEKIT_KEY=plappern_lk_key
- LIVEKIT_SECRET=plappern_lk_secret_7f8a9b2c3d4e5f6a
- LIVEKIT_JWT_BIND=:8080
ports:
- "8090:8080"