2020-01-14 16:01:14 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
2020-01-14 16:08:34 +02:00
|
|
|
freepbx:
|
|
|
|
container_name: freepbx
|
2020-01-14 16:01:14 +02:00
|
|
|
image: tiredofit/freepbx
|
|
|
|
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
|
2020-01-14 18:08:29 +02:00
|
|
|
network_mode: host
|
2020-01-14 16:01:14 +02:00
|
|
|
|
|
|
|
### 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
|