{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/compose/issues/149","labels_url":"https://api.github.com/repos/docker/compose/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/149/comments","events_url":"https://api.github.com/repos/docker/compose/issues/149/events","html_url":"https://github.com/docker/compose/issues/149","id":28929022,"number":149,"title":"Export fig container connection information as local environment variables","user":{"login":"KyleAMathews","id":71047,"avatar_url":"https://avatars.githubusercontent.com/u/71047?v=3","gravatar_id":"","url":"https://api.github.com/users/KyleAMathews","html_url":"https://github.com/KyleAMathews","followers_url":"https://api.github.com/users/KyleAMathews/followers","following_url":"https://api.github.com/users/KyleAMathews/following{/other_user}","gists_url":"https://api.github.com/users/KyleAMathews/gists{/gist_id}","starred_url":"https://api.github.com/users/KyleAMathews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyleAMathews/subscriptions","organizations_url":"https://api.github.com/users/KyleAMathews/orgs","repos_url":"https://api.github.com/users/KyleAMathews/repos","events_url":"https://api.github.com/users/KyleAMathews/events{/privacy}","received_events_url":"https://api.github.com/users/KyleAMathews/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-03-07T00:38:50Z","updated_at":"2015-05-24T21:38:14Z","closed_at":"2015-05-24T21:38:14Z","body":"I'm developing a node.js app with Fig that depends on two containers. I'd like while developing to be able to run my node app locally (not in a container) so it's easy to start/restart, edit files, etc. Building every time is far too slow for my use case. So far I've been exporting manually the ip/port information from the two fig created containers. This is annoying/tedious to do however so I was thinking this is a pattern Fig could support.\r\n\r\nSomething like:\r\n\r\n`fig up -e -d db redis`\r\n\r\nThis would start the two containers in detached mode *and* export the connection strings in the local shell. Then I could start my node.js app normally and it'd connect to the two containers.\r\n\r\nThoughts? Other patterns for accomplishing the same thing?"}}