{"action":"created","issue":{"url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/8","labels_url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/8/comments","events_url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/8/events","html_url":"https://github.com/aptible/docker-elasticsearch/pull/8","id":84883051,"number":8,"title":"Add dump/restore/readonly functionality","user":{"login":"jbergknoff","id":2678832,"avatar_url":"https://avatars.githubusercontent.com/u/2678832?v=3","gravatar_id":"","url":"https://api.github.com/users/jbergknoff","html_url":"https://github.com/jbergknoff","followers_url":"https://api.github.com/users/jbergknoff/followers","following_url":"https://api.github.com/users/jbergknoff/following{/other_user}","gists_url":"https://api.github.com/users/jbergknoff/gists{/gist_id}","starred_url":"https://api.github.com/users/jbergknoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbergknoff/subscriptions","organizations_url":"https://api.github.com/users/jbergknoff/orgs","repos_url":"https://api.github.com/users/jbergknoff/repos","events_url":"https://api.github.com/users/jbergknoff/events{/privacy}","received_events_url":"https://api.github.com/users/jbergknoff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aptible/docker-elasticsearch/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-04T03:10:45Z","updated_at":"2015-06-05T00:54:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aptible/docker-elasticsearch/pulls/8","html_url":"https://github.com/aptible/docker-elasticsearch/pull/8","diff_url":"https://github.com/aptible/docker-elasticsearch/pull/8.diff","patch_url":"https://github.com/aptible/docker-elasticsearch/pull/8.patch"},"body":"Notes:\r\n\r\n* ElasticSearch doesn't seem to have built-in support for \"dump to stdout/restore from stdin\", so this image uses the [elasticdump](https://github.com/taskrabbit/elasticsearch-dump) tool to make that happen.\r\n* ElasticSearch doesn't seem to have built-in support for a read-only mode. The accepted ways to enable read-only mode are (1) a plugin [readonlyrest](https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin), and (2) proxying through nginx and only allowing `GET` requests. I went with the latter (I also tried the plugin but couldn't get it set up correctly)."},"comment":{"url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/comments/109109969","html_url":"https://github.com/aptible/docker-elasticsearch/pull/8#issuecomment-109109969","issue_url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/8","id":109109969,"user":{"login":"jbergknoff","id":2678832,"avatar_url":"https://avatars.githubusercontent.com/u/2678832?v=3","gravatar_id":"","url":"https://api.github.com/users/jbergknoff","html_url":"https://github.com/jbergknoff","followers_url":"https://api.github.com/users/jbergknoff/followers","following_url":"https://api.github.com/users/jbergknoff/following{/other_user}","gists_url":"https://api.github.com/users/jbergknoff/gists{/gist_id}","starred_url":"https://api.github.com/users/jbergknoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbergknoff/subscriptions","organizations_url":"https://api.github.com/users/jbergknoff/orgs","repos_url":"https://api.github.com/users/jbergknoff/repos","events_url":"https://api.github.com/users/jbergknoff/events{/privacy}","received_events_url":"https://api.github.com/users/jbergknoff/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T00:54:49Z","updated_at":"2015-06-05T00:54:49Z","body":"Good call @aaw @fancyremarker, I made the change so that read only mode allows `GET`, `HEAD` and `OPTIONS` requests."}}