{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/1109","labels_url":"https://api.github.com/repos/progrium/dokku/issues/1109/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/1109/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/1109/events","html_url":"https://github.com/progrium/dokku/issues/1109","id":68049169,"number":1109,"title":"Setting Environment Variables","user":{"login":"littleStudent","id":815520,"avatar_url":"https://avatars.githubusercontent.com/u/815520?v=3","gravatar_id":"","url":"https://api.github.com/users/littleStudent","html_url":"https://github.com/littleStudent","followers_url":"https://api.github.com/users/littleStudent/followers","following_url":"https://api.github.com/users/littleStudent/following{/other_user}","gists_url":"https://api.github.com/users/littleStudent/gists{/gist_id}","starred_url":"https://api.github.com/users/littleStudent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littleStudent/subscriptions","organizations_url":"https://api.github.com/users/littleStudent/orgs","repos_url":"https://api.github.com/users/littleStudent/repos","events_url":"https://api.github.com/users/littleStudent/events{/privacy}","received_events_url":"https://api.github.com/users/littleStudent/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/progrium/dokku/labels/needs%20more%20info","name":"needs more info","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-13T09:10:59Z","updated_at":"2015-04-13T21:31:13Z","closed_at":"2015-04-13T21:31:13Z","body":"It seems like setting the environment config is broken:\r\n'dokku config <app>' returns different results than 'dokku run <app> printenv'\r\n\r\nadd:\r\nswitching to version 3.13 seems to fix the problem"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/92506886","html_url":"https://github.com/progrium/dokku/issues/1109#issuecomment-92506886","issue_url":"https://api.github.com/repos/progrium/dokku/issues/1109","id":92506886,"user":{"login":"michaelshobbs","id":4491438,"avatar_url":"https://avatars.githubusercontent.com/u/4491438?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelshobbs","html_url":"https://github.com/michaelshobbs","followers_url":"https://api.github.com/users/michaelshobbs/followers","following_url":"https://api.github.com/users/michaelshobbs/following{/other_user}","gists_url":"https://api.github.com/users/michaelshobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelshobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelshobbs/subscriptions","organizations_url":"https://api.github.com/users/michaelshobbs/orgs","repos_url":"https://api.github.com/users/michaelshobbs/repos","events_url":"https://api.github.com/users/michaelshobbs/events{/privacy}","received_events_url":"https://api.github.com/users/michaelshobbs/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T21:31:13Z","updated_at":"2015-04-13T21:31:13Z","body":"I'm very certain this behavior is as expected. Feel free to open an issue with the mongodb plugin project to confirm. Closing for now but feel free to re-open if my findings are incorrect.\r\n\r\n```\r\nroot@dokku:~/dokku# dokku run node-js-app printenv | grep MONGO_URL\r\nMONGO_URL=mongodb://node-js-app:VVhsN3U0dlNvNEhVZ3g4UkphaElLTzdNRXhnclV0UmtyRUx0NFpsa3VnZz0K@172.17.0.60:27017/node-js-app-production\r\nroot@dokku:~/dokku# dokku config:set node-js-app MONGO_URL=crap\r\n-----> Setting config vars\r\n       MONGO_URL: crap\r\n-----> Restarting app node-js-app\r\n-----> Releasing node-js-app ...\r\n\r\n-----> node-js-app linked to jeffutter/mongodb:latest container\r\n-----> Deploying node-js-app ...\r\n-----> Running pre-flight checks\r\n       CHECKS file not found in container: running simple container check...\r\n-----> Waiting for 35 seconds ...\r\n-----> Default container check successful!\r\n=====> node-js-app container output:\r\n       > node-js-sample@0.1.0 start /app\r\n       > node index.js\r\n       Node app is running at localhost:5000\r\n=====> end node-js-app container output\r\n-----> Running post-deploy\r\n-----> Configuring node-js-app.dokku.me...\r\n-----> Creating http nginx.conf\r\n-----> Running nginx-pre-reload\r\n       Reloading nginx\r\n-----> Shutting down old container in 60 seconds\r\n=====> Application deployed:\r\n       http://node-js-app.dokku.me\r\n\r\nroot@dokku:~/dokku# dokku run node-js-app printenv | grep MONGO_URL\r\nMONGO_URL=mongodb://node-js-app:VVhsN3U0dlNvNEhVZ3g4UkphaElLTzdNRXhnclV0UmtyRUx0NFpsa3VnZz0K@172.17.0.60:27017/node-js-app-production\r\n```"}}