{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/comments/189610917","pull_request_review_id":121823489,"id":189610917,"diff_hunk":"@@ -82,11 +82,10 @@\n     'default': {\n         'ENGINE': 'django.db.backends.postgresql',\n         'NAME': 'django_reference',\n-        'USER': os.getenv('POSTGRES_USER'),\n+        'USER': os.getenv('POSTGRES_USER', 'postgres'),\n         'PASSWORD': os.getenv('POSTGRES_PASSWORD'),\n-        'HOST': os.getenv('POSTGRES_HOST'),\n-        'PORT': os.getenv('POSTGRES_PORT', 5432)\n-\n+        'HOST': os.getenv('POSTGRES_HOST', 'postgres'),\n+        'PORT': os.getenv('POSTGRES_PORT', 5432),","path":"django_reference_app/django_ref_config/settings.py","position":null,"original_position":11,"commit_id":"d3375230fef7249b686b8b854d17661670118bf6","original_commit_id":"007b0f0f12984ae354dbb16b332e3449ed83b724","user":{"login":"tariqmoj","id":30798686,"avatar_url":"https://avatars0.githubusercontent.com/u/30798686?v=4","gravatar_id":"","url":"https://api.github.com/users/tariqmoj","html_url":"https://github.com/tariqmoj","followers_url":"https://api.github.com/users/tariqmoj/followers","following_url":"https://api.github.com/users/tariqmoj/following{/other_user}","gists_url":"https://api.github.com/users/tariqmoj/gists{/gist_id}","starred_url":"https://api.github.com/users/tariqmoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tariqmoj/subscriptions","organizations_url":"https://api.github.com/users/tariqmoj/orgs","repos_url":"https://api.github.com/users/tariqmoj/repos","events_url":"https://api.github.com/users/tariqmoj/events{/privacy}","received_events_url":"https://api.github.com/users/tariqmoj/received_events","type":"User","site_admin":false},"body":"Removed these vars from settings.py and added to the docker-compose file","created_at":"2018-05-21T14:44:34Z","updated_at":"2018-05-21T14:44:34Z","html_url":"https://github.com/ministryofjustice/cloud-platform-reference-app/pull/46#discussion_r189610917","pull_request_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/46","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/comments/189610917"},"html":{"href":"https://github.com/ministryofjustice/cloud-platform-reference-app/pull/46#discussion_r189610917"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/46"}},"in_reply_to_id":189599840},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/46","id":189383034,"html_url":"https://github.com/ministryofjustice/cloud-platform-reference-app/pull/46","diff_url":"https://github.com/ministryofjustice/cloud-platform-reference-app/pull/46.diff","patch_url":"https://github.com/ministryofjustice/cloud-platform-reference-app/pull/46.patch","issue_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues/46","number":46,"state":"open","locked":false,"title":"WIP - DO NOT MERGE Add/21 postgres container","user":{"login":"tariqmoj","id":30798686,"avatar_url":"https://avatars0.githubusercontent.com/u/30798686?v=4","gravatar_id":"","url":"https://api.github.com/users/tariqmoj","html_url":"https://github.com/tariqmoj","followers_url":"https://api.github.com/users/tariqmoj/followers","following_url":"https://api.github.com/users/tariqmoj/following{/other_user}","gists_url":"https://api.github.com/users/tariqmoj/gists{/gist_id}","starred_url":"https://api.github.com/users/tariqmoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tariqmoj/subscriptions","organizations_url":"https://api.github.com/users/tariqmoj/orgs","repos_url":"https://api.github.com/users/tariqmoj/repos","events_url":"https://api.github.com/users/tariqmoj/events{/privacy}","received_events_url":"https://api.github.com/users/tariqmoj/received_events","type":"User","site_admin":false},"body":"https://waffle.io/ministryofjustice/cloud-platform/cards/5af5b842ee3807001c46393d\r\n\r\nSpike into using circle ci postgres native or containerising postgres. Decision made into using containerising postgres via docker compose. \r\n\r\nTest for available protgres also created, and passes. See image in ticket.\r\nExits docker-compose","created_at":"2018-05-21T13:43:37Z","updated_at":"2018-05-21T14:44:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"tariqmoj","id":30798686,"avatar_url":"https://avatars0.githubusercontent.com/u/30798686?v=4","gravatar_id":"","url":"https://api.github.com/users/tariqmoj","html_url":"https://github.com/tariqmoj","followers_url":"https://api.github.com/users/tariqmoj/followers","following_url":"https://api.github.com/users/tariqmoj/following{/other_user}","gists_url":"https://api.github.com/users/tariqmoj/gists{/gist_id}","starred_url":"https://api.github.com/users/tariqmoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tariqmoj/subscriptions","organizations_url":"https://api.github.com/users/tariqmoj/orgs","repos_url":"https://api.github.com/users/tariqmoj/repos","events_url":"https://api.github.com/users/tariqmoj/events{/privacy}","received_events_url":"https://api.github.com/users/tariqmoj/received_events","type":"User","site_admin":false},"assignees":[{"login":"tariqmoj","id":30798686,"avatar_url":"https://avatars0.githubusercontent.com/u/30798686?v=4","gravatar_id":"","url":"https://api.github.com/users/tariqmoj","html_url":"https://github.com/tariqmoj","followers_url":"https://api.github.com/users/tariqmoj/followers","following_url":"https://api.github.com/users/tariqmoj/following{/other_user}","gists_url":"https://api.github.com/users/tariqmoj/gists{/gist_id}","starred_url":"https://api.github.com/users/tariqmoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tariqmoj/subscriptions","organizations_url":"https://api.github.com/users/tariqmoj/orgs","repos_url":"https://api.github.com/users/tariqmoj/repos","events_url":"https://api.github.com/users/tariqmoj/events{/privacy}","received_events_url":"https://api.github.com/users/tariqmoj/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":930143722,"url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/46/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/46/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues/46/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/statuses/d3375230fef7249b686b8b854d17661670118bf6","head":{"label":"ministryofjustice:add/21-postgresContainer","ref":"add/21-postgresContainer","sha":"d3375230fef7249b686b8b854d17661670118bf6","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":131595384,"name":"cloud-platform-reference-app","full_name":"ministryofjustice/cloud-platform-reference-app","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/cloud-platform-reference-app","description":"Reference Django application for 'Getting Started' with MoJ's Cloud Platform  ","fork":false,"url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app","forks_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/forks","keys_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/events","assignees_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/merges","archive_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/deployments","created_at":"2018-04-30T12:51:57Z","updated_at":"2018-05-21T13:02:46Z","pushed_at":"2018-05-21T14:39:57Z","git_url":"git://github.com/ministryofjustice/cloud-platform-reference-app.git","ssh_url":"git@github.com:ministryofjustice/cloud-platform-reference-app.git","clone_url":"https://github.com/ministryofjustice/cloud-platform-reference-app.git","svn_url":"https://github.com/ministryofjustice/cloud-platform-reference-app","homepage":"https://ministryofjustice.github.io/cloud-platform-user-docs/cloud-platform/app-deploy-helm/#tutorial-deploying-an-application-to-the-cloud-platform-with-helm","size":18878,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"6ab24ed1d07ff576ef21ac7b91fec9dcde585475","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":131595384,"name":"cloud-platform-reference-app","full_name":"ministryofjustice/cloud-platform-reference-app","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/cloud-platform-reference-app","description":"Reference Django application for 'Getting Started' with MoJ's Cloud Platform  ","fork":false,"url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app","forks_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/forks","keys_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/events","assignees_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/merges","archive_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/deployments","created_at":"2018-04-30T12:51:57Z","updated_at":"2018-05-21T13:02:46Z","pushed_at":"2018-05-21T14:39:57Z","git_url":"git://github.com/ministryofjustice/cloud-platform-reference-app.git","ssh_url":"git@github.com:ministryofjustice/cloud-platform-reference-app.git","clone_url":"https://github.com/ministryofjustice/cloud-platform-reference-app.git","svn_url":"https://github.com/ministryofjustice/cloud-platform-reference-app","homepage":"https://ministryofjustice.github.io/cloud-platform-user-docs/cloud-platform/app-deploy-helm/#tutorial-deploying-an-application-to-the-cloud-platform-with-helm","size":18878,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/46"},"html":{"href":"https://github.com/ministryofjustice/cloud-platform-reference-app/pull/46"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues/46"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/cloud-platform-reference-app/statuses/d3375230fef7249b686b8b854d17661670118bf6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tariqmoj"}}