1 Star 0 Fork 773

SUIHAN/春松客服

forked from Chatopera/春松客服 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 2.44 KB
一键复制 编辑 原始数据 按行查看 历史
Chatbot 提交于 2019-03-07 13:19 . #181 update port in docker compose
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/suihan-y/cosin.git
git@gitee.com:suihan-y/cosin.git
suihan-y
cosin
春松客服
master

搜索帮助