Changed freepbx network to host

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2020-01-14 18:08:29 +02:00
parent 496dbb6b46
commit 964d643195

View file

@ -4,13 +4,6 @@ services:
freepbx:
container_name: freepbx
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
@ -24,6 +17,7 @@ services:
- 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: