{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfoundation/ofn-install/issues/57","repository_url":"https://api.github.com/repos/openfoodfoundation/ofn-install","labels_url":"https://api.github.com/repos/openfoodfoundation/ofn-install/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfoundation/ofn-install/issues/57/comments","events_url":"https://api.github.com/repos/openfoodfoundation/ofn-install/issues/57/events","html_url":"https://github.com/openfoodfoundation/ofn-install/pull/57","id":166362808,"number":57,"title":"dockerfy","user":{"login":"orangeman","id":26397,"avatar_url":"https://avatars.githubusercontent.com/u/26397?v=3","gravatar_id":"","url":"https://api.github.com/users/orangeman","html_url":"https://github.com/orangeman","followers_url":"https://api.github.com/users/orangeman/followers","following_url":"https://api.github.com/users/orangeman/following{/other_user}","gists_url":"https://api.github.com/users/orangeman/gists{/gist_id}","starred_url":"https://api.github.com/users/orangeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangeman/subscriptions","organizations_url":"https://api.github.com/users/orangeman/orgs","repos_url":"https://api.github.com/users/orangeman/repos","events_url":"https://api.github.com/users/orangeman/events{/privacy}","received_events_url":"https://api.github.com/users/orangeman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-19T15:34:51Z","updated_at":"2016-11-01T14:04:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openfoodfoundation/ofn-install/pulls/57","html_url":"https://github.com/openfoodfoundation/ofn-install/pull/57","diff_url":"https://github.com/openfoodfoundation/ofn-install/pull/57.diff","patch_url":"https://github.com/openfoodfoundation/ofn-install/pull/57.patch"},"body":"run playbooks inside docker container\n\nnot sure if this is of much use to anyone else.\n\nAfter struggling to run the playbooks on a debian host\nthis is what I could get running:\n`apt-get install docker`\n`docker build .`\n`docker run -p 80:80 -p 443:443 <image>`\n\nIt needs to run on the server for letsencrypt to work :/\n\nAnother way might be to docker run a base image\nwith sshd pre-installed and also expose port 22\nThen run ansible remotely as usual from home\n\n..or have ansible build and deploy docker image(s)...\n"},"comment":{"url":"https://api.github.com/repos/openfoodfoundation/ofn-install/issues/comments/257574269","html_url":"https://github.com/openfoodfoundation/ofn-install/pull/57#issuecomment-257574269","issue_url":"https://api.github.com/repos/openfoodfoundation/ofn-install/issues/57","id":257574269,"user":{"login":"orangeman","id":26397,"avatar_url":"https://avatars.githubusercontent.com/u/26397?v=3","gravatar_id":"","url":"https://api.github.com/users/orangeman","html_url":"https://github.com/orangeman","followers_url":"https://api.github.com/users/orangeman/followers","following_url":"https://api.github.com/users/orangeman/following{/other_user}","gists_url":"https://api.github.com/users/orangeman/gists{/gist_id}","starred_url":"https://api.github.com/users/orangeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangeman/subscriptions","organizations_url":"https://api.github.com/users/orangeman/orgs","repos_url":"https://api.github.com/users/orangeman/repos","events_url":"https://api.github.com/users/orangeman/events{/privacy}","received_events_url":"https://api.github.com/users/orangeman/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T14:04:11Z","updated_at":"2016-11-01T14:04:11Z","body":"> be more configurable at all?\r\n\r\nhmm... thinking about how to (issue or) renew letsencrypt certificates separately from the ofn provisioning. It would be great to have one nginx reverse proxy handling https/ssl for several domains with different websites or ofn instances running on the same machine / ip address. Also postgres could be shared between instances. Maybe dockerizing the database, the rails stuff and nginx into different containers would provide more flexibility compared to one monolythic all-inclusive playbook...\r\n\r\njust thinking out loud. What do you think?"}}
{"actor":{"display_login":"orangeman"}}