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

Docker Compose Example Fails

$
0
0

Hi Weaviate Team,

The Docker Compose example here fails for a single-node development instance.

    weaviate:
        image: semitechnologies/weaviate:latest
        networks:
            - sail
        ports:
            - '8080:8080'
            - '50051:50051'
            - '8300:8300'
        restart: on-failure
        volumes:
            - 'sail-weaviate:/var/lib/weaviate'
        environment:
            QUERY_DEFAULTS_LIMIT: 25
            AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
            PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
            ENABLE_API_BASED_MODULES: 'true'
            CLUSTER_HOSTNAME: 'node1'
            DEFAULT_VECTORIZER_MODULE: 'text2vec-cohere'
            ENABLE_MODULES: 'text2vec-cohere'

In the logs:

{"build_git_commit":"be13581","build_go_version":"go1.22.9","build_image_tag":"1.26.10","build_wv_version":"1.26.10","level":"info","msg":"attempted to join and failed","remoteNode":"172.18.0.4:8300","status":8,"time":"2024-11-22T17:38:13Z"}

Any calls to the API fail with: {"error":[{"message":"leader not found"}]}

How might this be fixed so that I can run a single node cluster for development on 1.27.5?

Thanks!


Viewing all articles
Browse latest Browse all 3588

Trending Articles