{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049/events","html_url":"https://github.com/Automattic/wp-calypso/issues/4049","id":141009983,"number":4049,"title":"Deployment documentation is missing","user":{"login":"cadecairos","id":438003,"avatar_url":"https://avatars.githubusercontent.com/u/438003?v=3","gravatar_id":"","url":"https://api.github.com/users/cadecairos","html_url":"https://github.com/cadecairos","followers_url":"https://api.github.com/users/cadecairos/followers","following_url":"https://api.github.com/users/cadecairos/following{/other_user}","gists_url":"https://api.github.com/users/cadecairos/gists{/gist_id}","starred_url":"https://api.github.com/users/cadecairos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cadecairos/subscriptions","organizations_url":"https://api.github.com/users/cadecairos/orgs","repos_url":"https://api.github.com/users/cadecairos/repos","events_url":"https://api.github.com/users/cadecairos/events{/privacy}","received_events_url":"https://api.github.com/users/cadecairos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/OSS%20Citizen","name":"OSS Citizen","color":"5319e7"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Question","name":"[Type] Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-15T15:34:18Z","updated_at":"2016-03-16T16:05:26Z","closed_at":null,"body":"I'm working on figuring out how to deploy a custom version of Calypso that doesn't depend directly on wordpress.com, rather, it just uses the wordpress.com OAuth API. I've created a custom Dockerfile that is compatible with Heroku deploys, but now I need some advice.\r\n\r\nCould I get some clarification on what a complete configuration file for a deployment like I described above might be (which variables should/should not be set)? \r\n\r\nThere also appears to be a custom configuration script sourced by the committed Dockerfile, but there is no documentation on what it does, or why it's necessary for a production Calypso Docker image - what does it do, and is it necessary for my case?\r\n\r\nHere's what my current production config looks like: \r\n\r\n```json\r\n{\r\n  \"port\": 3000,\r\n  \"desktop_oauth_client_id\": \"xxxxxxxxx\",\r\n  \"desktop_oauth_client_secret\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\r\n  \"desktop_oauth_token_endpoint\": \"https://public-api.wordpress.com/oauth2/token\",\r\n  \"features\": {\r\n    \"oauth\": \"true\"\r\n  }\r\n}\r\n```  \r\n\r\nedit: for clarity\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/197399875","html_url":"https://github.com/Automattic/wp-calypso/issues/4049#issuecomment-197399875","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049","id":197399875,"user":{"login":"scruffian","id":275961,"avatar_url":"https://avatars.githubusercontent.com/u/275961?v=3","gravatar_id":"","url":"https://api.github.com/users/scruffian","html_url":"https://github.com/scruffian","followers_url":"https://api.github.com/users/scruffian/followers","following_url":"https://api.github.com/users/scruffian/following{/other_user}","gists_url":"https://api.github.com/users/scruffian/gists{/gist_id}","starred_url":"https://api.github.com/users/scruffian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scruffian/subscriptions","organizations_url":"https://api.github.com/users/scruffian/orgs","repos_url":"https://api.github.com/users/scruffian/repos","events_url":"https://api.github.com/users/scruffian/events{/privacy}","received_events_url":"https://api.github.com/users/scruffian/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T16:05:26Z","updated_at":"2016-03-16T16:05:26Z","body":"Glad you found what you needed. I don't know much about the Dockerfile, but I'm happy to _try_ to help if you get stuck again..."}}