-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnspbx.yaml
106 lines (102 loc) · 3.14 KB
/
nspbx.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: '3.4'
services:
mariadb:
image: nsoporte/mariadb:d10
container_name: mariadb
restart: always
network_mode: host
environment:
- MYSQL_ROOT_PASSWORD=MysQLadminTmp123.
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/data/var/lib/mysql:/var/lib/mysql"
- "/data/etc/mysql:/etc/mysql"
- "/tmp:/tmp"
asterisk:
image: nsoporte/asterisk:11.25.3
container_name: asterisk
network_mode: host
restart: always
privileged: true
environment:
- G729=xeon
volumes:
- /data/etc/asterisk:/etc/asterisk
- /data/var/lib/asterisk:/var/lib/asterisk
- /data/var/spool/asterisk/monitor:/var/spool/asterisk/monitor
- /data/var/spool/asterisk/voicemail:/var/spool/asterisk/voicemail
- /data/var/run/asterisk:/var/run/asterisk
- /data/var/log/asterisk:/var/log/asterisk
- /data/etc/issabelpbx.conf:/etc/issabelpbx.conf
- /etc/localtime:/etc/localtime:ro
- /data/var/asterisk/g729:/g729
depends_on:
- mariadb
nspbx:
image: nsoporte/nspbx
container_name: nspbx
restart: always
privileged: true
network_mode: host
volumes:
- /data/var/www/db:/var/www/db
- /data/var/log/httpd:/var/log/httpd
- /data/var/run/asterisk:/var/run/asterisk
- /data/etc/asterisk:/etc/asterisk
- /data/var/spool/asterisk:/var/spool/asterisk
- /data/var/lib/asterisk:/var/lib/asterisk
- /data/etc/amportal.conf:/etc/amportal.conf:rw
- /data/etc/issabelpbx.conf:/etc/issabelpbx.conf:rw
- /data/etc/issabel.conf:/etc/issabel.conf:rw
- /data/var/log/asterisk:/var/log/asterisk
- /data/var/log/issabel:/var/log/issabel
- /etc/localtime:/etc/localtime:rw
- /data/etc/letsencrypt:/etc/letsencrypt
- /data/etc/httpd/conf:/etc/httpd/conf
- /data/etc/httpd/conf.d:/etc/httpd/conf.d
- /var/run/docker.sock:/var/run/docker.sock:rw
depends_on:
- mariadb
- asterisk
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
privileged: false
network_mode: bridge
environment:
- PMA_HOST=172.17.0.1
- PMA_PORT=3306
ports:
- 8080:80
volumes:
- /etc/localtime:/etc/localtime:rw
depends_on:
- mariadb
ftpserver:
image: "nsoporte/ftpserver"
container_name: "ftpserver"
network_mode: "host"
restart: "always"
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/usr/share/webmin:/media/share"
- "/data/etc/ftpserver:/conf"
- "/data/var/log/ftpserver:/log"
- "/data/var/spool/asterisk/monitor:/ftp"
nsfirewall:
image: nsoporte/nsfirewall
container_name: nsfirewall
restart: always
privileged: true
network_mode: host
environment:
- FAIL2BAN=yes
volumes:
- /etc/localtime:/etc/localtime:rw
- /data/etc/nsfirewall/shorewall:/etc/shorewall
- /data/etc/nsfirewall/fail2ban:/etc/fail2ban
- /data/var/lib/nsfirewall/fail2ban:/fail2ban
- /var/log/auth.log:/var/log/auth.log:ro
- /data/var/log/asterisk:/var/log/asterisk:ro
- /data/var/log/nsfirewall/shorewall:/var/log/shorewall
- /data/var/log/ftpserver:/var/log/proftpd