f3a651be60
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
25 lines
614 B
YAML
25 lines
614 B
YAML
version: '2'
|
|
|
|
services:
|
|
freepbx:
|
|
container_name: freepbx
|
|
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
|
|
network_mode: host
|
|
|
|
### 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
|