{"action":"opened","number":39,"pull_request":{"url":"https://api.github.com/repos/dokku/dokku-redis/pulls/39","id":56998665,"html_url":"https://github.com/dokku/dokku-redis/pull/39","diff_url":"https://github.com/dokku/dokku-redis/pull/39.diff","patch_url":"https://github.com/dokku/dokku-redis/pull/39.patch","issue_url":"https://api.github.com/repos/dokku/dokku-redis/issues/39","number":39,"state":"open","locked":false,"title":"Support custom redis.conf files","user":{"login":"dhruvio","id":2994670,"avatar_url":"https://avatars.githubusercontent.com/u/2994670?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvio","html_url":"https://github.com/dhruvio","followers_url":"https://api.github.com/users/dhruvio/followers","following_url":"https://api.github.com/users/dhruvio/following{/other_user}","gists_url":"https://api.github.com/users/dhruvio/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvio/subscriptions","organizations_url":"https://api.github.com/users/dhruvio/orgs","repos_url":"https://api.github.com/users/dhruvio/repos","events_url":"https://api.github.com/users/dhruvio/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvio/received_events","type":"User","site_admin":false},"body":"Even though the `$SERVICE_ROOT/config` volume is mapped to the `/usr/local/etc/redis` folder in the container, any specified `redis.conf` file in `$SERVICE_ROOT/config` will not be used by the running `redis-server` process. This pull request solves that problem, by downloading the `redis-stable/redis.conf` file from the redis website to `$SERVICE_ROOT/config/redis.conf`, then runs the redis server process in the container as `redis-server /usr/local/etc/redis/redis.conf`.\r\n\r\nUsers of `dokku-redis` will be able to configure the `$SERVICE_ROOT/config/redis.conf` file to their liking, restart the redis container and then see their changed configuration in effect.\r\n\r\nThis references [this issue](https://github.com/dokku/dokku-redis/issues/30).","created_at":"2016-01-24T08:56:26Z","updated_at":"2016-01-24T08:56:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dokku/dokku-redis/pulls/39/commits","review_comments_url":"https://api.github.com/repos/dokku/dokku-redis/pulls/39/comments","review_comment_url":"https://api.github.com/repos/dokku/dokku-redis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dokku/dokku-redis/issues/39/comments","statuses_url":"https://api.github.com/repos/dokku/dokku-redis/statuses/91d7df92ca7f78948d701cfbb4163590079a3a77","head":{"label":"dhruvio:patch-1","ref":"patch-1","sha":"91d7df92ca7f78948d701cfbb4163590079a3a77","user":{"login":"dhruvio","id":2994670,"avatar_url":"https://avatars.githubusercontent.com/u/2994670?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvio","html_url":"https://github.com/dhruvio","followers_url":"https://api.github.com/users/dhruvio/followers","following_url":"https://api.github.com/users/dhruvio/following{/other_user}","gists_url":"https://api.github.com/users/dhruvio/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvio/subscriptions","organizations_url":"https://api.github.com/users/dhruvio/orgs","repos_url":"https://api.github.com/users/dhruvio/repos","events_url":"https://api.github.com/users/dhruvio/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvio/received_events","type":"User","site_admin":false},"repo":{"id":50279730,"name":"dokku-redis","full_name":"dhruvio/dokku-redis","owner":{"login":"dhruvio","id":2994670,"avatar_url":"https://avatars.githubusercontent.com/u/2994670?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvio","html_url":"https://github.com/dhruvio","followers_url":"https://api.github.com/users/dhruvio/followers","following_url":"https://api.github.com/users/dhruvio/following{/other_user}","gists_url":"https://api.github.com/users/dhruvio/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvio/subscriptions","organizations_url":"https://api.github.com/users/dhruvio/orgs","repos_url":"https://api.github.com/users/dhruvio/repos","events_url":"https://api.github.com/users/dhruvio/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhruvio/dokku-redis","description":"BETA: a redis plugin for dokku","fork":true,"url":"https://api.github.com/repos/dhruvio/dokku-redis","forks_url":"https://api.github.com/repos/dhruvio/dokku-redis/forks","keys_url":"https://api.github.com/repos/dhruvio/dokku-redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhruvio/dokku-redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhruvio/dokku-redis/teams","hooks_url":"https://api.github.com/repos/dhruvio/dokku-redis/hooks","issue_events_url":"https://api.github.com/repos/dhruvio/dokku-redis/issues/events{/number}","events_url":"https://api.github.com/repos/dhruvio/dokku-redis/events","assignees_url":"https://api.github.com/repos/dhruvio/dokku-redis/assignees{/user}","branches_url":"https://api.github.com/repos/dhruvio/dokku-redis/branches{/branch}","tags_url":"https://api.github.com/repos/dhruvio/dokku-redis/tags","blobs_url":"https://api.github.com/repos/dhruvio/dokku-redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhruvio/dokku-redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhruvio/dokku-redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhruvio/dokku-redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhruvio/dokku-redis/statuses/{sha}","languages_url":"https://api.github.com/repos/dhruvio/dokku-redis/languages","stargazers_url":"https://api.github.com/repos/dhruvio/dokku-redis/stargazers","contributors_url":"https://api.github.com/repos/dhruvio/dokku-redis/contributors","subscribers_url":"https://api.github.com/repos/dhruvio/dokku-redis/subscribers","subscription_url":"https://api.github.com/repos/dhruvio/dokku-redis/subscription","commits_url":"https://api.github.com/repos/dhruvio/dokku-redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhruvio/dokku-redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhruvio/dokku-redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhruvio/dokku-redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhruvio/dokku-redis/contents/{+path}","compare_url":"https://api.github.com/repos/dhruvio/dokku-redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhruvio/dokku-redis/merges","archive_url":"https://api.github.com/repos/dhruvio/dokku-redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhruvio/dokku-redis/downloads","issues_url":"https://api.github.com/repos/dhruvio/dokku-redis/issues{/number}","pulls_url":"https://api.github.com/repos/dhruvio/dokku-redis/pulls{/number}","milestones_url":"https://api.github.com/repos/dhruvio/dokku-redis/milestones{/number}","notifications_url":"https://api.github.com/repos/dhruvio/dokku-redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhruvio/dokku-redis/labels{/name}","releases_url":"https://api.github.com/repos/dhruvio/dokku-redis/releases{/id}","deployments_url":"https://api.github.com/repos/dhruvio/dokku-redis/deployments","created_at":"2016-01-24T08:49:27Z","updated_at":"2016-01-24T08:49:27Z","pushed_at":"2016-01-24T08:56:17Z","git_url":"git://github.com/dhruvio/dokku-redis.git","ssh_url":"git@github.com:dhruvio/dokku-redis.git","clone_url":"https://github.com/dhruvio/dokku-redis.git","svn_url":"https://github.com/dhruvio/dokku-redis","homepage":"","size":82,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dokku:master","ref":"master","sha":"0f7b6ecf457959908892dacd8e5a0ec9661807bb","user":{"login":"dokku","id":13455795,"avatar_url":"https://avatars.githubusercontent.com/u/13455795?v=3","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":41270722,"name":"dokku-redis","full_name":"dokku/dokku-redis","owner":{"login":"dokku","id":13455795,"avatar_url":"https://avatars.githubusercontent.com/u/13455795?v=3","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-redis","description":"BETA: a redis plugin for dokku","fork":false,"url":"https://api.github.com/repos/dokku/dokku-redis","forks_url":"https://api.github.com/repos/dokku/dokku-redis/forks","keys_url":"https://api.github.com/repos/dokku/dokku-redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dokku/dokku-redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dokku/dokku-redis/teams","hooks_url":"https://api.github.com/repos/dokku/dokku-redis/hooks","issue_events_url":"https://api.github.com/repos/dokku/dokku-redis/issues/events{/number}","events_url":"https://api.github.com/repos/dokku/dokku-redis/events","assignees_url":"https://api.github.com/repos/dokku/dokku-redis/assignees{/user}","branches_url":"https://api.github.com/repos/dokku/dokku-redis/branches{/branch}","tags_url":"https://api.github.com/repos/dokku/dokku-redis/tags","blobs_url":"https://api.github.com/repos/dokku/dokku-redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dokku/dokku-redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dokku/dokku-redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/dokku/dokku-redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dokku/dokku-redis/statuses/{sha}","languages_url":"https://api.github.com/repos/dokku/dokku-redis/languages","stargazers_url":"https://api.github.com/repos/dokku/dokku-redis/stargazers","contributors_url":"https://api.github.com/repos/dokku/dokku-redis/contributors","subscribers_url":"https://api.github.com/repos/dokku/dokku-redis/subscribers","subscription_url":"https://api.github.com/repos/dokku/dokku-redis/subscription","commits_url":"https://api.github.com/repos/dokku/dokku-redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/dokku/dokku-redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/dokku/dokku-redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/dokku/dokku-redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/dokku/dokku-redis/contents/{+path}","compare_url":"https://api.github.com/repos/dokku/dokku-redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dokku/dokku-redis/merges","archive_url":"https://api.github.com/repos/dokku/dokku-redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dokku/dokku-redis/downloads","issues_url":"https://api.github.com/repos/dokku/dokku-redis/issues{/number}","pulls_url":"https://api.github.com/repos/dokku/dokku-redis/pulls{/number}","milestones_url":"https://api.github.com/repos/dokku/dokku-redis/milestones{/number}","notifications_url":"https://api.github.com/repos/dokku/dokku-redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dokku/dokku-redis/labels{/name}","releases_url":"https://api.github.com/repos/dokku/dokku-redis/releases{/id}","deployments_url":"https://api.github.com/repos/dokku/dokku-redis/deployments","created_at":"2015-08-23T22:51:30Z","updated_at":"2016-01-23T06:07:19Z","pushed_at":"2016-01-18T03:46:39Z","git_url":"git://github.com/dokku/dokku-redis.git","ssh_url":"git@github.com:dokku/dokku-redis.git","clone_url":"https://github.com/dokku/dokku-redis.git","svn_url":"https://github.com/dokku/dokku-redis","homepage":"","size":81,"stargazers_count":29,"watchers_count":29,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dokku/dokku-redis/pulls/39"},"html":{"href":"https://github.com/dokku/dokku-redis/pull/39"},"issue":{"href":"https://api.github.com/repos/dokku/dokku-redis/issues/39"},"comments":{"href":"https://api.github.com/repos/dokku/dokku-redis/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/dokku/dokku-redis/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/dokku/dokku-redis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dokku/dokku-redis/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/dokku/dokku-redis/statuses/91d7df92ca7f78948d701cfbb4163590079a3a77"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}