|
|
|
@ -41,7 +41,8 @@ services:
|
|
|
|
|
environment:
|
|
|
|
|
KAFKA_HEAP_OPTS: "-Xmx512m -Xms512m"
|
|
|
|
|
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
|
|
|
|
|
KAFKA_ADVERTISED_HOST_NAME: 172.172.0.21
|
|
|
|
|
KAFKA_LISTENERS: PLAINTEXT://172.172.0.21:9092
|
|
|
|
|
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://${ip}:9092
|
|
|
|
|
num.partitions: 1
|
|
|
|
|
volumes:
|
|
|
|
|
- ./data/kafka:/kafka
|
|
|
|
@ -67,6 +68,8 @@ services:
|
|
|
|
|
networks:
|
|
|
|
|
default:
|
|
|
|
|
ipv4_address: 172.172.0.22
|
|
|
|
|
depends_on:
|
|
|
|
|
- kafka
|
|
|
|
|
kafka-connect:
|
|
|
|
|
image: confluentinc/cp-kafka-connect:6.1.1
|
|
|
|
|
restart: always
|
|
|
|
@ -141,40 +144,40 @@ services:
|
|
|
|
|
networks:
|
|
|
|
|
default:
|
|
|
|
|
ipv4_address: 172.172.0.31
|
|
|
|
|
doris-fe:
|
|
|
|
|
image: 76527413/doris:0.14.7
|
|
|
|
|
ports:
|
|
|
|
|
- 8030:8030
|
|
|
|
|
- 9010:9010
|
|
|
|
|
- 9020:9020
|
|
|
|
|
- 9030:9030
|
|
|
|
|
environment:
|
|
|
|
|
- priority_networks=172.172.0.0/24
|
|
|
|
|
volumes:
|
|
|
|
|
- ./conf/doris/fe.conf:/doris/fe/conf/fe.conf
|
|
|
|
|
- ./log/doris/fe:/doris/fe/log
|
|
|
|
|
- ./data/doris/fe/doris-meta:/doris/fe/doris-meta
|
|
|
|
|
command: bash -c "/doris/fe/bin/start_fe.sh"
|
|
|
|
|
networks:
|
|
|
|
|
default:
|
|
|
|
|
ipv4_address: 172.172.0.40
|
|
|
|
|
doris-be:
|
|
|
|
|
image: 76527413/doris:0.14.7
|
|
|
|
|
ports:
|
|
|
|
|
- 8040:8040
|
|
|
|
|
- 8060:8060
|
|
|
|
|
- 9050:9050
|
|
|
|
|
- 9060:9060
|
|
|
|
|
environment:
|
|
|
|
|
- priority_networks=172.172.0.0/24
|
|
|
|
|
volumes:
|
|
|
|
|
- ./conf/doris/be.conf:/doris/be/conf/be.conf
|
|
|
|
|
- ./data/doris/be/storage:/doris/be/storage
|
|
|
|
|
- ./log/doris/be/:/doris/be/log
|
|
|
|
|
command: bash -c "/doris/be/bin/start_be.sh"
|
|
|
|
|
networks:
|
|
|
|
|
default:
|
|
|
|
|
ipv4_address: 172.172.0.41
|
|
|
|
|
# doris-fe:
|
|
|
|
|
# image: 76527413/doris:0.14.7
|
|
|
|
|
# ports:
|
|
|
|
|
# - 8030:8030
|
|
|
|
|
# - 9010:9010
|
|
|
|
|
# - 9020:9020
|
|
|
|
|
# - 9030:9030
|
|
|
|
|
# environment:
|
|
|
|
|
# - priority_networks=172.172.0.0/24
|
|
|
|
|
# volumes:
|
|
|
|
|
# - ./conf/doris/fe.conf:/doris/fe/conf/fe.conf
|
|
|
|
|
# - ./log/doris/fe:/doris/fe/log
|
|
|
|
|
# - ./data/doris/fe/doris-meta:/doris/fe/doris-meta
|
|
|
|
|
# command: bash -c "/doris/fe/bin/start_fe.sh"
|
|
|
|
|
# networks:
|
|
|
|
|
# default:
|
|
|
|
|
# ipv4_address: 172.172.0.40
|
|
|
|
|
# doris-be:
|
|
|
|
|
# image: 76527413/doris:0.14.7
|
|
|
|
|
# ports:
|
|
|
|
|
# - 8040:8040
|
|
|
|
|
# - 8060:8060
|
|
|
|
|
# - 9050:9050
|
|
|
|
|
# - 9060:9060
|
|
|
|
|
# environment:
|
|
|
|
|
# - priority_networks=172.172.0.0/24
|
|
|
|
|
# volumes:
|
|
|
|
|
# - ./conf/doris/be.conf:/doris/be/conf/be.conf
|
|
|
|
|
# - ./data/doris/be/storage:/doris/be/storage
|
|
|
|
|
# - ./log/doris/be/:/doris/be/log
|
|
|
|
|
# command: bash -c "/doris/be/bin/start_be.sh"
|
|
|
|
|
# networks:
|
|
|
|
|
# default:
|
|
|
|
|
# ipv4_address: 172.172.0.41
|
|
|
|
|
networks:
|
|
|
|
|
default:
|
|
|
|
|
driver: bridge
|
|
|
|
|