Open deviljutt opened 1 month ago
Hey! Default configuration does not contain office voice/video calls. Video chats are based on LiveKit so if you LiveKit Cloud account, you can set up the calls.
@aonnikov, how can I setup the livekit account with self host nginx?
@aonnikov, how can I setup the livekit account with self host nginx?
@saif-malik-01 we are using Livekit Cloud, you will need to setup love
container:
love:
image: hardcoreeng/love:${HULY_VERSION}
links:
- mongodb
- minio
ports:
- 8096:8096
environment:
- PORT=8096
- SECRET=${HULY_SECRET}
- ACCOUNTS_URL=http://${SERVER_ADDRESS}:3000
- MONGO_URL=mongodb://mongodb:27017
- STORAGE_CONFIG=minio|minio?accessKey=minioadmin&secretKey=minioadmin
- LIVEKIT_HOST=...
- LIVEKIT_API_KEY=...
- LIVEKIT_API_SECRET=...
restart: unless-stopped
and in the front service you will need to add couple of env variables:
- LIVEKIT_WS=...
- LOVE_ENDPOINT=http://love:8096
The last three variables you can obtain in your Livekit Cloud account once you set it up.
@aonnikov Thanks for your reply but while creating workspace it is get stucked and throughing agetWorkspaceInfo account request in infinite loop .... working fine without traefik on http
I'm using a GCP instance
@deviljutt How you deployed the project, can you let me know?
@saif-malik-01 what version do you use? We have known issue that have been fixed in recent versions. It should also help if you restart workspace
container
@aonnikov I'm using latest one, also I'm have assigned a hostinger domain to external ip of gcp instance still it is not working, I added a A type record.
@aonnikov I see template-compose.yaml of traefik does not have workspace, can you tell me how to add ?
@saif-malik-01 Traefik example was added by someone from community, and I never tried it by myself. I will review and update it.
@aonnikov , can share any solution ?
@aonnikov , can share any solution ?
@saif-malik-01 check out this pull request, it adds workspace service and update configuration to Huly v313: https://github.com/hcengineering/huly-selfhost/pull/64
Hey,
love
is set up, but when I add the LOVE_ENDPOINT
, it makes that request using my browser (checked via network tab) instead of locally in the container. This makes it not work and when I would use HTTP, the request would be blocked (which is intended behavior) and I can't use HTTPS with it and overall I think it's probably a bad idea to expose it to the internet anyway.
Also while we're at it (unrelated to the issue above), what exactly should I put into Livekit Host? Just livekit.cloud
for their hosted option?
@Pukimaa On livekit go to settings, keys tab, click on your key. On the popup you will see all the info you need. For the host, omit the wss:// and you are done. As for exposing the service, I'm not sure. This is a service architecture. If we had some service to route through a proxy all the calls, that would work, but it's not implemented at this time (@aonnikov maybe an idea for the future?). For now, to make use of the functionality, the client has to make the calls to the love service.
@aonnikov it would be amazing if all the info about the love container, the extra env vars for front service and livekit (selfhosted or cloud) were available in the docs
@daidonpah now it is in the readme: https://github.com/hcengineering/huly-selfhost?tab=readme-ov-file#love-service-audio--video-calls
traefik/template-compose.yaml
i am using traefik to start the self hosted server i don't see voice chat icon on top. can anyone confirm if this issue is there ?
docker-compose.txt