代码拉取完成,页面将自动刷新
同步操作将从 Chatopera/春松客服 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '2'
services:
mysql:
image: "mysql:5.6"
restart: always
environment:
- MYSQL_ROOT_PASSWORD=123456
- MYSQL_DATABASE=contactcenter
- MYSQL_USER=admin
- MYSQL_PASSWORD=admin123456
ports:
- "8037:3306"
volumes:
- $PWD/mysql/data:/var/lib/mysql
- $PWD/mysql/config:/etc/mysql
- $PWD/contact-center/config/sql/cskefu-MySQL-slim.sql:/docker-entrypoint-initdb.d/0.cskefu-MySQL-slim.sql
command: --max_allowed_packet=32505856
redis:
image: redis:latest
restart: always
command: redis-server --appendonly yes
volumes:
- $PWD/redis/data:/data
ports:
- "8041:6379"
elasticsearch:
image: "elasticsearch:2.4.6"
restart: always
volumes:
- $PWD/elasticsearch/data:/usr/share/elasticsearch/data
- $PWD/elasticsearch/config:/usr/share/elasticsearch/config
- $PWD/elasticsearch/plugins:/usr/share/elasticsearch/plugins
ports:
- "8039:9200"
- "8040:9300"
contact-center:
image: "chatopera/contact-center:develop"
restart: always
ports:
- "8035:8035"
- "8036:8036"
volumes:
- $PWD/contact-center/data:/data
- $PWD/contact-center/logs:/logs
environment:
- JAVA_OPTS=-Xmx12288m -Xms2048m -XX:PermSize=256m -XX:MaxPermSize=1024m -Djava.net.preferIPv4Stack=true
- SERVER_PORT=8035
- SERVER_LOG_PATH=/logs
- SERVER_LOG_LEVEL=INFO
- WEB_UPLOAD_PATH=/data
- SPRING_FREEMARKER_CACHE=true
- SPRING_DATA_ELASTICSEARCH_PROPERTIES_PATH_DATA=/data
- UK_IM_SERVER_PORT=8036
- UK_IM_SERVER_HOST=localhost
- UK_IM_SERVER_THREADS=10
# set a separated port for SSL
- CS_IM_SERVER_SSL_PORT=
- SPRING_DATASOURCE_TYPE=com.alibaba.druid.pool.DruidDataSource
- SPRING_DATASOURCE_DRIVER_CLASS_NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_URL=jdbc:mysql://mysql:3306/contactcenter?useUnicode=true&characterEncoding=UTF-8
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=123456
- MANAGEMENT_SECURITY_ENABLED=false
- SPRING_REDIS_DATABASE=2
- SPRING_REDIS_HOST=redis
- SPRING_REDIS_PORT=6379
- CSKEFU_CALLOUT_WATCH_INTERVAL=60000
- SPRING_DATA_ELASTICSEARCH_CLUSTER_NAME=elasticsearch
- SPRING_DATA_ELASTICSEARCH_CLUSTER_NODES=elasticsearch:9300
- SPRING_DATA_ELASTICSEARCH_LOCAL=false
- SPRING_DATA_ELASTICSEARCH_REPOSITORIES_ENABLED=true
depends_on:
- mysql
- redis
- elasticsearch
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。