{"action":"created","comment":{"url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/comments/187024877","pull_request_review_id":118719405,"id":187024877,"diff_hunk":"@@ -10,6 +10,7 @@ class Config(object):\n class DevConfig(Config):\n     DEBUG = True\n     DATABASE_URI = getenv('DEV_DATABASE_URI', '')\n+    SQLALCHEMY_DATABASE_URI = 'postgresql://psql_user:Ab132xw@127.0.0.1:5432/psql_db'","path":"config.py","position":null,"original_position":4,"commit_id":"37a5010efc0ce335d230e892957506a483c126e2","original_commit_id":"4bf38b1b6909a03ef7364b891f70b6de34d99460","user":{"login":"tdiak","id":15943025,"avatar_url":"https://avatars3.githubusercontent.com/u/15943025?v=4","gravatar_id":"","url":"https://api.github.com/users/tdiak","html_url":"https://github.com/tdiak","followers_url":"https://api.github.com/users/tdiak/followers","following_url":"https://api.github.com/users/tdiak/following{/other_user}","gists_url":"https://api.github.com/users/tdiak/gists{/gist_id}","starred_url":"https://api.github.com/users/tdiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdiak/subscriptions","organizations_url":"https://api.github.com/users/tdiak/orgs","repos_url":"https://api.github.com/users/tdiak/repos","events_url":"https://api.github.com/users/tdiak/events{/privacy}","received_events_url":"https://api.github.com/users/tdiak/received_events","type":"User","site_admin":false},"body":"I think 5 env variables will be best:\r\n-DB_ USER\r\n-DB_NAME\r\n-DB_HOST\r\n-DB_PASSWORD\r\n-DB_PORT\r\n\r\nand later use format to built this URI:\r\nDB_USER = getenv('DB_USER', '<some_default_value>')\r\n....\r\n'postgresql://{0}:{1} ....'.format(DB_USER, ..)\r\n\r\nAnd don't forget to set it in docker-compose :)","created_at":"2018-05-09T12:37:09Z","updated_at":"2018-05-09T12:37:10Z","html_url":"https://github.com/InkubatorTieto/melvil/pull/1#discussion_r187024877","pull_request_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/1","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/comments/187024877"},"html":{"href":"https://github.com/InkubatorTieto/melvil/pull/1#discussion_r187024877"},"pull_request":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/1"}},"in_reply_to_id":187018737},"pull_request":{"url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/1","id":186878186,"html_url":"https://github.com/InkubatorTieto/melvil/pull/1","diff_url":"https://github.com/InkubatorTieto/melvil/pull/1.diff","patch_url":"https://github.com/InkubatorTieto/melvil/pull/1.patch","issue_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/1","number":1,"state":"open","locked":false,"title":"Dl 5","user":{"login":"oskam","id":15074273,"avatar_url":"https://avatars3.githubusercontent.com/u/15074273?v=4","gravatar_id":"","url":"https://api.github.com/users/oskam","html_url":"https://github.com/oskam","followers_url":"https://api.github.com/users/oskam/followers","following_url":"https://api.github.com/users/oskam/following{/other_user}","gists_url":"https://api.github.com/users/oskam/gists{/gist_id}","starred_url":"https://api.github.com/users/oskam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskam/subscriptions","organizations_url":"https://api.github.com/users/oskam/orgs","repos_url":"https://api.github.com/users/oskam/repos","events_url":"https://api.github.com/users/oskam/events{/privacy}","received_events_url":"https://api.github.com/users/oskam/received_events","type":"User","site_admin":false},"body":"D1 subtask","created_at":"2018-05-09T10:19:40Z","updated_at":"2018-05-09T12:37:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99311263bfa6bfa8a8ef047050501ce979e234be","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/1/commits","review_comments_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/1/comments","review_comment_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/1/comments","statuses_url":"https://api.github.com/repos/InkubatorTieto/melvil/statuses/37a5010efc0ce335d230e892957506a483c126e2","head":{"label":"InkubatorTieto:DL-5","ref":"DL-5","sha":"37a5010efc0ce335d230e892957506a483c126e2","user":{"login":"InkubatorTieto","id":38905594,"avatar_url":"https://avatars0.githubusercontent.com/u/38905594?v=4","gravatar_id":"","url":"https://api.github.com/users/InkubatorTieto","html_url":"https://github.com/InkubatorTieto","followers_url":"https://api.github.com/users/InkubatorTieto/followers","following_url":"https://api.github.com/users/InkubatorTieto/following{/other_user}","gists_url":"https://api.github.com/users/InkubatorTieto/gists{/gist_id}","starred_url":"https://api.github.com/users/InkubatorTieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkubatorTieto/subscriptions","organizations_url":"https://api.github.com/users/InkubatorTieto/orgs","repos_url":"https://api.github.com/users/InkubatorTieto/repos","events_url":"https://api.github.com/users/InkubatorTieto/events{/privacy}","received_events_url":"https://api.github.com/users/InkubatorTieto/received_events","type":"Organization","site_admin":false},"repo":{"id":131816331,"name":"melvil","full_name":"InkubatorTieto/melvil","owner":{"login":"InkubatorTieto","id":38905594,"avatar_url":"https://avatars0.githubusercontent.com/u/38905594?v=4","gravatar_id":"","url":"https://api.github.com/users/InkubatorTieto","html_url":"https://github.com/InkubatorTieto","followers_url":"https://api.github.com/users/InkubatorTieto/followers","following_url":"https://api.github.com/users/InkubatorTieto/following{/other_user}","gists_url":"https://api.github.com/users/InkubatorTieto/gists{/gist_id}","starred_url":"https://api.github.com/users/InkubatorTieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkubatorTieto/subscriptions","organizations_url":"https://api.github.com/users/InkubatorTieto/orgs","repos_url":"https://api.github.com/users/InkubatorTieto/repos","events_url":"https://api.github.com/users/InkubatorTieto/events{/privacy}","received_events_url":"https://api.github.com/users/InkubatorTieto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InkubatorTieto/melvil","description":null,"fork":false,"url":"https://api.github.com/repos/InkubatorTieto/melvil","forks_url":"https://api.github.com/repos/InkubatorTieto/melvil/forks","keys_url":"https://api.github.com/repos/InkubatorTieto/melvil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InkubatorTieto/melvil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InkubatorTieto/melvil/teams","hooks_url":"https://api.github.com/repos/InkubatorTieto/melvil/hooks","issue_events_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/events{/number}","events_url":"https://api.github.com/repos/InkubatorTieto/melvil/events","assignees_url":"https://api.github.com/repos/InkubatorTieto/melvil/assignees{/user}","branches_url":"https://api.github.com/repos/InkubatorTieto/melvil/branches{/branch}","tags_url":"https://api.github.com/repos/InkubatorTieto/melvil/tags","blobs_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/refs{/sha}","trees_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InkubatorTieto/melvil/statuses/{sha}","languages_url":"https://api.github.com/repos/InkubatorTieto/melvil/languages","stargazers_url":"https://api.github.com/repos/InkubatorTieto/melvil/stargazers","contributors_url":"https://api.github.com/repos/InkubatorTieto/melvil/contributors","subscribers_url":"https://api.github.com/repos/InkubatorTieto/melvil/subscribers","subscription_url":"https://api.github.com/repos/InkubatorTieto/melvil/subscription","commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/commits{/sha}","git_commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/commits{/sha}","comments_url":"https://api.github.com/repos/InkubatorTieto/melvil/comments{/number}","issue_comment_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/comments{/number}","contents_url":"https://api.github.com/repos/InkubatorTieto/melvil/contents/{+path}","compare_url":"https://api.github.com/repos/InkubatorTieto/melvil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InkubatorTieto/melvil/merges","archive_url":"https://api.github.com/repos/InkubatorTieto/melvil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InkubatorTieto/melvil/downloads","issues_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues{/number}","pulls_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls{/number}","milestones_url":"https://api.github.com/repos/InkubatorTieto/melvil/milestones{/number}","notifications_url":"https://api.github.com/repos/InkubatorTieto/melvil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InkubatorTieto/melvil/labels{/name}","releases_url":"https://api.github.com/repos/InkubatorTieto/melvil/releases{/id}","deployments_url":"https://api.github.com/repos/InkubatorTieto/melvil/deployments","created_at":"2018-05-02T07:46:34Z","updated_at":"2018-05-09T10:03:03Z","pushed_at":"2018-05-09T12:34:11Z","git_url":"git://github.com/InkubatorTieto/melvil.git","ssh_url":"git@github.com:InkubatorTieto/melvil.git","clone_url":"https://github.com/InkubatorTieto/melvil.git","svn_url":"https://github.com/InkubatorTieto/melvil","homepage":null,"size":10,"stargazers_count":1,"watchers_count":1,"language":"Python","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":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"InkubatorTieto:master","ref":"master","sha":"33c878b74ee4adfa0a0497cda01ad88b9554d9c5","user":{"login":"InkubatorTieto","id":38905594,"avatar_url":"https://avatars0.githubusercontent.com/u/38905594?v=4","gravatar_id":"","url":"https://api.github.com/users/InkubatorTieto","html_url":"https://github.com/InkubatorTieto","followers_url":"https://api.github.com/users/InkubatorTieto/followers","following_url":"https://api.github.com/users/InkubatorTieto/following{/other_user}","gists_url":"https://api.github.com/users/InkubatorTieto/gists{/gist_id}","starred_url":"https://api.github.com/users/InkubatorTieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkubatorTieto/subscriptions","organizations_url":"https://api.github.com/users/InkubatorTieto/orgs","repos_url":"https://api.github.com/users/InkubatorTieto/repos","events_url":"https://api.github.com/users/InkubatorTieto/events{/privacy}","received_events_url":"https://api.github.com/users/InkubatorTieto/received_events","type":"Organization","site_admin":false},"repo":{"id":131816331,"name":"melvil","full_name":"InkubatorTieto/melvil","owner":{"login":"InkubatorTieto","id":38905594,"avatar_url":"https://avatars0.githubusercontent.com/u/38905594?v=4","gravatar_id":"","url":"https://api.github.com/users/InkubatorTieto","html_url":"https://github.com/InkubatorTieto","followers_url":"https://api.github.com/users/InkubatorTieto/followers","following_url":"https://api.github.com/users/InkubatorTieto/following{/other_user}","gists_url":"https://api.github.com/users/InkubatorTieto/gists{/gist_id}","starred_url":"https://api.github.com/users/InkubatorTieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkubatorTieto/subscriptions","organizations_url":"https://api.github.com/users/InkubatorTieto/orgs","repos_url":"https://api.github.com/users/InkubatorTieto/repos","events_url":"https://api.github.com/users/InkubatorTieto/events{/privacy}","received_events_url":"https://api.github.com/users/InkubatorTieto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InkubatorTieto/melvil","description":null,"fork":false,"url":"https://api.github.com/repos/InkubatorTieto/melvil","forks_url":"https://api.github.com/repos/InkubatorTieto/melvil/forks","keys_url":"https://api.github.com/repos/InkubatorTieto/melvil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InkubatorTieto/melvil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InkubatorTieto/melvil/teams","hooks_url":"https://api.github.com/repos/InkubatorTieto/melvil/hooks","issue_events_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/events{/number}","events_url":"https://api.github.com/repos/InkubatorTieto/melvil/events","assignees_url":"https://api.github.com/repos/InkubatorTieto/melvil/assignees{/user}","branches_url":"https://api.github.com/repos/InkubatorTieto/melvil/branches{/branch}","tags_url":"https://api.github.com/repos/InkubatorTieto/melvil/tags","blobs_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/refs{/sha}","trees_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InkubatorTieto/melvil/statuses/{sha}","languages_url":"https://api.github.com/repos/InkubatorTieto/melvil/languages","stargazers_url":"https://api.github.com/repos/InkubatorTieto/melvil/stargazers","contributors_url":"https://api.github.com/repos/InkubatorTieto/melvil/contributors","subscribers_url":"https://api.github.com/repos/InkubatorTieto/melvil/subscribers","subscription_url":"https://api.github.com/repos/InkubatorTieto/melvil/subscription","commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/commits{/sha}","git_commits_url":"https://api.github.com/repos/InkubatorTieto/melvil/git/commits{/sha}","comments_url":"https://api.github.com/repos/InkubatorTieto/melvil/comments{/number}","issue_comment_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues/comments{/number}","contents_url":"https://api.github.com/repos/InkubatorTieto/melvil/contents/{+path}","compare_url":"https://api.github.com/repos/InkubatorTieto/melvil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InkubatorTieto/melvil/merges","archive_url":"https://api.github.com/repos/InkubatorTieto/melvil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InkubatorTieto/melvil/downloads","issues_url":"https://api.github.com/repos/InkubatorTieto/melvil/issues{/number}","pulls_url":"https://api.github.com/repos/InkubatorTieto/melvil/pulls{/number}","milestones_url":"https://api.github.com/repos/InkubatorTieto/melvil/milestones{/number}","notifications_url":"https://api.github.com/repos/InkubatorTieto/melvil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InkubatorTieto/melvil/labels{/name}","releases_url":"https://api.github.com/repos/InkubatorTieto/melvil/releases{/id}","deployments_url":"https://api.github.com/repos/InkubatorTieto/melvil/deployments","created_at":"2018-05-02T07:46:34Z","updated_at":"2018-05-09T10:03:03Z","pushed_at":"2018-05-09T12:34:11Z","git_url":"git://github.com/InkubatorTieto/melvil.git","ssh_url":"git@github.com:InkubatorTieto/melvil.git","clone_url":"https://github.com/InkubatorTieto/melvil.git","svn_url":"https://github.com/InkubatorTieto/melvil","homepage":null,"size":10,"stargazers_count":1,"watchers_count":1,"language":"Python","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":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/1"},"html":{"href":"https://github.com/InkubatorTieto/melvil/pull/1"},"issue":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/issues/1"},"comments":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/InkubatorTieto/melvil/statuses/37a5010efc0ce335d230e892957506a483c126e2"}},"author_association":"NONE"}}
{"actor":{"display_login":"tdiak"}}