francescou / docker-compose-ui

web interface for Docker Compose
http://francescou.github.io/docker-compose-ui
MIT License
1.54k stars 228 forks source link

Add an option to define environment variable #63

Closed liyaka closed 8 years ago

liyaka commented 8 years ago

My Use case: I use compose file with several environmental variable (like $VERSION, $BASE_PATH for volumes mapping and etc.). I deploy everything with ansible and save a text file with variables that were used for last deploy. When I try to run scale on a service, compose-ui fails because env vars are not defined. It would be nice to have an option to load env vars file from the same folder where compose file is and edit it (for the case you want to update a version and restart)

allamand commented 8 years ago

Hi @liyaka I think it's a duplicate of #31

francescou commented 8 years ago

Hi @liyaka if I understand you correctly it seems a duplicate of #31, so I'm closing the issue for now. Feel free to reopen if necessary.