polite-dog-12152
08/10/2025, 12:54 PMtall-airline-16756
08/10/2025, 12:54 PMtall-airline-16756
08/10/2025, 12:54 PMpolite-dog-12152
08/10/2025, 1:21 PMtall-airline-16756
08/10/2025, 1:22 PMpolite-dog-12152
08/10/2025, 1:24 PMtall-airline-16756
08/10/2025, 1:24 PMservices:
redis:
image: redis
volumes:
- redis_data:/data
ports:
- 6379:6379
livekit:
image: livekit/livekit-server
command: --dev --redis-host localhost:6379
network_mode: host
depends_on:
redis:
condition: service_started
sip:
image: livekit/sip
network_mode: host
environment:
SIP_CONFIG_BODY: |
api_key: 'devkey'
api_secret: 'secret'
ws_url: '<ws://localhost:7880>'
redis:
address: 'localhost:6379'
sip_port: 5060
rtp_port: 10000-20000
use_external_ip: true
logging:
level: debug
volumes:
redis_data:
Here’s how to get it up and running:
1. Create a docker-compose.yaml
file and pop the above content in it.
2. Run your services with this command: docker compose up
.
This will start a local LiveKit Server and SIP Server connected to Redis. Just make sure you have Docker and Docker Compose installed, and that the necessary ports (like 5060 and 10000-20000) are open and ready to go.
If you want to dive deeper or need help with more advanced setups, just give me a shout—I’m here to help!polite-dog-12152
08/10/2025, 1:26 PMtall-airline-16756
08/10/2025, 1:27 PM