hadim / docker-omero

Set of Dockerfile to build a ready-to-use OMERO server
MIT License
15 stars 15 forks source link

Add default environment variable values #2

Closed stefan-pdx closed 8 years ago

stefan-pdx commented 8 years ago

Docker Compose now supports default values for environment variables in the form of ${MYVARIABLE-default_value}. This would simplify the build process.

hadim commented 8 years ago

From what I know they only support variable substitution without default value :

Both $VARIABLE and ${VARIABLE} syntax are supported. Extended shell-style features, such as ${VARIABLE-default} and ${VARIABLE/foo/bar}, are not supported.

Did I miss something ? What changes do you suggest in the docker-omero repo ?

stefan-pdx commented 8 years ago

Oh -- gah. Sorry about that. RTFM :facepalm:

Disregard!

hadim commented 8 years ago

:-)

I hope they will add this feature soon !