diff --git a/compose.yaml b/compose.yaml index 8b13789..fb53204 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1 +1,34 @@ +--- +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