-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose-testbed.yaml
64 lines (57 loc) · 1.38 KB
/
docker-compose-testbed.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '2'
networks:
siprec:
driver: bridge
ipam:
config:
- subnet: 172.32.0.0/16
services:
drachtio:
image: drachtio/drachtio-server:latest
command: drachtio --contact "sip:*;transport=udp" --loglevel debug
container_name: drachtio
ports:
- "9023:9022/tcp"
networks:
siprec:
ipv4_address: 172.32.0.2
rtpengine:
image: drachtio/rtpengine:latest
command: rtpengine --port-min 30000 --port-max 30100 --log-level 7
container_name: rtpengine
ports:
- "33333:22222/udp"
volumes:
- ./tmp/rtpengine:/tmp/rtp1
networks:
siprec:
ipv4_address: 172.32.0.3
freeswitch:
image: davehorton/freeswitch-hairpin:latest
command: freeswitch
container_name: freeswitch
volumes:
- ./tmp/log:/usr/local/freeswitch/log
- ./tmp/recordings:/usr/local/freeswitch/recordings
networks:
siprec:
ipv4_address: 172.32.0.4
redis:
image: redis
container_name: redis
ports:
- "9379:6379/tcp"
networks:
siprec:
ipv4_address: 172.32.0.5
rtpengine2:
image: drachtio/rtpengine:latest
command: rtpengine --port-min 30000 --port-max 30100 --log-level 7
container_name: rtpengine2
ports:
- "44444:22222/udp"
volumes:
- ./tmp/rtpengine:/tmp/rtp2
networks:
siprec:
ipv4_address: 172.32.0.6