Repository navigation
Improve variable interpolation, required flag and default value. #2441
Copy link
Copy link
Closed
Milestone
Description
Activity
👍
👍
👍 for defaults.
👍
👍
+1
👍
I'm working on a project where people have heterogeneous env, I'm working on OSX and some are using Ubuntu, when using docker-machine with virtualbox provider, I have to put the full path to make Volume works:
myservice: volumes: - ${HOST_VOLUME_PATH}/src:/src
The problem is now people who don't use virtualbox have to define the value, it should be great if we could have a default value:
myservice: volumes: - ${HOST_VOLUME_PATH:.}/src:/src
In other words 👍
Reacted by Tobias Bradtke, James Wilson, Konstantin Baierer, Spence, Igor Jerosimić, Radoslav Kirilov, Matt Janssen, manelio and Semyon Danilov👍
👍
+1
👍
👍
12 remaining items
👍
👍 to have this implemented the same way as in the Dockerfile implementation
👍
👍
Anyone got any news about this, it's been a whole 27 days since the last 👍 ?
Much much needed!is there a PR already open with this change? Perhaps we need a volunteer to implement it.
Reacted by Marcello DeSalesDefinitely need this...
There is no reason to not implement this...
+1
👍 +1
+1
Closing via #3108
Reacted by Sebastian Aguirre Brachi, Sander Bouwhuis, Eugen, Steven Casagrande, JP Bochi, Nicolas Coutin, Onkar Ganjewar and David Birks🎉
Reacted by Eugen, Steven Casagrande, Marcello DeSales, Dmitrii Romanov and Onkar Ganjewar
Metadata
Metadata
Assignees
Labels
No labels
As first proposed in #1377 I think it would be very useful to have a way to set a variable as required, and also set some default value.
Or