mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
Remove the third-party service that you rely on when starting the service
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
057563d936
commit
31d06e6c28
@ -16,44 +16,44 @@ services:
|
|||||||
- "6650:6650"
|
- "6650:6650"
|
||||||
- "18080:8080"
|
- "18080:8080"
|
||||||
|
|
||||||
pd0:
|
# pd0:
|
||||||
image: pingcap/pd:latest
|
# image: pingcap/pd:latest
|
||||||
network_mode: "host"
|
# network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "2379:2379"
|
# - "2379:2379"
|
||||||
- "2380:2380"
|
# - "2380:2380"
|
||||||
volumes:
|
# volumes:
|
||||||
- /tmp/config/pd.toml:/pd.toml:ro
|
# - /tmp/config/pd.toml:/pd.toml:ro
|
||||||
- /tmp/data:/data
|
# - /tmp/data:/data
|
||||||
- /tmp/logs:/logs
|
# - /tmp/logs:/logs
|
||||||
- /etc/localtime:/etc/localtime:ro
|
# - /etc/localtime:/etc/localtime:ro
|
||||||
command:
|
# command:
|
||||||
- --name=pd0
|
# - --name=pd0
|
||||||
- --client-urls=http://0.0.0.0:2379
|
# - --client-urls=http://0.0.0.0:2379
|
||||||
- --peer-urls=http://0.0.0.0:2380
|
# - --peer-urls=http://0.0.0.0:2380
|
||||||
- --advertise-client-urls=http://127.0.0.1:2379
|
# - --advertise-client-urls=http://127.0.0.1:2379
|
||||||
- --advertise-peer-urls=http://127.0.0.1:2380
|
# - --advertise-peer-urls=http://127.0.0.1:2380
|
||||||
- --initial-cluster=pd0=http://127.0.0.1:2380
|
# - --initial-cluster=pd0=http://127.0.0.1:2380
|
||||||
- --data-dir=/data/pd0
|
# - --data-dir=/data/pd0
|
||||||
- --log-file=/logs/pd0.log
|
# - --log-file=/logs/pd0.log
|
||||||
restart: on-failure
|
# restart: on-failure
|
||||||
|
#
|
||||||
tikv0:
|
# tikv0:
|
||||||
network_mode: "host"
|
# network_mode: "host"
|
||||||
image: pingcap/tikv:latest
|
# image: pingcap/tikv:latest
|
||||||
ports:
|
# ports:
|
||||||
- "20160:20160"
|
# - "20160:20160"
|
||||||
volumes:
|
# volumes:
|
||||||
- /tmp/config/tikv.toml:/tikv.toml:ro
|
# - /tmp/config/tikv.toml:/tikv.toml:ro
|
||||||
- /tmp/data:/data
|
# - /tmp/data:/data
|
||||||
- /tmp/logs:/logs
|
# - /tmp/logs:/logs
|
||||||
- /etc/localtime:/etc/localtime:ro
|
# - /etc/localtime:/etc/localtime:ro
|
||||||
command:
|
# command:
|
||||||
- --addr=0.0.0.0:20160
|
# - --addr=0.0.0.0:20160
|
||||||
- --advertise-addr=127.0.0.1:20160
|
# - --advertise-addr=127.0.0.1:20160
|
||||||
- --data-dir=/data/tikv0
|
# - --data-dir=/data/tikv0
|
||||||
- --pd=127.0.0.1:2379
|
# - --pd=127.0.0.1:2379
|
||||||
- --log-file=/logs/tikv0.log
|
# - --log-file=/logs/tikv0.log
|
||||||
depends_on:
|
# depends_on:
|
||||||
- "pd0"
|
# - "pd0"
|
||||||
restart: on-failure
|
# restart: on-failure
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user