d2iq-archive/marathon

Support for env variable interpolation

Closed this issue · 3 comments

I should be able to substitute the values of the env variables being set by marathon and mesos in other env variables required in the container.

So for appdynamics say i require a env variable TIER_NAME , in the marathon app definition i should be able to define an environment variable TIER_NAME = $MARATHON_APP_ID and this should result in value of MARATHON_APP_ID being substituted for $TIER_NAME

Absolutly usefull, this will allow something like this to handle the auto mapping of ports:
$LIBPROCESS_PORT = $PORT0

Duplicates #1828 #1401