-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
Is this a docs issue?
- My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
"Use the env_file attribute" > "Additional information" specifically states:
In addition, as the .env file supports interpolation, it is possible to combine those with values set by environment.
However, this is very misleading, because this isn't true for env files specified using env_file, which is the subject of the documentation at this point. This line would be better changed to something along the lines of:
The variable interpolation supported by the .env file is explicitly not available to env files specified using
env_file.
This bug is essentially a repeat of this comment on a different issue, which I found while trying to debug why it wasn't working.
Location
https://docs.docker.com/compose/environment-variables/set-environment-variables/
Suggestion
No response