HomeGuidesSDK ExamplesAnnouncementsCommunity
Guides

Weaviate Requirements

New versions of AnswerRocket require Weaviate, a vector database. This document outlines requirements and a sample setup.

Mandatory
Your AnswerRocket deployment must be able to connect to a running Weaviate server on port 80.

Example Configuration
The following section is one possible configuration. You may choose to run Weaviate in whatever fashion suits your company, as long as your AnswerRocket server can connect to it on port 80.

Virtual Machine

  • 4 vCPUS
  • 16 GB Memory

OS / Software

  • Ubuntu 20
  • Docker
  • Docker Compose Configuration

docker-compose.yml

version: '3.4'  
services:  
  weaviate:  
    command:  
    - --host  
    - 0.0.0.0  
    - --port  
    - '8080'  
    - --scheme  
    - http  
    image: semitechnologies/weaviate:1.18.2  
    ports:  
    - 80:8080  
    restart: on-failure:0  
    environment:  
      GOMEMLIMIT: 14GiB  
      PROMETHEUS_MONITORING_ENABLED: 'true'  
      QUERY_DEFAULTS_LIMIT: 25  
      AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'  
      PERSISTENCE_DATA_PATH: '/var/lib/weaviate'  
      DEFAULT_VECTORIZER_MODULE: 'none'  
      ENABLE_MODULES: ''  
      CLUSTER_HOSTNAME: 'node1'  
    volumes:  
      - /var/weaviate:/var/lib/weaviate