Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function compose_down_all {
}

function all_weaviate_ports {
echo "8090 8081 8087 8088 8089 8086 8082 8083 8075 8092 8085 8080" # in alphabetic order of appearance in docker-compose files
echo "8090 8081 8091 8087 8088 8089 8086 8082 8083 8075 8092 8085 8080" # in alphabetic order of appearance in docker-compose files
}

function wait(){
Expand Down
32 changes: 32 additions & 0 deletions ci/docker-compose-backups.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
version: '3.4'
services:
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
- --write-timeout=600s
image: semitechnologies/weaviate:${WEAVIATE_VERSION}
ports:
- "8091:8080"
- "50062:50051"
restart: on-failure:0
environment:
CONTEXTIONARY_URL: contextionary:9999
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
ENABLE_MODULES: backup-filesystem
BACKUP_FILESYSTEM_PATH: "/tmp/backups"
CLUSTER_GOSSIP_BIND_PORT: "7100"
CLUSTER_DATA_BIND_PORT: "7101"
CLUSTER_HOSTNAME: "node1"
AUTOSCHEMA_ENABLED: 'false'
DISABLE_TELEMETRY: 'true'
DISABLE_LAZY_LOAD_SHARDS: 'true'
GRPC_MAX_MESSAGE_SIZE: 100000000 # 100mb
...
3 changes: 1 addition & 2 deletions ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ services:
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'text2vec-contextionary'
ENABLE_MODULES: text2vec-contextionary,backup-filesystem,generative-dummy,generative-anyscale,reranker-dummy,reranker-cohere
BACKUP_FILESYSTEM_PATH: "/tmp/backups"
ENABLE_MODULES: text2vec-contextionary,generative-dummy,generative-anyscale,reranker-dummy,reranker-cohere
CLUSTER_GOSSIP_BIND_PORT: "7100"
CLUSTER_DATA_BIND_PORT: "7101"
CLUSTER_HOSTNAME: "node1"
Expand Down
2 changes: 1 addition & 1 deletion integration/test_backup_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

@pytest.fixture(scope="module")
def client() -> Generator[weaviate.WeaviateClient, None, None]:
client = weaviate.connect_to_local()
client = weaviate.connect_to_local(port=8091, grpc_port=50062)
client.collections.delete("Paragraph")
client.collections.delete("Article")

Expand Down
Loading