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_LIVEKIT_URL=ws://localhost:7880
|
||||||
PUBLIC_API_URL=http://localhost:8080
|
PUBLIC_API_URL=http://localhost:8080
|
||||||
|
PUBLIC_WEB_URL=http://localhost:3000
|
||||||
|
|
||||||
SESSION_SECRET=change-me-to-a-long-random-string
|
SESSION_SECRET=change-me-to-a-long-random-string
|
||||||
SESSION_TTL_HOURS=12
|
SESSION_TTL_HOURS=12
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PORT: 3000
|
PORT: 3000
|
||||||
HOST: 0.0.0.0
|
HOST: 0.0.0.0
|
||||||
|
ORIGIN: ${PUBLIC_WEB_URL}
|
||||||
PUBLIC_API_URL: ${PUBLIC_API_URL}
|
PUBLIC_API_URL: ${PUBLIC_API_URL}
|
||||||
PUBLIC_LIVEKIT_URL: ${PUBLIC_LIVEKIT_URL}
|
PUBLIC_LIVEKIT_URL: ${PUBLIC_LIVEKIT_URL}
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user