forked from adeshpandey/kamailio-webrtc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
39 lines (38 loc) · 929 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.9'
services:
adminer:
image: adminer
restart: always
ports:
- 8081:8080
db:
image: bitnami/postgresql:12.5.0
environment:
POSTGRESQL_USERNAME: ${PGUSERNAME}
POSTGRESQL_PASSWORD: ${PGPASSWORD}
volumes:
- postgres-vol:/bitnami/postgresql
restart: unless-stopped
rtpproxy:
build: ./rtpproxy
image: adeshpandey/rtpproxy
ports:
- 10000-10020:10000-10020/udp
environment:
- PUBLIC_IP=${PUBLIC_IP}
- START_PORT=10000
- END_PORT=10020
kamailio:
image: 'kamailio/kamailio:5.2.3-bionic'
restart: unless-stopped
volumes:
- ./kamailio/kamctlrc:/etc/kamailio/kamctlrc
- ./kamailio/kamailio.cfg:/etc/kamailio/kamailio.cfg
ports:
- 5060:5060
depends_on:
- db
- rtpproxy
command: "-l udp:0.0.0.0:5060/${PUBLIC_IP}:5060 -l tcp:0.0.0.0:5060/${PUBLIC_IP}"
volumes:
postgres-vol: