You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1015 B

11 months ago
  1. # How to setup a local (or remote) Milvus Vector Database
  2. [Official Milvus Docs](https://milvus.io/docs/example_code.md) for reference.
  3. ### How to get started
  4. **Requirements**
  5. Choose one of the following
  6. - Cloud
  7. - [Cloud account](https://cloud.zilliz.com/)
  8. - Local
  9. - Docker
  10. - `git` available in your CLI/terminal
  11. **Instructions**
  12. - Cloud
  13. - Create a Cluster on your cloud account
  14. - Get connect Public Endpoint and Token
  15. - Set .env.development variable in server
  16. - Local
  17. - Download yaml file `wget https://github.com/milvus-io/milvus/releases/download/v2.3.4/milvus-standalone-docker-compose.yml -O docker-compose.yml`
  18. - Start Milvus `sudo docker compose up -d`
  19. - Check the containers are up and running `sudo docker compose ps`
  20. - Get port number and set .env.development variable in server
  21. eg: `server/.env.development`
  22. ```
  23. VECTOR_DB="milvus"
  24. MILVUS_ADDRESS="http://localhost:19530"
  25. MILVUS_USERNAME=minioadmin # Whatever your username and password are
  26. MILVUS_PASSWORD=minioadmin
  27. ```