Skip to content

brainbeanapps/docker-freepbx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreePBX with Asterisk in Docker image

Build Status Docker Pulls Docker Stars Docker Layers

Dockerized version of FreePBX with Asterisk by Brainbean Apps

Usage

docker run \
  --name freepbx \
  --restart unless-stopped \
  --net=host \
  -v /pbx/asterisk/etc:/etc/asterisk:rw \
  -v /pbx/asterisk/log:/var/log/asterisk:rw \
  -v /pbx/asterisk/lib:/var/lib/asterisk:rw \
  -v /pbx/asterisk/spool:/var/spool/asterisk:rw \
  -v /pbx/freepbx/freepbx.conf:/etc/freepbx.conf:rw \
  -v /pbx/freepbx/amportal.conf:/etc/amportal.conf:rw \
  -v /pbx/freepbx/odbc.ini:/etc/odbc.ini:rw \
  -v /pbx/db:/var/lib/mysql:rw \
  brainbeanapps/asterisk:latest

or

docker volume create pbx-asterisk-etc
docker volume create pbx-asterisk-log
docker volume create pbx-asterisk-lib
docker volume create pbx-asterisk-spool
docker volume create pbx-db
  --name freepbx \
  --restart unless-stopped \
  --net=host \
  -v pbx-asterisk-etc:/etc/asterisk:rw \
  -v pbx-asterisk-log:/var/log/asterisk:rw \
  -v pbx-asterisk-lib:/var/lib/asterisk:rw \
  -v pbx-asterisk-spool:/var/spool/asterisk:rw \
  -v /pbx/freepbx/freepbx.conf:/etc/freepbx.conf:rw \
  -v /pbx/freepbx/amportal.conf:/etc/amportal.conf:rw \
  -v /pbx/freepbx/odbc.ini:/etc/odbc.ini:rw \
  -v pbx-db:/var/lib/mysql:rw \
  brainbeanapps/asterisk:latest

Network

Check default ports used here.