finish hooking up livekit

This commit is contained in:
Matthew Hodgson
2024-11-05 14:03:17 +00:00
parent 01b3f9f435
commit defa69734a
8 changed files with 426 additions and 11 deletions

View File

@@ -96,4 +96,4 @@ export DOLLAR='$' # evil hack to escape dollars in config files
template "/data-template/element-web"
template "/data-template/element-call"
template "/data-template/nginx"
template "/data-template/nginx"

10
init/livekit-jwt-entrypoint.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# launch lk-jwt-service with secrets from disk
export LK_JWT_PORT=8080
export LIVEKIT_URL=wss://${LIVEKIT_FQDN}
export LIVEKIT_KEY=$(</run/secrets/livekit_api_key)
export LIVEKIT_SECRET=$(</run/secrets/livekit_secret_key)
exec /lk-jwt-service