0.22.16 Cleanups and environment variable based configuration
Docker image/tag: semitechnologies/weaviate:0.22.16
See also: example docker-compose files in English, Dutch, German, Czech, Italian.
Breaking Changes
none
New Features
-
Specify configuration through environment variables (#1230)
Prior to this release, Weaviate required a config file. That was not the cloud-native way to handle config. Furthermore, users who wanted to try out Weaviate using the docker-compose setup, had to download two files. Now all config can be managed through the docker-compose file itself.The following environment variables can be set:
Variable Description Type Example Value ORIGINSet the http(s) origin for Weaviate string - HTTP originhttps://my-weaviate-deployment.comCONFIGURATION_STORAGE_URLService-Discovery for the (etcd) config store. string - URLhttp://etcd:2379CONTEXTIONARY_URLService-Discovery for the contextionary container string - URLhttp://contextionaryESVECTOR_URLService-Discovery for the Elasticsearch instance string - URLhttp://esvector:9200ESVECTOR_NUMBER_OF_SHARDSConfigure default number of ES shards int1ESVECTOR_AUTO_EXPAND_REPLICASWheter ES should auto expand replicas string1-3STANDALONE_MODETurn on experimental standalone mode string - true/falsefalsePERSISTENCE_DATA_PATHOnly if STANDALONE_MODE=true: Where should Weaviate Standalone store its data?string - file path/var/lib/weaviateAUTHENTICATION_ANONYMOUS_ACCESS_ENABLEDAllow users to interact with weaviate without auth string - true/falsetrueAUTHENTICATION_OIDC_ENABLEDEnable OIDC Auth string - true/falsefalseAUTHENTICATION_OIDC_ISSUEROIDC Token Issuer string - URLhttps://myissuer.comAUTHENTICATION_OIDC_CLIENT_IDOIDC Client ID stringmy-client-idAUTHENTICATION_OIDC_USERNAME_CLAIMOIDC Username Claim stringemailAUTHENTICATION_OIDC_GROUPS_CLAIMOIDC Groups Claim stringgroupsAUTHORIZATION_ADMINLIST_ENABLEDEnable AdminList Authorization mode string - true/falsetrueAUTHORIZATION_ADMINLIST_USERSUsers with admin permission string - comma-separated listjane@example.com,john@example.comAUTHORIZATION_ADMINLIST_READONLY_USERSUsers with read-only permission string - comma-separated listalice@example.com,dave@example.com -
More CRUD capabilities in Standalone-Mode (#1221)
If you are running the experimental standalone mode (a preview of some of the features we will introduce in1.0.0), more CRUD capabilities were added. See #1221 for details and the "Standalone Mode" status page for an up-to-date feature/limitations overview.
Fixes
- Remove broken/unused/impossible endpoints (#1235)
Prior to this release, there were some REST endpoints that were never implemented or always failed, due to the action not being possible. They have been cleaned up in this release. This removal of endpoints is considered non-breaking, as they were never usable to begin with. See #1235 for which endpoints were removed.