mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 15:58:48 +08:00
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
version: '3'
|
|
services:
|
|
docker-fe-01:
|
|
image: "apache/doris:2.0.0_alpha-fe-x86_64"
|
|
container_name: "doris-fe-01"
|
|
hostname: "fe-01"
|
|
environment:
|
|
- FE_SERVERS=fe1:172.20.80.2:9010
|
|
- FE_ID=1
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP_WEB}:8030
|
|
- ${PANEL_APP_PORT_HTTP_query_port}:9030
|
|
volumes:
|
|
- ./data/fe-01/doris-meta:/opt/apache-doris/fe/doris-meta
|
|
- ./data/fe-01/log:/opt/apache-doris/fe/log
|
|
networks:
|
|
doris_net:
|
|
ipv4_address: 172.20.80.2
|
|
docker-be-01:
|
|
image: "apache/doris:2.0.0_alpha-be-x86_64"
|
|
container_name: "doris-be-01"
|
|
hostname: "be-01"
|
|
depends_on:
|
|
- docker-fe-01
|
|
environment:
|
|
- FE_SERVERS=fe1:172.20.80.2:9010
|
|
- BE_ADDR=172.20.80.5:9050
|
|
ports:
|
|
- 8041:8040
|
|
volumes:
|
|
- ./data/be-01/storage:/opt/apache-doris/be/storage
|
|
- ./data/be-01/script:/docker-entrypoint-initdb.d
|
|
- ./data/be-01/log:/opt/apache-doris/be/log
|
|
networks:
|
|
doris_net:
|
|
ipv4_address: 172.20.80.5
|
|
networks:
|
|
doris_net:
|
|
ipam:
|
|
config:
|
|
- subnet: 172.20.80.0/24 |