3CX SBC Docker - Synology Container Manager
3CX SBC Docker - Synology Container Manager
- Create a conf and log subfolder under the Docker directory.
- Create 3cxsbc.conf and 3cxsbcconf.local files within the conf folder.
- Creazte 3cxsbc.log and 3cxsbc.log.mon files within the log folder.
- Add write permission to everyone for 3cxsbc and all subfolders.
Open the Synology Container Manager and create a new project,
Project name = 3cxsbc
Patch = Docker/3cxsbc
Source = Create docker-compose.yml and copy the code below the URL and key copy from 3CX website, save and build.
version: "2.4"
services:
sbc:
container_name: 3cxsbc
image: apyos/docker-3cx-sbc
network_mode: host
restart: unless-stopped
environment:
- PBX_URL="https://URL"
- PBX_KEY="key"
volumes:
- /volume1/docker/3cxsbc/conf/3cxsbc.conf.local:/etc/3cxsbc.conf.local:rw
- /volume1/docker/3cxsbc/conf/3cxsbc.conf:/etc/3cxsbc.conf:rw
- /volume1/docker/3cxsbc/log/3cxsbc.log:/var/log/3cxsbc/3cxsbc.log:rw
- /volume1/docker/3cxsbc/log/3cxsbc.log.mon:/var/log/3cxsbc/3cxsbc.log.mon:rw
Comments
Post a Comment