How to run Weaviate using a binary?

This post describes how to run Weaviate using a binary file:

  1. Download Weaviate binary. Go to releases page to download a suitable Weaviate binary.

  2. Create a weaviate.conf.json file:

{
  "authentication": {
    "anonymous_access": {
      "enabled": true
    }
  },
  "authorization": {
    "admin_list": {
      "enabled": false
    }
  },
  "query_defaults": {
    "limit": 100
  },
  "persistence": {
    "dataPath": "./data"
  }
}
  1. Run a binary:
./weaviate --host 0.0.0.0 --port 8080 --scheme http

Alternatively one can provide a configuration using yaml format.

Create a weaviate.conf.yaml file with this contents:

authentication:
  anonymous_access:
    enabled: true
authorization:
  admin_list:
    enabled: false
query_defaults:
  limit: 100
persistence:
  dataPath: ./data 

Run binary:

./weaviate --config-file=weaviate.conf.yaml --host 0.0.0.0 --port 8080 --scheme http
3 Likes

Hi and thank you very much for the information!

Two questions:

  1. Is there any plan to document this in the official documentation?
  2. Is there any info on the schema of the configuration file?

Thanks!