You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using COMPOSE_FILE environment variable should have the same behavior as using "-f" option on the command line, but it is not the case with docker compose v2.24.2.
It was working as expected before my latest upgrade.
Steps To Reproduce
Create a simple project
$ tree -a /tmp/compose-test
/tmp/compose-test
├── compose.yml
└── .env
I have pulled compose-go v2.0.0-rc.3, applied the changes under compose-spec/compose-go#553, built the lib and referenced it in docker compose before build. It does not solve the issue mentioned in this ticket.
Description
Using COMPOSE_FILE environment variable should have the same behavior as using "-f" option on the command line, but it is not the case with docker compose v2.24.2.
It was working as expected before my latest upgrade.
Steps To Reproduce
In the last test, .env file is read from the current directory instead of relative to the compose file.
Compose Version
Docker Environment
Anything else?
Not sure if #11412 will solve this issue.
The text was updated successfully, but these errors were encountered: