File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ server {
43
43
# MatrixRTC reverse proxy
44
44
# - MatrixRTC Authorization Service
45
45
# - LiveKit SFU websocket signaling connection
46
+ upstream jwt-auth-services {
47
+ server auth-server:6080;
48
+ server host.docker.internal:6080;
49
+ }
50
+
46
51
server {
47
52
listen 80;
48
53
listen [::]:80;
@@ -62,8 +67,9 @@ server {
62
67
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
63
68
proxy_set_header X-Forwarded-Proto $scheme;
64
69
65
- # JWT Service running at port 8080
66
- proxy_pass http://auth-server:8080/;
70
+ # JWT Service running at port 6080
71
+ proxy_pass http://jwt-auth-services/;
72
+
67
73
}
68
74
69
75
location ^~ /livekit/sfu/ {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
image : ghcr.io/element-hq/lk-jwt-service:latest-ci
7
7
hostname : auth-server
8
8
environment :
9
- - LIVEKIT_JWT_PORT=8080
9
+ - LIVEKIT_JWT_PORT=6080
10
10
- LIVEKIT_URL=wss://matrix-rtc.m.localhost/livekit/sfu
11
11
- LIVEKIT_KEY=devkey
12
12
- LIVEKIT_SECRET=secret
@@ -18,7 +18,7 @@ services:
18
18
condition : on-failure
19
19
ports :
20
20
# HOST_PORT:CONTAINER_PORT
21
- - 8080:8080
21
+ - 6080:6080
22
22
networks :
23
23
- ecbackend
24
24
You can’t perform that action at this time.
0 commit comments