Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3628

How can I force weaviate to run(recognize?) as a single node?

$
0
0

hi @ryansamu5 !

Can you try this docker compose?

Note: I removed the network, changed the volumes to a local folder, and mapped the ports 8080 and 50051 and passed OPENAI_API_KEY as and ENV VAR.:

services:
  weaviate:
    command:
    - --host
    - 0.0.0.0
    - --port
    - '8080'
    - --scheme
    - http
    image: cr.weaviate.io/semitechnologies/weaviate:1.29.0
    container_name: weaviate
    #networks:
    #  - knomor-network
    expose:
      - "8080"
      - "50051"
    ports:
      - 8080:8080
      - 50051:50051
    volumes:
      - ./data/:/var/lib/weaviate
    restart: on-failure:0
    environment:
      QUERY_DEFAULTS_LIMIT: 25
      AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: "true"
      PERSISTENCE_DATA_PATH: "/var/lib/weaviate"
      ENABLE_MODULES: "text2vec-openai"
      LIMIT_RESOURCES: true
      CLUSTER_HOSTNAME: "node1"
      OPENAI_API_KEY: $OPENAI_API_KEY

Viewing all articles
Browse latest Browse all 3628

Trending Articles