Is there a way to configure the index host using pinecone-local docker image?

Describe index response has a host value that is used in the docs. According to the docs, only java and c# examples have not direct access to this value to perform the upsert operation.

Testcontainers is a project that allows run containers programmatically and provides an implementation using pinecone-local image using random ports. However, after creating the index successfully via the random port for 5080, the client fails trying to reach out 5081 because a new PineconeConnection is created [1] using the index’s host [2].

Can we improve the pinecone-local docker image to work well with random ports?

P.S: I was sharing more links but was limited to only post 2.

Thank you for reporting the issue. Is this the right understanding of the problem statement:
To create a gRPC connection by passing a host which is fetched by describeIndex call and upsert data into it. So essentially have a single Pinecone object but multiple Index objects using getIndexConnection() per index and target each index by host?

Hi @eddu.melendez quick note about the links. This is a spam setting, however you can always use Preformatted text to write out a URL once you’re past that max, it just won’t be clickable