################# # # This is an example Docker file for Weaviate with all OpenAI modules enabled # You can, but don't have to set `OPENAI_APIKEY` because it can also be set at runtime # # Find the latest version here: https://weaviate.io/developers/weaviate/installation/docker-compose # ################# --- version: '3.4' services: weaviate: command: - --host - 0.0.0.0 - --port - '8080' - --scheme - http image: semitechnologies/weaviate:1.17.2 ports: - 8080:8080 restart: on-failure:0 environment: QUERY_DEFAULTS_LIMIT: 25 AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true' PERSISTENCE_DATA_PATH: '/var/lib/weaviate' DEFAULT_VECTORIZER_MODULE: 'text2vec-openai' ENABLE_MODULES: 'text2vec-openai,qna-openai' CLUSTER_HOSTNAME: 'openai-weaviate-cluster' # The following parameter (`OPENAI_APIKEY`) is optional, as you can also provide it at insert/query time # OPENAI_APIKEY: sk-foobar ...