cleanup used ports, reflect endpoint routing of JWT service and SFU websocket connection

This commit is contained in:
fkwp
2025-04-24 23:46:45 +02:00
parent 8ad1d60975
commit b61bed0197

View File

@@ -7,7 +7,7 @@ services:
hostname: auth-server hostname: auth-server
environment: environment:
- LK_JWT_PORT=8080 - LK_JWT_PORT=8080
- LIVEKIT_URL=ws://localhost:7880 - LIVEKIT_URL=ws://matrix-rtc.localhost/livekit/sfu
- LIVEKIT_KEY=devkey - LIVEKIT_KEY=devkey
- LIVEKIT_SECRET=secret - LIVEKIT_SECRET=secret
# If the configured homeserver runs on localhost, it'll probably be using # If the configured homeserver runs on localhost, it'll probably be using
@@ -18,12 +18,13 @@ services:
condition: on-failure condition: on-failure
ports: ports:
# HOST_PORT:CONTAINER_PORT # HOST_PORT:CONTAINER_PORT
- 8009:8080 - 8080:8080
networks: networks:
- ecbackend - ecbackend
livekit: livekit:
image: livekit/livekit-server:latest image: livekit/livekit-server:latest
hostname: livekit-sfu
command: --dev --config /etc/livekit.yaml command: --dev --config /etc/livekit.yaml
restart: unless-stopped restart: unless-stopped
# The SFU seems to work far more reliably when we let it share the host # The SFU seems to work far more reliably when we let it share the host
@@ -85,11 +86,13 @@ services:
hostname: synapse.localhost hostname: synapse.localhost
image: nginx:latest image: nginx:latest
volumes: volumes:
- ./backend/tls_localhost_nginx.conf:/etc/nginx/conf.d/default.conf:Z - ./backend/dev_nginx.conf:/etc/nginx/conf.d/default.conf:Z
- ./backend/tls_localhost_key.pem:/root/ssl/key.pem:Z - ./backend/tls_localhost_key.pem:/root/ssl/key.pem:Z
- ./backend/tls_localhost_cert.pem:/root/ssl/cert.pem:Z - ./backend/tls_localhost_cert.pem:/root/ssl/cert.pem:Z
ports: ports:
# HOST_PORT:CONTAINER_PORT # HOST_PORT:CONTAINER_PORT
- "80:80"
- "443:443"
- "8008:80" - "8008:80"
- "4443:443" - "4443:443"
depends_on: depends_on: