|
|
|
@ -6,23 +6,29 @@ networks:
|
|
|
|
|
config:
|
|
|
|
|
- subnet: 172.172.0.0/24
|
|
|
|
|
services:
|
|
|
|
|
doris:
|
|
|
|
|
image: doris:0.12.0
|
|
|
|
|
zookeeper:
|
|
|
|
|
image: wurstmeister/zookeeper:latest
|
|
|
|
|
ports:
|
|
|
|
|
- 2181:2181
|
|
|
|
|
networks:
|
|
|
|
|
default:
|
|
|
|
|
ipv4_address: 172.172.0.171
|
|
|
|
|
kafka:
|
|
|
|
|
image: wurstmeister/kafka:2.13-2.6.0
|
|
|
|
|
restart: always
|
|
|
|
|
environment:
|
|
|
|
|
TZ: "Asia/Shanghai"
|
|
|
|
|
KAFKA_ZOOKEEPER_CONNECT: 172.172.0.171:2181
|
|
|
|
|
KAFKA_ADVERTISED_HOST_NAME: 172.172.0.170
|
|
|
|
|
volumes:
|
|
|
|
|
- ./conf/fe.conf:/opt/fe/conf/fe.conf
|
|
|
|
|
- /etc/localtime:/etc/localtime
|
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
- ./log/fe:/opt/fe/log
|
|
|
|
|
- ./data/fe/doris-meta:/opt/fe/doris-meta
|
|
|
|
|
- ./conf/be.conf:/opt/be/conf/be.conf
|
|
|
|
|
- ./data/be/storage:/opt/be/storage
|
|
|
|
|
ports:
|
|
|
|
|
- 8081:8081
|
|
|
|
|
- 8030:8030
|
|
|
|
|
- 9030:9030
|
|
|
|
|
- 9050:9050
|
|
|
|
|
- 9092:9092
|
|
|
|
|
command: bash -c "/opt/fe/bin/start_fe.sh & /opt/be/bin/start_be.sh"
|
|
|
|
|
networks:
|
|
|
|
|
default:
|
|
|
|
|
ipv4_address: 172.172.0.172
|
|
|
|
|
ipv4_address: 172.172.0.170
|
|
|
|
|