Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Ensorceled
· 7y ago · 0 comments
How does this help all the existing applications, tools, scripts etc. that use .env?
Comments
[–]
cavemonkey
7y ago
Those applications running inside the container would see .env as the mounted file but Docker-compose would still see the original .env file in the filesystem.
[–]
otobrglez
7y ago
If you wanna make it work; this is sadly the only way until Docker Compose is patched.
Rename .env to something else and reconfigure autoenv.
[–]
Ensorceled
OP
7y ago
Right. Usually workarounds actually, you know, work :-P