![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
docker部署
docker 或 docker-compose部署服务,助力快速启动
ykd_202020
懒到不想写
展开
-
docker-compose部署MySQL-5.7
docker-compose部署MySQL5.7不说废话直接上编辑mysql配置$ vim my.cnf# 这个配置要挂载进去[client]port = 3306socket = /var/lib/mysql/data/mysql.sock[mysqld] # 针对5.7版本执行group by字句出错问题解决sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,原创 2021-08-02 15:21:31 · 3816 阅读 · 0 评论 -
docker-compose部署apollo
docker-compose部署apollo配置中心apollo需要用到数据库apolloconfigdb 和 apolloportaldb先创建好数据库并导入初始化SQL初始化SQL如下:apolloconfigdb.sql/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;/*!4原创 2021-08-02 15:01:03 · 237 阅读 · 0 评论 -
docker-compose部署kafka
docker-compose部署kafka本文章会启动三个容器:kafka,zk, kafka-managekafka依赖zk来存储数据kafka-manage用来管理kafka服务shell version: '3.7' services: zookeeper: image: wurstmeister/zookeeper volumes: - /root/kafka/zk-data:/opt/zookeeper-3.4.13/data container_name: zookeeper ports原创 2021-08-02 14:41:46 · 1740 阅读 · 0 评论