3CX PBX Phone System (v18.x) small image (~300Mb) that starts 3CXWizard on first run
10K+
Use at your own risk. It comes with no guarantee. Always do backups. Etc.
Feedback or issues: https://github.com/izer-xyz/3cx-docker/issues
3CX PBX Phone System docker image:
$ docker run \
-d \
-t \
--tmpfs /tmp \
--tmpfs /run \
--tmpfs /run/lock \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-p 5015:5015 \
-p 5000:5000 \
-p 5001:5001 \
-p 5060:5060 \
-p 5060:5060/udp \
-p 5090:5090 \
-p 5090:5090/udp \
ghcr.io/izer-xyz/3cx:latest
chrome http://[hostname]:5015/?v=2
Upgrade (and setup process) only works on the first run. If fails wipe the container and start again or use 3CXCleanup.
Upgrade using simple/opinionted restore config:
$ docker run \
-d \
-t \
--tmpfs /tmp \
--tmpfs /run \
--tmpfs /run/lock \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-p 5015:5015 \
-p 5000:5000 \
-p 5001:5001 \
-p 5060:5060 \
-p 5060:5060/udp \
-p 5090:5090 \
-p 5090:5090/udp \
-v /mnt/3cx:/mnt/3cx \
--env CX_BACKUP_FILE=/mnt/voip/backups/3CXScheduledBackup.zip \
--env CX_PUBLIC_IP=X.X.X.X \
--env CX_INTERNAL_FQDN=3cx.example.com \
ghcr.io/izer-xyz/3cx:latest
Where,
CX_BACKUP_FILE: is the scheduled backup file location to restore fromCX_PIBLIC_IP: public ipv4 address of the serverCX_INTERNAL_FQDN: internal full qualified domain name of the server (not the 3cx supplied public domain)BYO setupconfig.xml. The example assumes that the /mnt/3cx/config/setupconfig.xml exists with the approriate configuation to setup the instance.
$ docker run \
-d \
-t \
--tmpfs /tmp \
--tmpfs /run \
--tmpfs /run/lock \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-p 5015:5015 \
-p 5000:5000 \
-p 5001:5001 \
-p 5060:5060 \
-p 5060:5060/udp \
-p 5090:5090 \
-p 5090:5090/udp \
-v /mnt/3cx:/mnt/3cx \
-v /mnt/3cx/config:/etc/3cxpbx \
ghcr.io/izer-xyz/3cx:latest
Check the logs: /var/lib/3cxpbx/Data/Logs/PbxConfigTool.log
Failed setup (Warning this will delete all user data!):
$ docker exec -it [container id] /usr/sbin/3CXCleanup
Content type
Image
Digest
sha256:3be92d8fe…
Size
293.2 MB
Last updated
almost 4 years ago
docker pull izerxyz/3cx