背景
doris有两个进程
- fe,处理用户请求,查询,元数据管理,节点管理
- be,数据存储,查询计划执行
架构图如下:
参考:https://doris.apache.org/zh-CN/docs/get-starting/what-is-apache-doris
1、定义docker-compose文件
version: '3'
services:
docker-fe:
image: "apache/doris:1.2.2-fe-arm"
container_name: "doris-fe"
hostname: "fe"
environment:
- FE_SERVERS=fe1:172.18.0.2:9001
- FE_ID=1
ports:
- 8030:8030
- 9030:9030
volumes:
- ./data/fe/doris-meta:/opt/apache-doris/fe/doris-meta
- ./data/fe/conf:/opt/apache-doris/fe/conf
- ./data/fe/log:/opt/apache-doris/fe/log
networks:
doris_net:
ipv4_address: 172.18.0.2
docker-be:
image: "apache/do