55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
services:
|
|
synapse:
|
|
image: matrixdotorg/synapse:latest
|
|
environment:
|
|
- SYNAPSE_SERVER_NAME=chat.rosa-armee.at
|
|
- SYNAPSE_REPORT_STATS=no
|
|
volumes:
|
|
- ./synapse:/data
|
|
ports:
|
|
- "8007:8008" # Map host port 8007 to container port 8008 (Synapse's default HTTP port)
|
|
|
|
postgres:
|
|
image: postgres:13
|
|
environment:
|
|
- POSTGRES_USER=synapse
|
|
- POSTGRES_PASSWORD=password
|
|
- POSTGRES_DB=synapse
|
|
volumes:
|
|
- ./postgres:/var/lib/postgresql/data
|
|
|
|
element:
|
|
image: vectorim/element-web:latest
|
|
container_name: element
|
|
restart: always
|
|
ports:
|
|
- "8008:80"
|
|
environment:
|
|
- PUBLIC_BASE_URL=https://element.rosa-armee.at
|
|
volumes:
|
|
- ./element/config:/app/config
|
|
|
|
|
|
coturn:
|
|
image: instrumentisto/coturn:latest
|
|
restart: always
|
|
ports:
|
|
# Standard TURN port (both UDP and TCP)
|
|
- "3478:3478/udp"
|
|
- "3478:3478/tcp"
|
|
# Range for relayed media (UDP)
|
|
- "49152-49200:49152-49200/udp"
|
|
#environment:
|
|
# Define your TURN realm (typically your Matrix domain)
|
|
#- TURN_REALM=chat.rosa-armee.at
|
|
# Static user credentials (example format: username:password)
|
|
# You can also use a shared secret for dynamic credentials.
|
|
#- TURN_USER=turnuser
|
|
#- TURN_PASSWORD=topsecret
|
|
# Optional: set listening IP if behind multiple interfaces
|
|
#- LISTENING_IP=0.0.0.0
|
|
# Optional: use a TURN secret instead for ephemeral credentials (if desired)
|
|
#- TURN_SECRET=tkjzPPbLAEWmH5HQ7ReaJPQtJ3JosZuf
|
|
volumes:
|
|
- ./coturn/turnserver.conf:/etc/turnserver.conf:ro
|