{"action":"closed","issue":{"url":"https://api.github.com/repos/Mainflux/mainflux/issues/22","labels_url":"https://api.github.com/repos/Mainflux/mainflux/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Mainflux/mainflux/issues/22/comments","events_url":"https://api.github.com/repos/Mainflux/mainflux/issues/22/events","html_url":"https://github.com/Mainflux/mainflux/issues/22","id":110920362,"number":22,"title":"Docker Node should be in production mode","user":{"login":"drasko","id":149944,"avatar_url":"https://avatars.githubusercontent.com/u/149944?v=3","gravatar_id":"","url":"https://api.github.com/users/drasko","html_url":"https://github.com/drasko","followers_url":"https://api.github.com/users/drasko/followers","following_url":"https://api.github.com/users/drasko/following{/other_user}","gists_url":"https://api.github.com/users/drasko/gists{/gist_id}","starred_url":"https://api.github.com/users/drasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drasko/subscriptions","organizations_url":"https://api.github.com/users/drasko/orgs","repos_url":"https://api.github.com/users/drasko/repos","events_url":"https://api.github.com/users/drasko/events{/privacy}","received_events_url":"https://api.github.com/users/drasko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Mainflux/mainflux/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Mainflux/mainflux/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"nmarcetic","id":6399555,"avatar_url":"https://avatars.githubusercontent.com/u/6399555?v=3","gravatar_id":"","url":"https://api.github.com/users/nmarcetic","html_url":"https://github.com/nmarcetic","followers_url":"https://api.github.com/users/nmarcetic/followers","following_url":"https://api.github.com/users/nmarcetic/following{/other_user}","gists_url":"https://api.github.com/users/nmarcetic/gists{/gist_id}","starred_url":"https://api.github.com/users/nmarcetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmarcetic/subscriptions","organizations_url":"https://api.github.com/users/nmarcetic/orgs","repos_url":"https://api.github.com/users/nmarcetic/repos","events_url":"https://api.github.com/users/nmarcetic/events{/privacy}","received_events_url":"https://api.github.com/users/nmarcetic/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Mainflux/mainflux/milestones/1","html_url":"https://github.com/Mainflux/mainflux/milestones/v0.1","labels_url":"https://api.github.com/repos/Mainflux/mainflux/milestones/1/labels","id":1341118,"number":1,"title":"v0.1","description":"## Mainflux\r\n- Devices and User database model\r\n- HTTP RESTful API server\r\n- HTTP client:\r\n   - C (for ESP8266)\r\n   - NodeJS (for testing)\r\n   - Python (for WeIO)\r\n   - Pure JS (for browser)\r\n- User handling:\r\n   - User authentication\r\n   - Obtain device token\r\n   - Claim (activate) the device\r\n- Travis CI\r\n- Mocha testing\r\n- Docker Compose\r\n\r\n## Dashflux:\r\n- User login/registration\r\n- Device list\r\n- Token get/revoke\r\n","creator":{"login":"drasko","id":149944,"avatar_url":"https://avatars.githubusercontent.com/u/149944?v=3","gravatar_id":"","url":"https://api.github.com/users/drasko","html_url":"https://github.com/drasko","followers_url":"https://api.github.com/users/drasko/followers","following_url":"https://api.github.com/users/drasko/following{/other_user}","gists_url":"https://api.github.com/users/drasko/gists{/gist_id}","starred_url":"https://api.github.com/users/drasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drasko/subscriptions","organizations_url":"https://api.github.com/users/drasko/orgs","repos_url":"https://api.github.com/users/drasko/repos","events_url":"https://api.github.com/users/drasko/events{/privacy}","received_events_url":"https://api.github.com/users/drasko/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-10-06T19:02:13Z","updated_at":"2015-10-19T08:56:41Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-10-12T07:20:53Z","updated_at":"2015-10-19T08:56:41Z","closed_at":"2015-10-19T08:56:41Z","body":"Docker images are used for production:\r\n- we should install Mainflux with `--production` flag here: https://github.com/Mainflux/mainflux/blob/master/Dockerfile#L23 to avoid installing Node `devDependencies`.\r\n- we should set correct ENV variable here: https://github.com/Mainflux/mainflux/blob/master/config/config.js#L4\r\n"}}