I have docker image of spring java app, that expects REDIS_HOST and REDIS_PORT as environment variables, or defaults to localhost.
I’ve created the blueprint for my service and redis service, and specified envVars part for my service that references redis.
Render creates services correctly.
But when starting docker container for my service, REDIS_HOST uses localhost variable, as if env variable is not taken into account.
Is it possible to pass env variables to sevice created from docker image?
I’ve replied to the ticket you also opened, let’s keep the conversation in one place (on the ticket). Then you can update this post when we get to a solution.