-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
71 lines (70 loc) · 1.86 KB
/
Copy pathdocker-compose.yml
File metadata and controls
71 lines (70 loc) · 1.86 KB
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
64
65
66
67
68
69
70
71
version: '3'
services:
opensips-1:
container_name: opensips-1
image: opensips:v3.3
privileged: true
restart: always
volumes:
- $PWD/opensips-1/etc/opensips.cfg:/etc/opensips/opensips.cfg
- $PWD/opensips-1/etc/opensips-cli.cfg:/etc/opensips-cli.cfg
- $PWD/opensips-1/etc/pi_framework.xml:/usr/share/opensips/pi_http/pi_framework.xml
#ports:
#- 1060:5060/udp
#- 1060:5060/tcp
#networks:
#sipnetwork:
#ipv4_address: 192.168.1.10
network_mode: host
ulimits:
nofile:
soft: 65536
hard: 65536
opensips-2:
container_name: opensips-2
image: opensips:v3.3
privileged: true
restart: always
volumes:
- $PWD/opensips-2/etc/opensips.cfg:/etc/opensips/opensips.cfg
- $PWD/opensips-2/etc/opensips-cli.cfg:/etc/opensips-cli.cfg
- $PWD/opensips-2/etc/pi_framework.xml:/usr/share/opensips/pi_http/pi_framework.xml
#ports:
#- 2060:5060/udp
#- 2060:5060/tcp
#networks:
#sipnetwork:
#ipv4_address: 192.168.1.20
network_mode: host
ulimits:
nofile:
soft: 65536
hard: 65536
opensips-3:
container_name: opensips-3
image: opensips:v3.3
privileged: true
restart: always
volumes:
- $PWD/opensips-3/etc/opensips.cfg:/etc/opensips/opensips.cfg
- $PWD/opensips-3/etc/opensips-cli.cfg:/etc/opensips-cli.cfg
- $PWD/opensips-3/etc/pi_framework.xml:/usr/share/opensips/pi_http/pi_framework.xml
#ports:
#- 3060:5060/udp
#- 3060:5060/tcp
#networks:
#sipnetwork:
#ipv4_address: 192.168.1.30
network_mode: host
ulimits:
nofile:
soft: 65536
hard: 65536
#networks:
# sipnetwork:
# external:
# name: sipnet
#networks:
# docker-network:
# external:
# name: docker-network-app