New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compose file reference doc references .env
file support
#3654
Comments
.env
file support.env
file support
@dnephin : or create feature parity by adding a parameter to |
Even if we were to add
Maybe eventually, but certainly not now. They support the same format (with a few exceptions) but the commands are designed for different use cases. |
ping @londoncalling |
@dnephin I believe this is where docker-compose.yml syntax is documented, both for Compose (docker-compose) and for docker stack deploy. Throughout this page is documentation specifying which features and what syntax is available via either docker-compose or docker stack deploy. For the '.env' feature, one is simply led to conclude that it's available for both, and I'm of the opinion it should be. |
New users first learn about docker-compose.yml (the file) when they experiment with docker-compose (the command). |
@dperetti this is a good idea to differentiate and clarify the Compose filename for new users. However, It will be a bit of work because there are a lot of moving parts (asciinema, screen snaps, example code, and possibly more ...) Let's see if we can get @johndmulhausen, @mistyhacks, or @JimGalasyn to weigh in on it for bandwidth right now. What do you guys think? |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. /lifecycle locked |
See moby/moby#29133 (comment)
https://docs.docker.com/compose/compose-file/#variable-substitution
We should either remove the reference to
.env
from this document or clarify that it's only adocker-compose
feature.The text was updated successfully, but these errors were encountered: