I am trying to sef host livekit server. Do i need ...
# ask-ai
m
I am trying to sef host livekit server. Do i need to sip and livkite in the same server?
t
Thanks for reaching out, Mridul. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You can self-host the LiveKit SIP server alongside the LiveKit server on the same machine. The easiest way to achieve this is by using Docker Compose. Here is the command to set it up:
Copy code
wget <https://raw.githubusercontent.com/livekit/sip/main/docker-compose.yaml>
docker compose up
This will start both a local LiveKit Server and SIP Server connected to Redis on the same machine. Please ensure the following: • Both the SIP signaling port (5060) and media port range (10000-20000) must be accessible from the Internet. • Refer to the Firewall configuration documentation for details on port requirements. Sources: Self-hosted SIP server | LiveKit Docs | SIP overview | LiveKit Docs
m
The need to be on same server because they use redis to communicate?
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!