{"action":"created","issue":{"url":"https://api.github.com/repos/smebberson/docker-alpine/issues/13","repository_url":"https://api.github.com/repos/smebberson/docker-alpine","labels_url":"https://api.github.com/repos/smebberson/docker-alpine/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/smebberson/docker-alpine/issues/13/comments","events_url":"https://api.github.com/repos/smebberson/docker-alpine/issues/13/events","html_url":"https://github.com/smebberson/docker-alpine/pull/13","id":119136369,"number":13,"title":"fix #11","user":{"login":"matthewvalimaki","id":1033909,"avatar_url":"https://avatars.githubusercontent.com/u/1033909?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewvalimaki","html_url":"https://github.com/matthewvalimaki","followers_url":"https://api.github.com/users/matthewvalimaki/followers","following_url":"https://api.github.com/users/matthewvalimaki/following{/other_user}","gists_url":"https://api.github.com/users/matthewvalimaki/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewvalimaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewvalimaki/subscriptions","organizations_url":"https://api.github.com/users/matthewvalimaki/orgs","repos_url":"https://api.github.com/users/matthewvalimaki/repos","events_url":"https://api.github.com/users/matthewvalimaki/events{/privacy}","received_events_url":"https://api.github.com/users/matthewvalimaki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":39,"created_at":"2015-11-27T06:05:45Z","updated_at":"2016-03-19T04:23:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/smebberson/docker-alpine/pulls/13","html_url":"https://github.com/smebberson/docker-alpine/pull/13","diff_url":"https://github.com/smebberson/docker-alpine/pull/13.diff","patch_url":"https://github.com/smebberson/docker-alpine/pull/13.patch"},"body":"- Add consul-template\r\n- Update existing examples\r\n- Clean up some scripts\r\n\r\nSigned-off-by: Matthew Valimaki <matthew.valimaki@gmail.com>"},"comment":{"url":"https://api.github.com/repos/smebberson/docker-alpine/issues/comments/198631568","html_url":"https://github.com/smebberson/docker-alpine/pull/13#issuecomment-198631568","issue_url":"https://api.github.com/repos/smebberson/docker-alpine/issues/13","id":198631568,"user":{"login":"smebberson","id":74628,"avatar_url":"https://avatars.githubusercontent.com/u/74628?v=3","gravatar_id":"","url":"https://api.github.com/users/smebberson","html_url":"https://github.com/smebberson","followers_url":"https://api.github.com/users/smebberson/followers","following_url":"https://api.github.com/users/smebberson/following{/other_user}","gists_url":"https://api.github.com/users/smebberson/gists{/gist_id}","starred_url":"https://api.github.com/users/smebberson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smebberson/subscriptions","organizations_url":"https://api.github.com/users/smebberson/orgs","repos_url":"https://api.github.com/users/smebberson/repos","events_url":"https://api.github.com/users/smebberson/events{/privacy}","received_events_url":"https://api.github.com/users/smebberson/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T04:23:05Z","updated_at":"2016-03-19T04:23:05Z","body":"@matthewvalimaki, take a look at https://github.com/smebberson/docker-alpine/tree/matthewvalimaki-add-consul-template. That is my integration branch. Everything seems to be running smoothly now. There was a number of issues due to permissions not allowing certain things to occur (such as removing the consul nodes watch symlink - you didn't experience anything like that?).\r\n\r\nThe only thing I'm not happy with is the weird permissions I had to have on the `/etc/nginx` directory. I had to set them to 674 (??) so that consul-template could write to the directory. When I run with 664 I get:\r\n\r\n```\r\nConsul Template returned errors:\r\nopen /etc/nginx/conf.d/default.conf: permission denied\r\n```\r\n\r\nDespite the fact that `consul-template` has been added to the `nginx` group? Can you see why that would happen?\r\n\r\nIf you want to run this locally, you'll have to build (in this order):\r\n\r\n- `alpine-consul-base`\r\n- `alpine-consul-nginx`\r\n- `alpine-consul-nginx-nodejs`\r\n- `examples/user-consul-nginx-nodejs`\r\n\r\nIf you could give me your input on that - that'd be great. I'll wait to merge into master until you get back to me.\r\n\r\nAlso, before I merge into master, I'll release v1.0.0 of `alpine-consul-nginx`, and `alpine-consul-nginx-nodejs` and then merge those into my integration branch so that people wanting to keep the old versions can."}}