vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Support passing .env to docker-compose

Open art-in opened this issue 5 years ago • 3 comments

i have docker-compose.yml and .env for it outside current project folder.
i'm using several env vars inside docker-compose.yml, not only for container_name

so now i have to copy that .env to current project folder so it's used by docker-compose
i would like to avoid that copy and reuse same .env

art-in avatar Apr 08 '20 06:04 art-in

also having the same issue

chinwobble avatar Dec 31 '20 13:12 chinwobble

Any update on this?

joeriddles avatar Jan 04 '22 19:01 joeriddles

Could you not just put the full path of the env file or a better relative path for now? Like ../../env_files/devcontainer.env

ryanmerolle avatar Sep 14 '22 23:09 ryanmerolle