1 Star 0 Fork 35

Anin/docker-compose

forked from kancy/docker-compose 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose-canal-server.yml 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
kancy666 提交于 2020-05-27 00:53 . canal
version: '3'
services:
canal-server:
image: canal/canal-server:v1.1.4
container_name: canal-server
ports:
- 11111:11111
depends_on:
- mysql
environment:
- canal.destinations=test
- canal.instance.master.address=192.168.3.201:3306
- canal.instance.dbUsername=canal
- canal.instance.dbPassword=canal
- canal.instance.filter.regex=vccx.t_cust,vmc.*
volumes:
- ./canal-server/logs/:/home/admin/canal-server/logs/
mysql:
image: mysql:5.7.22
container_name: mysql
command:
--default-authentication-plugin=mysql_native_password
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
--explicit_defaults_for_timestamp=true
--lower_case_table_names=1
# canal 配置 , ref: https://github.com/alibaba/canal/wiki/QuickStart
--log-bin=mysql-bin
--server_id=1000
--binlog-format=ROW
volumes:
- /data/docker_file/mysql/data/:/var/lib/mysql/
restart: always
ports:
- "3306:3306"
- "33060:33060"
environment:
TZ: Asia/Shanghai
MYSQL_ROOT_PASSWORD: root123
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/aninn/docker-compose.git
git@gitee.com:aninn/docker-compose.git
aninn
docker-compose
docker-compose
master

搜索帮助