Fix web origin and CORS config for LAN hosting
This commit is contained in:
@@ -3,6 +3,7 @@ LIVEKIT_API_SECRET=devsecretdevsecretdevsecretdevsecret
|
||||
|
||||
PUBLIC_LIVEKIT_URL=ws://localhost:7880
|
||||
PUBLIC_API_URL=http://localhost:8080
|
||||
PUBLIC_WEB_URL=http://localhost:3000
|
||||
|
||||
SESSION_SECRET=change-me-to-a-long-random-string
|
||||
SESSION_TTL_HOURS=12
|
||||
|
||||
@@ -49,6 +49,7 @@ services:
|
||||
environment:
|
||||
PORT: 3000
|
||||
HOST: 0.0.0.0
|
||||
ORIGIN: ${PUBLIC_WEB_URL}
|
||||
PUBLIC_API_URL: ${PUBLIC_API_URL}
|
||||
PUBLIC_LIVEKIT_URL: ${PUBLIC_LIVEKIT_URL}
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user