hi @Hamza_Rezgui !!
in your scenario, you should avoid using connect_to_local, and use connect_to_custom instead.
or if using connect_to_local
, also provide grpc_host
as “weaviate”
I believe this will work for you:
client = weaviate.connect_to_custom(
http_host="weaviate",
http_port=8080,
http_secure=False,
grpc_host="weaviate",
grpc_port= 50051,
grpc_secure=False,
)
print(client.is_ready())
Let me know if this helps!
THanks!