Dear community,
I need to deploy livekit-sip on docker swarm.
Livekit-sip is using a large number of port because of SIP and RTP trafic, I need to expose a udp range from 10000 to 20000.
Obviously, the recommended way to do this is without docker swarm is
network_mode: host
seems that this is still possible somehow according to Host network driver | Docker Docs
But I’m unsure on how to do it.
I also see this Use Swarm mode routing mesh | Docker Docs but this require to list all ports ! I cannot do this because of large number of ports needed.
I also test it on my swarm service but it didn’t worked :
networks:
- hostnet
hostnet:
external: true
name: “host”
any idea ?
thank you !