{"action":"created","issue":{"url":"https://api.github.com/repos/dokku/dokku/issues/2028","repository_url":"https://api.github.com/repos/dokku/dokku","labels_url":"https://api.github.com/repos/dokku/dokku/issues/2028/labels{/name}","comments_url":"https://api.github.com/repos/dokku/dokku/issues/2028/comments","events_url":"https://api.github.com/repos/dokku/dokku/issues/2028/events","html_url":"https://github.com/dokku/dokku/issues/2028","id":143869031,"number":2028,"title":"Dockerfile nginx port problems with 0.5.0","user":{"login":"Flink","id":5648,"avatar_url":"https://avatars.githubusercontent.com/u/5648?v=3","gravatar_id":"","url":"https://api.github.com/users/Flink","html_url":"https://github.com/Flink","followers_url":"https://api.github.com/users/Flink/followers","following_url":"https://api.github.com/users/Flink/following{/other_user}","gists_url":"https://api.github.com/users/Flink/gists{/gist_id}","starred_url":"https://api.github.com/users/Flink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flink/subscriptions","organizations_url":"https://api.github.com/users/Flink/orgs","repos_url":"https://api.github.com/users/Flink/repos","events_url":"https://api.github.com/users/Flink/events{/privacy}","received_events_url":"https://api.github.com/users/Flink/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dokku/dokku/labels/status:%20needs%20more%20info","name":"status: needs more info","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"michaelshobbs","id":4491438,"avatar_url":"https://avatars.githubusercontent.com/u/4491438?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelshobbs","html_url":"https://github.com/michaelshobbs","followers_url":"https://api.github.com/users/michaelshobbs/followers","following_url":"https://api.github.com/users/michaelshobbs/following{/other_user}","gists_url":"https://api.github.com/users/michaelshobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelshobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelshobbs/subscriptions","organizations_url":"https://api.github.com/users/michaelshobbs/orgs","repos_url":"https://api.github.com/users/michaelshobbs/repos","events_url":"https://api.github.com/users/michaelshobbs/events{/privacy}","received_events_url":"https://api.github.com/users/michaelshobbs/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-03-28T01:33:28Z","updated_at":"2016-03-29T17:21:54Z","closed_at":null,"body":"Hey guys I think we have a bug with the new template system for nginx config.\r\nI did not investigate but when deploying a dockerfile app, the port is not correctly configured anymore.\r\nI deployed a previous app that was working without any problem with v0.4.x and now it sets DOKKU_DOCKERFILE_PORT and DOKKU_DOCKERFILE_PORTS and then want to serve my app directly on the dockerfile port instead of proxying like any other apps.\r\nI found that removing DOKKU_DOCKERFILE_PORTS seems to enable again the previous config with vhost but it then sets the port to 5000 instead of using the one declared by the dockerfile…\r\nSo for now, I had to directly edit the generated nginx.conf file to set the correct port :/"},"comment":{"url":"https://api.github.com/repos/dokku/dokku/issues/comments/203009005","html_url":"https://github.com/dokku/dokku/issues/2028#issuecomment-203009005","issue_url":"https://api.github.com/repos/dokku/dokku/issues/2028","id":203009005,"user":{"login":"Flink","id":5648,"avatar_url":"https://avatars.githubusercontent.com/u/5648?v=3","gravatar_id":"","url":"https://api.github.com/users/Flink","html_url":"https://github.com/Flink","followers_url":"https://api.github.com/users/Flink/followers","following_url":"https://api.github.com/users/Flink/following{/other_user}","gists_url":"https://api.github.com/users/Flink/gists{/gist_id}","starred_url":"https://api.github.com/users/Flink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flink/subscriptions","organizations_url":"https://api.github.com/users/Flink/orgs","repos_url":"https://api.github.com/users/Flink/repos","events_url":"https://api.github.com/users/Flink/events{/privacy}","received_events_url":"https://api.github.com/users/Flink/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T17:21:54Z","updated_at":"2016-03-29T17:21:54Z","body":"@michaelshobbs ah yes sorry, you have to use our couchdb plugin to create a db, link it to the app and then export the following vars: `COUCH_HOST`, `COUCH_PORT`, `COUCH_USER` and `COUCH_PASS` since the app doesn’t understand `COUCHDB_URL` :/"}}