Open wt opened 9 years ago
Maybe, but I'm not sure. I never really understood why Docker puts the port number inside the variable name, making it very difficult to find out what the port number of a dependent service is, unless you use a regexp on the environment variable names?
Also, Maestro supports linking containers together already via Docker links, in which case Docker itself will add the environment variables that you need.
Well, one nice thing is the other frameworks seem to be creating compatible env vars inside their containers. It would be nice to get maestro on that train also.
Would it make sense to add env vars for the service discovery that look like docker links env vars?
https://docs.docker.com/userguide/dockerlinks/#environment-variables