mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
9e87c4b147
Former-commit-id: e88640834e9999cda6eec885cdb91bcaefe1b566
33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
server_config:
|
|
address: 0.0.0.0
|
|
port: 19530 # the port milvus listen to, default: 19530, range: 1025 ~ 65534
|
|
gpu_index: 0 # the gpu milvus use, default: 0, range: 0 ~ gpu number - 1
|
|
mode: single # milvus deployment type: single, cluster
|
|
|
|
db_config:
|
|
db_path: @MILVUS_DB_PATH@ # milvus data storage path
|
|
|
|
# URI format: dialect://username:password@host:port/database
|
|
# All parts except dialect are optional, but you MUST include the delimiters
|
|
# Currently dialect supports mysql or sqlite
|
|
db_backend_url: dialect://username:password@host:port/database # meta database uri
|
|
|
|
index_building_threshold: 1024 # index building trigger threshold, default: 1024, unit: MB
|
|
archive_disk_threshold: 512 # triger archive action if storage size exceed this value, unit: GB
|
|
archive_days_threshold: 30 # files older than x days will be archived, unit: day
|
|
|
|
metric_config:
|
|
is_startup: off # if monitoring start: on, off
|
|
collector: prometheus # metrics collector: prometheus
|
|
prometheus_config: # following are prometheus configure
|
|
collect_type: pull # prometheus collect data method
|
|
port: 8080 # the port prometheus use to fetch metrics
|
|
push_gateway_ip_address: 127.0.0.1 # push method configure: push gateway ip address
|
|
push_gateway_port: 9091 # push method configure: push gateway port
|
|
|
|
|
|
license_config: # license configure
|
|
license_path: "@MILVUS_DB_PATH@/system.license" # license file path
|
|
|
|
cache_config: # cache configure
|
|
cpu_cache_capacity: 16 # how many memory are used as cache, unit: GB, range: 0 ~ less than total memory |