TIL
Docker Compose reads .env files by default
It is easy to miss that docker compose reads and honors environment variables set in aa file named .env without the user taking action.
docker
It is easy to miss that docker compose reads and honors environment variables set in aa file named .env without the user taking action.
I've always avoided overriding compose.yaml files locally until I found the `COMPOSE_FILE` environment variable.