maciejwalkowiak / just

Magical 🪄 command line toolkit for developing 🍃 Spring Boot apps
312 stars 6 forks source link

Profile specific Docker compose files #28

Open odrotbohm opened 1 year ago

odrotbohm commented 1 year ago

I use a dedicated Maven profile to include dependencies needed for runtime application inspection (actuators, observability). I.e. ones, I usually don't need during development but only occasionally. If I set up observability libraries to e.g. consume Zipkin, I'd like to have a Zipkin server running. Adding a docker-compose.yml file, however, will cause the server started unconditionally, not only if the profile is enabled.

It would be nice if "profiled" Docker compose config files (docker-compose{-profile}.yml) could be considered by default. Alternatively, fixing GH-25 would allow me to avoid the explicit Docker compose file entirely.