Hi,
I’m a bit stuck on the following…
I have a docker-compose.yml
services:
something:
env_file:
- ./src/.env
environment:
HOST: ${ENV_HOST}
When i run docker-compose up a warning appears: The ENV_HOST variable is not set.
However if i run docker-compose config
the output is
services:
something:
environment:
ENV_HOST: Yes-i-am-set
I’m a bit confused why the up command doesn’t recognizes the env variable.