Open mb720 opened 7 years ago
Hi @mb720, thanks for the feedback and for using the plugin!
Generating the docker-compose.yml
file is something that we have considered doing but there are not any solid plans to add this as a feature in the near future. I'd definitely be interested in any PR's with this capability and we will continue to keep it under consideration with future development.
Thanks again!
Hi!
I was wondering if there are plans to support the creation of the
docker-compose.yml
file using sbt-docker-compose?This feature could work similarly to the way
sbt-docker
creates Dockerfiles from the contents ofbuild.sbt
.A simple but very fruitful use case is to conditionally expose ports: If the debug flag in SBT is true,
docker-compose.yml
contains the port mapping- "5005:5005"
, otherwise it doesn't.Thanks a lot for your plugin!