{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/931","labels_url":"https://api.github.com/repos/progrium/dokku/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/931/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/931/events","html_url":"https://github.com/progrium/dokku/issues/931","id":56119105,"number":931,"title":"How to configure environment variables for multiple apps?","user":{"login":"MichaelJCole","id":1504790,"avatar_url":"https://avatars.githubusercontent.com/u/1504790?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelJCole","html_url":"https://github.com/MichaelJCole","followers_url":"https://api.github.com/users/MichaelJCole/followers","following_url":"https://api.github.com/users/MichaelJCole/following{/other_user}","gists_url":"https://api.github.com/users/MichaelJCole/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelJCole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelJCole/subscriptions","organizations_url":"https://api.github.com/users/MichaelJCole/orgs","repos_url":"https://api.github.com/users/MichaelJCole/repos","events_url":"https://api.github.com/users/MichaelJCole/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelJCole/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-31T09:21:28Z","updated_at":"2015-02-01T03:05:12Z","closed_at":"2015-01-31T10:20:21Z","body":"Hi, I have a group of related apps.\r\n\r\nI keep an 'ops' repo separate from my code repos.  It has all my apps secrets.\r\n\r\nIdeally, I'd like to set the config environments for all my apps to be the same, by loading one file.\r\n\r\nThe only way I see to do it is one app at a time, by scp'ing a file into /home/dokku/<app>/ENV, then restarting.\r\n\r\nSetting them one-by-one would be kinda tedious.\r\n\r\nWhat's the smartest way to set all these apps environment variables to be the same?\r\n\r\nAlso, how can I configure the environment *before* the app is run?\r\n\r\nThanks!\r\n\r\nMike"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/72348980","html_url":"https://github.com/progrium/dokku/issues/931#issuecomment-72348980","issue_url":"https://api.github.com/repos/progrium/dokku/issues/931","id":72348980,"user":{"login":"MichaelJCole","id":1504790,"avatar_url":"https://avatars.githubusercontent.com/u/1504790?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelJCole","html_url":"https://github.com/MichaelJCole","followers_url":"https://api.github.com/users/MichaelJCole/followers","following_url":"https://api.github.com/users/MichaelJCole/following{/other_user}","gists_url":"https://api.github.com/users/MichaelJCole/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelJCole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelJCole/subscriptions","organizations_url":"https://api.github.com/users/MichaelJCole/orgs","repos_url":"https://api.github.com/users/MichaelJCole/repos","events_url":"https://api.github.com/users/MichaelJCole/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelJCole/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T03:05:12Z","updated_at":"2015-02-01T03:05:12Z","body":"Ah!  I saw `/home/dokku/ENV` but didn't do the restart, so the changes didn't take.  Thanks!  Looking forward to 0.4 :-)"}}