这是部署文件
version: "3"
services:
fe:
image: apache/doris:doris-fe-2.1.7
hostname: fe
networks:
doris-network:
ipv4_address: 172.18.0.100
ports:
- "8030:8030"
- "9030:9030"
environment:
- FE_SERVERS=fe1:172.18.0.100:9010
- FE_ID=1
volumes:
- /data/doris/fe/doris-meta:/opt/apache-doris/fe/doris-meta
- /data/doris/fe/log:/opt/apache-doris/fe/log
- /data/doris/fe/conf:/opt/apache-doris/fe/conf
be:
image: apache/doris:doris-be-2.1.7
hostname: be
networks:
doris-network:
ipv4_address: 172.18.0.101
ports:
- "8040:8040"
environment:
- FE_SERVERS=fe1:172.18.0.100:9010
- BE_ADDR=172.18.0.101:9050
volumes:
- /data/doris/be/storage:/opt/apache-doris/be/storage
- /data/doris/be/log:/opt/apache-doris/be/log
- /data/doris/be/conf:/opt/apache-doris/be/conf
depends_on:
- fe
networks:
doris-network:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/24
第一次部署成功后,创建连接,修改密码,创建库,表都没问题。然后docker-compose down后,重新docker-compose up -d 就起不来报错。
一直刷这个错误