cratedb 集群 docker-compose 安装试用
关于集群的配置说明可以参考官方文档,或者es 文档
详细代码参考 https://github.com/rongfengliang/cratedb-cluster-docker
参考配置
- docker-compose
version: "3"
services:
crate1:
image: crate
volumes:
- "./data1:/data"
- "./1.yaml:/crate/config/crate.yml"
ports:
- "4200:4200"
- "4300:4300"
- "5432:5432"
crate2:
image: crate
volumes:
- "./data2:/data"
- "./2.yaml:/crate/config/crate.yml"
ports:
- "4201:4200"
- "4301:4300"
- "5433:5432"
crate3:
image: crate
volumes:
- "./data3:/data"
- "./3.yaml:/crate/config/crate.yml"
ports:
- "4202:4200"
- "4302:4300"
- "5434:5432"
相关文章