文件夹结构:
1)/foxcti/php/www (Web系统资源+php源码)
2)/foxcti/php/www/record CTI产生的录音文件
3)/foxcti/php/www/app/cti CTI管理系统接口文件;
4)/foxcti/php/www/ui/cti CTI后台管理界面文件;
5)/foxcti/php/www/app/cti/agi asterisk的agi配置目录
6)/foxcti/mysql/my.cnf 数据库的配置
7)/foxcti/mysql/data 数据库的数据目录
8)/foxcti/nginx/conf nginx的配置文件
9)/foxcti/asterisk/conf asterisk的配置目录
docker run --restart=always --name fox_mysql8 --security-opt seccomp:unconfined \
-v /foxcti/mysql/conf:/etc/mysql/conf.d -v /foxcti/mysql/data:/var/lib/mysql -p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=123456 -d cnbbx/mysql8
docker run --restart=always --name fox_mysql8 --security-opt seccomp:unconfined \
-v /db/mysql/conf:/etc/mysql/conf.d -v /db/mysql/data:/var/lib/mysql \
-p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d cnbbx/mysql8
docker run --restart=always --name fox_cti --net=host \
-v /foxcti/asterisk/conf:/etc/asterisk -v /foxcti/php/www:/var/www/html \
-v /foxcti/nginx/conf:/etc/nginx/conf.d -v /foxcti/nginx/log:/var/log/nginx \
-v /foxcti/asterisk/log:/var/log/asterisk \
-d cnbbx/asterisk /bin/sh /docker_run.sh php /var/www/html/index.php /mics/cti/web
Content type
Image
Digest
Size
90.4 MB
Last updated
about 7 years ago
docker pull cnbbx/asterisk