{"action":"opened","issue":{"url":"https://api.github.com/repos/kontena/kontena/issues/1098","repository_url":"https://api.github.com/repos/kontena/kontena","labels_url":"https://api.github.com/repos/kontena/kontena/issues/1098/labels{/name}","comments_url":"https://api.github.com/repos/kontena/kontena/issues/1098/comments","events_url":"https://api.github.com/repos/kontena/kontena/issues/1098/events","html_url":"https://github.com/kontena/kontena/issues/1098","id":181472441,"number":1098,"title":"Substitute KONTENA_* environment variables in kontena.yml","user":{"login":"dsmiley","id":377295,"avatar_url":"https://avatars.githubusercontent.com/u/377295?v=3","gravatar_id":"","url":"https://api.github.com/users/dsmiley","html_url":"https://github.com/dsmiley","followers_url":"https://api.github.com/users/dsmiley/followers","following_url":"https://api.github.com/users/dsmiley/following{/other_user}","gists_url":"https://api.github.com/users/dsmiley/gists{/gist_id}","starred_url":"https://api.github.com/users/dsmiley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsmiley/subscriptions","organizations_url":"https://api.github.com/users/dsmiley/orgs","repos_url":"https://api.github.com/users/dsmiley/repos","events_url":"https://api.github.com/users/dsmiley/events{/privacy}","received_events_url":"https://api.github.com/users/dsmiley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-06T17:06:30Z","updated_at":"2016-10-06T17:06:30Z","closed_at":null,"body":"It's nice that KONTENA_SERVICE_INSTANCE and other KONTENA_* vars are available to the _container_, but obviously typical images out there (e.g. for Zookeeper, Kafka, ...) don't know anything about Kontena to use them.  Such services *do* have env variables like KAFKA_ID.  Unfortunately, it appears these env variables aren't getting resolved within the docker-compose/konenta YML file so that I can do this:\r\n\r\n    environment:\r\n      KAFKA_ID: ${KONTENA_SERVICE_INSTANCE}\r\n"}}
{"actor":{"display_login":"dsmiley"}}