Added freepbx
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
4ef4d53752
commit
1262c3b7f1
1 changed files with 31 additions and 0 deletions
31
docker/freepbx/docker-compose.yaml
Normal file
31
docker/freepbx/docker-compose.yaml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
version: '2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
freepbx-app:
|
||||||
|
container_name: freepbx-app
|
||||||
|
image: tiredofit/freepbx
|
||||||
|
ports:
|
||||||
|
- 8012:80
|
||||||
|
- 5060:5060
|
||||||
|
- 5160:5160
|
||||||
|
- 18000-18100:18000-18100/udp
|
||||||
|
#### Flash Operator Panel
|
||||||
|
- 4445:4445
|
||||||
|
volumes:
|
||||||
|
- /docker/freepbx/certs:/certs
|
||||||
|
- /docker/freepbx/data:/data
|
||||||
|
- /docker/freepbx/logs:/var/log
|
||||||
|
- /docker/freepbx/www:/var/www/html
|
||||||
|
- /docker/freepbx/db:/var/lib/mysql
|
||||||
|
|
||||||
|
environment:
|
||||||
|
- RTP_START=18000
|
||||||
|
- RTP_FINISH=18100
|
||||||
|
- DB_EMBEDDED=TRUE
|
||||||
|
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
### These final lines are for Fail2ban. If you don't want, comment and also add ENABLE_FAIL2BAN=FALSE to your environment
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
privileged: true
|
Loading…
Reference in a new issue