commit c0e0e703b386ab92102f30fee85967c2fc2a8fc7 Author: raoul Date: Tue Jan 13 11:47:43 2026 +0000 compose.yml hinzugefügt diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..4e87619 --- /dev/null +++ b/compose.yml @@ -0,0 +1,54 @@ +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