{"action":"created","issue":{"url":"https://api.github.com/repos/sdelements/lets-chat/issues/514","labels_url":"https://api.github.com/repos/sdelements/lets-chat/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/sdelements/lets-chat/issues/514/comments","events_url":"https://api.github.com/repos/sdelements/lets-chat/issues/514/events","html_url":"https://github.com/sdelements/lets-chat/issues/514","id":89741055,"number":514,"title":"How to restart letschat after a settings change in docker?","user":{"login":"0vermind","id":214675,"avatar_url":"https://avatars.githubusercontent.com/u/214675?v=3","gravatar_id":"","url":"https://api.github.com/users/0vermind","html_url":"https://github.com/0vermind","followers_url":"https://api.github.com/users/0vermind/followers","following_url":"https://api.github.com/users/0vermind/following{/other_user}","gists_url":"https://api.github.com/users/0vermind/gists{/gist_id}","starred_url":"https://api.github.com/users/0vermind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0vermind/subscriptions","organizations_url":"https://api.github.com/users/0vermind/orgs","repos_url":"https://api.github.com/users/0vermind/repos","events_url":"https://api.github.com/users/0vermind/events{/privacy}","received_events_url":"https://api.github.com/users/0vermind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-20T08:50:51Z","updated_at":"2015-06-24T20:55:44Z","closed_at":null,"body":"I installed docker image of lets-chat 0.4.0\r\nAfter changing the settings.yml how can I restart lets-chat?\r\nEntering the docker and doing:\r\n\r\n>node app restart or node restart\r\n\r\ndid not help. I also did a restart of the docker:\r\n\r\nBut I get this error:\r\n\r\n>module.js:338\r\n    throw err;\r\n          ^\r\nError: Cannot find module '/usr/src/app/start'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Function.Module.runMain (module.js:501:10)\r\n    at startup (node.js:129:16)\r\n    at node.js:814:3\r\n\r\nPlease help, docker image is not a viable solution if I can restart it."},"comment":{"url":"https://api.github.com/repos/sdelements/lets-chat/issues/comments/115009823","html_url":"https://github.com/sdelements/lets-chat/issues/514#issuecomment-115009823","issue_url":"https://api.github.com/repos/sdelements/lets-chat/issues/514","id":115009823,"user":{"login":"TimWolla","id":209270,"avatar_url":"https://avatars.githubusercontent.com/u/209270?v=3","gravatar_id":"","url":"https://api.github.com/users/TimWolla","html_url":"https://github.com/TimWolla","followers_url":"https://api.github.com/users/TimWolla/followers","following_url":"https://api.github.com/users/TimWolla/following{/other_user}","gists_url":"https://api.github.com/users/TimWolla/gists{/gist_id}","starred_url":"https://api.github.com/users/TimWolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimWolla/subscriptions","organizations_url":"https://api.github.com/users/TimWolla/orgs","repos_url":"https://api.github.com/users/TimWolla/repos","events_url":"https://api.github.com/users/TimWolla/events{/privacy}","received_events_url":"https://api.github.com/users/TimWolla/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T20:55:44Z","updated_at":"2015-06-24T20:55:44Z","body":"> Currently the Docker image only support environment variables, but I'll be looking into adding a Docker volume for configuration.\r\n\r\nActually it's way easier. I recommend creating a custom container on top of yours:\r\n\r\n```\r\n# cat Dockerfile \r\nFROM sdelements/lets-chat\r\n\r\nCOPY settings.yml /usr/src/app/settings.yml\r\n```\r\n\r\nAnd then: ```\r\n# docker build -t timwolla/lets-chat .\r\n# docker stop lc; docker rm lc; docker run -d -p 127.0.0.1:5001:8080 -p 5222:5222 --link mongo-lc:mongo --name lc --volumes-from=lc-data timwolla/lets-chat\r\n```\r\n\r\nAnd then your new container is up and running :smiley: "}}