{"action":"opened","number":59,"pull_request":{"url":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls/59","id":180783237,"html_url":"https://github.com/dokku/dokku-elasticsearch/pull/59","diff_url":"https://github.com/dokku/dokku-elasticsearch/pull/59.diff","patch_url":"https://github.com/dokku/dokku-elasticsearch/pull/59.patch","issue_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues/59","number":59,"state":"open","locked":false,"title":"feat: support a separate data root for Docker bind mounts","user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars2.githubusercontent.com/u/65675?v=4","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"body":"This does not fix the :backup subcommand, which uses a temporary directory mounted to /backup.\r\n\r\nWe run Dokku, and therefore dokku redis, in its own Docker container.\r\nIn order to make this work we map a path from the host into the\r\ncontainer as `/var/lib/dokku/services/redis`. Unfortunately the path\r\non the host is user-configurable, and generally _won't_ be the same\r\nas the path in the container. This means that when we run `docker`\r\ncommands (e.g. to spin up Redis containers), the directory used for\r\nbind mounts (the `-v` option) needs to be different.\r\n\r\nThis commit allows us to do this, but keeps the existing behaviour\r\n(the redis root for Docker binds is the same as the redis root for\r\nother uses) by default.\r\n\r\nRefs https://github.com/dokku/dokku-redis/pull/103","created_at":"2018-04-11T03:46:48Z","updated_at":"2018-04-11T03:46:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls/59/commits","review_comments_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls/59/comments","review_comment_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues/59/comments","statuses_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/statuses/c3f215f7637d3a8fab2b307ea352febf0c973a39","head":{"label":"dokku:different-data-root-for-docker-binds","ref":"different-data-root-for-docker-binds","sha":"c3f215f7637d3a8fab2b307ea352febf0c973a39","user":{"login":"dokku","id":13455795,"avatar_url":"https://avatars1.githubusercontent.com/u/13455795?v=4","gravatar_id":"","url":"https://api.github.com/users/dokku","html_url":"https://github.com/dokku","followers_url":"https://api.github.com/users/dokku/followers","following_url":"https://api.github.com/users/dokku/following{/other_user}","gists_url":"https://api.github.com/users/dokku/gists{/gist_id}","starred_url":"https://api.github.com/users/dokku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokku/subscriptions","organizations_url":"https://api.github.com/users/dokku/orgs","repos_url":"https://api.github.com/users/dokku/repos","events_url":"https://api.github.com/users/dokku/events{/privacy}","received_events_url":"https://api.github.com/users/dokku/received_events","type":"Organization","site_admin":false},"repo":{"id":41263814,"name":"dokku-elasticsearch","full_name":"dokku/dokku-elasticsearch","owner":{"login":"dokku","id":13455795,"avatar_url":"https://avatars1.githubusercontent.com/u/13455795?v=4","gravatar_id":"","url":"https://api.github.com/users/dokku","html_url":"https://github.com/dokku","followers_url":"https://api.github.com/users/dokku/followers","following_url":"https://api.github.com/users/dokku/following{/other_user}","gists_url":"https://api.github.com/users/dokku/gists{/gist_id}","starred_url":"https://api.github.com/users/dokku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokku/subscriptions","organizations_url":"https://api.github.com/users/dokku/orgs","repos_url":"https://api.github.com/users/dokku/repos","events_url":"https://api.github.com/users/dokku/events{/privacy}","received_events_url":"https://api.github.com/users/dokku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dokku/dokku-elasticsearch","description":"BETA: an elasticsearch plugin for dokku","fork":false,"url":"https://api.github.com/repos/dokku/dokku-elasticsearch","forks_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/forks","keys_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/teams","hooks_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/events","assignees_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/tags","blobs_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/subscription","commits_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/merges","archive_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/downloads","issues_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/deployments","created_at":"2015-08-23T19:28:08Z","updated_at":"2018-02-24T15:39:41Z","pushed_at":"2018-04-11T03:03:16Z","git_url":"git://github.com/dokku/dokku-elasticsearch.git","ssh_url":"git@github.com:dokku/dokku-elasticsearch.git","clone_url":"https://github.com/dokku/dokku-elasticsearch.git","svn_url":"https://github.com/dokku/dokku-elasticsearch","homepage":"","size":158,"stargazers_count":34,"watchers_count":34,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":16,"open_issues":3,"watchers":34,"default_branch":"master"}},"base":{"label":"dokku:master","ref":"master","sha":"0d1c6e201caf2fa1d9d74c9b2235003b5e3636a2","user":{"login":"dokku","id":13455795,"avatar_url":"https://avatars1.githubusercontent.com/u/13455795?v=4","gravatar_id":"","url":"https://api.github.com/users/dokku","html_url":"https://github.com/dokku","followers_url":"https://api.github.com/users/dokku/followers","following_url":"https://api.github.com/users/dokku/following{/other_user}","gists_url":"https://api.github.com/users/dokku/gists{/gist_id}","starred_url":"https://api.github.com/users/dokku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokku/subscriptions","organizations_url":"https://api.github.com/users/dokku/orgs","repos_url":"https://api.github.com/users/dokku/repos","events_url":"https://api.github.com/users/dokku/events{/privacy}","received_events_url":"https://api.github.com/users/dokku/received_events","type":"Organization","site_admin":false},"repo":{"id":41263814,"name":"dokku-elasticsearch","full_name":"dokku/dokku-elasticsearch","owner":{"login":"dokku","id":13455795,"avatar_url":"https://avatars1.githubusercontent.com/u/13455795?v=4","gravatar_id":"","url":"https://api.github.com/users/dokku","html_url":"https://github.com/dokku","followers_url":"https://api.github.com/users/dokku/followers","following_url":"https://api.github.com/users/dokku/following{/other_user}","gists_url":"https://api.github.com/users/dokku/gists{/gist_id}","starred_url":"https://api.github.com/users/dokku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dokku/subscriptions","organizations_url":"https://api.github.com/users/dokku/orgs","repos_url":"https://api.github.com/users/dokku/repos","events_url":"https://api.github.com/users/dokku/events{/privacy}","received_events_url":"https://api.github.com/users/dokku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dokku/dokku-elasticsearch","description":"BETA: an elasticsearch plugin for dokku","fork":false,"url":"https://api.github.com/repos/dokku/dokku-elasticsearch","forks_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/forks","keys_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/teams","hooks_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/events","assignees_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/tags","blobs_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/subscription","commits_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/merges","archive_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/downloads","issues_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/dokku/dokku-elasticsearch/deployments","created_at":"2015-08-23T19:28:08Z","updated_at":"2018-02-24T15:39:41Z","pushed_at":"2018-04-11T03:03:16Z","git_url":"git://github.com/dokku/dokku-elasticsearch.git","ssh_url":"git@github.com:dokku/dokku-elasticsearch.git","clone_url":"https://github.com/dokku/dokku-elasticsearch.git","svn_url":"https://github.com/dokku/dokku-elasticsearch","homepage":"","size":158,"stargazers_count":34,"watchers_count":34,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":16,"open_issues":3,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls/59"},"html":{"href":"https://github.com/dokku/dokku-elasticsearch/pull/59"},"issue":{"href":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues/59"},"comments":{"href":"https://api.github.com/repos/dokku/dokku-elasticsearch/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dokku/dokku-elasticsearch/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/dokku/dokku-elasticsearch/statuses/c3f215f7637d3a8fab2b307ea352febf0c973a39"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"josegonzalez"}}