FOSElasticaBundle icon indicating copy to clipboard operation
FOSElasticaBundle copied to clipboard

Load connections config from environment variable

Open nikophil opened this issue 2 years ago • 0 comments

Hello,

we don't have the same connection strategy depending on if we are in production server or in staging/preprod: in prod we have multiple connections, with a RoundRobin strategy and on other servers we have only one connection.

How would it be possible to load these connections from an environment variable? it seems how works FOSElasticaExtension is not compatible with this.

thanks for your answer.

nikophil avatar Mar 08 '23 08:03 nikophil