{"action":"created","issue":{"url":"https://api.github.com/repos/Orangescrum/orangescrum/issues/106","labels_url":"https://api.github.com/repos/Orangescrum/orangescrum/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/Orangescrum/orangescrum/issues/106/comments","events_url":"https://api.github.com/repos/Orangescrum/orangescrum/issues/106/events","html_url":"https://github.com/Orangescrum/orangescrum/pull/106","id":111963995,"number":106,"title":"Added support for deploying through docker - https://www.docker.com","user":{"login":"programster","id":5709838,"avatar_url":"https://avatars.githubusercontent.com/u/5709838?v=3","gravatar_id":"","url":"https://api.github.com/users/programster","html_url":"https://github.com/programster","followers_url":"https://api.github.com/users/programster/followers","following_url":"https://api.github.com/users/programster/following{/other_user}","gists_url":"https://api.github.com/users/programster/gists{/gist_id}","starred_url":"https://api.github.com/users/programster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/programster/subscriptions","organizations_url":"https://api.github.com/users/programster/orgs","repos_url":"https://api.github.com/users/programster/repos","events_url":"https://api.github.com/users/programster/events{/privacy}","received_events_url":"https://api.github.com/users/programster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-17T13:50:35Z","updated_at":"2015-11-11T23:18:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Orangescrum/orangescrum/pulls/106","html_url":"https://github.com/Orangescrum/orangescrum/pull/106","diff_url":"https://github.com/Orangescrum/orangescrum/pull/106.diff","patch_url":"https://github.com/Orangescrum/orangescrum/pull/106.patch"},"body":"To deploy, all you need to do is go into the `docker` folder and run:\r\n```\r\nbash build.sh\r\nbash run-container.sh\r\n```\r\nOnce `run-container.sh` has been executed there will be a `data` folder at the same level as the project source code. You can edit your database configuration in database.php and SMTP details within constants.php in there. This folder also acts as a volume so that upload files persist across containers.\r\n\r\n* All file uploads are persistant across containers being killed and spawned.\r\n* supports https/ssl"},"comment":{"url":"https://api.github.com/repos/Orangescrum/orangescrum/issues/comments/155940523","html_url":"https://github.com/Orangescrum/orangescrum/pull/106#issuecomment-155940523","issue_url":"https://api.github.com/repos/Orangescrum/orangescrum/issues/106","id":155940523,"user":{"login":"raphaelcasimir","id":9111357,"avatar_url":"https://avatars.githubusercontent.com/u/9111357?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelcasimir","html_url":"https://github.com/raphaelcasimir","followers_url":"https://api.github.com/users/raphaelcasimir/followers","following_url":"https://api.github.com/users/raphaelcasimir/following{/other_user}","gists_url":"https://api.github.com/users/raphaelcasimir/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelcasimir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelcasimir/subscriptions","organizations_url":"https://api.github.com/users/raphaelcasimir/orgs","repos_url":"https://api.github.com/users/raphaelcasimir/repos","events_url":"https://api.github.com/users/raphaelcasimir/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelcasimir/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T23:18:31Z","updated_at":"2015-11-11T23:18:31Z","body":"Hello,\nI've tried your method and it seems to work but the server sends me back\nthat I've not configured the database. I thought the database server were\nincluded into the container, were that true ?\nIf not, can you explain me how to do it (if that does not bother you) ? I\nam already running a mongoDB container on my server, can I use it ?\n\nThanks a lot for all your help.\n\n(I've changed permissions as asked in the red lines)\n\n\n\n\n2015-11-10 11:25 GMT+01:00 Programster <notifications@github.com>:\n\n> @raphaelcasimir <https://github.com/raphaelcasimir> I just ran into this\n> same issue when I re-deployed on Amazon linux. When I looked inside the\n> container I could see that the volume wasn't being mounted which is most\n> odd. When I Googled this I found this bug report\n> <https://github.com/docker/docker/issues/5489> which told me:\n>\n> ... just to make it clear what it was for people who might have hard time\n> finding it in the thread:\n>\n> The solution is to restart the docker daemon after mounting filesystems\n> which contain paths later mounted as volumes inside the containers,\n> otherwise the data changes only inside the container and changes are not\n> visible on the host filesystem.\n>\n> This should be clearly documented inside the Volumes section of the docker\n> run command until Docker can handle it automatically.\n>\n> I restarted the daemon and it worked. When I finish work today I will look\n> into whether I can find a workaround/solution for this. We can't expect our\n> users to restart the daemon.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Orangescrum/orangescrum/pull/106#issuecomment-155380742>\n> .\n>\n"}}