snippets/docker/docker-compose-kamailio.yml

25 lines
498 B
YAML
Raw Permalink Normal View History

2024-10-02 23:47:38 +00:00
version: '2'
services:
kamailio:
build: ./kamailio
restart: always
hostname: kamailio
container_name: kamailio
entrypoint:
- /bin/bash
- /etc/kamailio/entrypoint.sh
volumes:
- ./kamailio:/etc/kamailio
- ./kamailio/kamailio:/etc/default/kamailio
- ./kamailio/rtpproxy:/etc/default/rtpproxy
ports:
- "5060:5060/tcp"
- "5060:5060/udp"
- "5061:5061/tcp"
- "5061:5061/udp"
networks:
- net
networks:
- net