server_config.yaml 1.6 KB
Newer Older
G
groot 已提交
1
server_config:
G
groot 已提交
2
  address: 0.0.0.0
Z
update  
zhiru 已提交
3
  port: 19530                 # the port milvus listen to, default: 19530, range: 1025 ~ 65534
G
groot 已提交
4
  gpu_index: 0                # the gpu milvus use, default: 0, range: 0 ~ gpu number - 1
Z
update  
zhiru 已提交
5
  mode: single                # milvus deployment type: single, cluster, read_only
G
groot 已提交
6 7

db_config:
J
jinhai 已提交
8
  db_path: /tmp/milvus
Z
zhiru 已提交
9 10
  #URI format: dialect://username:password@host:port/database
  #All parts except dialect are optional, but you MUST include the delimiters
11 12 13
  #Currently supports mysql or sqlite
  db_backend_url: mysql://root:1234@:/test # meta database uri
  index_building_threshold: 1024   # index building trigger threshold, default: 1024, unit: MB
G
groot 已提交
14 15
  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
G
groot 已提交
16

Y
yu yunfeng 已提交
17
metric_config:
Y
off  
yu yunfeng 已提交
18
  is_startup: off      # if monitoring start: on, off
G
groot 已提交
19 20 21 22 23 24
  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
Y
yu yunfeng 已提交
25

G
groot 已提交
26
license_config:         # license configure
G
groot 已提交
27
  license_path: "/tmp/milvus/system.license" # license file path
G
groot 已提交
28

G
groot 已提交
29
cache_config:           # cache configure
G
groot 已提交
30
  cpu_cache_capacity: 16   # how many memory are used as cache, unit: GB, range: 0 ~ less than total memory