Environment variable is not read in env.file - dockers

juan maximiliano aguilar abanto 541 Reputation points
2022-03-15T13:05:53.003+00:00

Hi
I have the following variable in the file env:
RabbitMQ__HostName=rabbitmq

But it is not read by docker

It should override appsettings

"RabbitMQ": {
"HostName": "localhost",

Developer technologies | .NET | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.