{"action":"created","issue":{"url":"https://api.github.com/repos/dokku/dokku/issues/2312","repository_url":"https://api.github.com/repos/dokku/dokku","labels_url":"https://api.github.com/repos/dokku/dokku/issues/2312/labels{/name}","comments_url":"https://api.github.com/repos/dokku/dokku/issues/2312/comments","events_url":"https://api.github.com/repos/dokku/dokku/issues/2312/events","html_url":"https://github.com/dokku/dokku/issues/2312","id":165119767,"number":2312,"title":"[RFC] Repository Copy Files Plugin","user":{"login":"aaron-trout","id":2394679,"avatar_url":"https://avatars3.githubusercontent.com/u/2394679?v=4","gravatar_id":"","url":"https://api.github.com/users/aaron-trout","html_url":"https://github.com/aaron-trout","followers_url":"https://api.github.com/users/aaron-trout/followers","following_url":"https://api.github.com/users/aaron-trout/following{/other_user}","gists_url":"https://api.github.com/users/aaron-trout/gists{/gist_id}","starred_url":"https://api.github.com/users/aaron-trout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaron-trout/subscriptions","organizations_url":"https://api.github.com/users/aaron-trout/orgs","repos_url":"https://api.github.com/users/aaron-trout/repos","events_url":"https://api.github.com/users/aaron-trout/events{/privacy}","received_events_url":"https://api.github.com/users/aaron-trout/received_events","type":"User","site_admin":false},"labels":[{"id":586789718,"url":"https://api.github.com/repos/dokku/dokku/labels/difficulty:%20medium","name":"difficulty: medium","color":"fef2c0","default":false},{"id":206137286,"url":"https://api.github.com/repos/dokku/dokku/labels/type:%20rfc","name":"type: rfc","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-12T16:23:45Z","updated_at":"2018-03-08T07:44:14Z","closed_at":"2018-03-08T07:44:14Z","author_association":"NONE","body":"I think this was sort of mentioned in #2138, but it was brushed over because that wasn't the primary focus of that issue.\n\nBasically, what I'd like is for the contents of `nginx.conf.d/` in my git repository to be copied to the corresponding place in the dokku application directory, so that I don't have to manually scp up files to the dokku server after I've deployed the application. (further, but outside the scope of this issue I believe that _ALL_ application config should live in the git repo, so that essentially the dokku server is a throwaway worker for running the web applications - this would make redeploying / moving between dokku servers very easy)\n\nI know that I could add a sigil file to my root, but copying an 86 line template file and just adding one line (in this case, adding the `client_max_body_size` parameter) seems a bit suboptimal, and I might miss out on exciting changes to the default template when upgrading.\n\nIf this is something that could work, I'd be happy to have a bash (pun intended) at making it work but would probably need somebody to point me in the right direction (I had a look at a bunch of files but couldn't work out where this might go in a way that would work for git push / tar file etc).\n\nThanks!\nAaron\n"},"comment":{"url":"https://api.github.com/repos/dokku/dokku/issues/comments/371406561","html_url":"https://github.com/dokku/dokku/issues/2312#issuecomment-371406561","issue_url":"https://api.github.com/repos/dokku/dokku/issues/2312","id":371406561,"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},"created_at":"2018-03-08T07:44:14Z","updated_at":"2018-03-08T07:44:14Z","author_association":"OWNER","body":"Closing as there is a pull request open (that should handle the original case as well as the case proposed by @mimischi). As it is somewhat complex and potentially unexpected, the behavior is off by default."}}
{"actor":{"display_login":"josegonzalez"}}