{"action":"created","comment":{"url":"https://api.github.com/repos/eea/nbsap/pulls/comments/34558907","id":34558907,"diff_hunk":"@@ -0,0 +1,24 @@\n+db:\n+    restart: always\n+    image: mysql:5.6\n+    ports:\n+        - \"3306:3306\"\n+    environment:\n+        MYSQL_ROOT_PASSWORD: changeme\n+        #the values below should match the credentials used in \n+        #instance/local_settings.py\n+        MYSQL_USER: nbsap\n+        MYSQL_PASSWORD: nbsap\n+        MYSQL_DATABASE: nbsap\n+web:\n+    build: .\n+    command:\n+        python instance/manage.py runserver 0.0.0.0:8000\n+    volumes:\n+        - .:/nbsap\n+    ports:\n+        - \"8000:8000\"\n+    links:\n+        - db\n+    environment:\n+        - DEBUG=True","path":"docker-compose.yml","position":24,"original_position":24,"commit_id":"17a19b0b8a376827fc9047d2a98ccbd5ff84a689","original_commit_id":"dbb695cc8e67234cb57ad3c2d6a67cc100ff2407","user":{"login":"alexef","id":346576,"avatar_url":"https://avatars.githubusercontent.com/u/346576?v=3","gravatar_id":"","url":"https://api.github.com/users/alexef","html_url":"https://github.com/alexef","followers_url":"https://api.github.com/users/alexef/followers","following_url":"https://api.github.com/users/alexef/following{/other_user}","gists_url":"https://api.github.com/users/alexef/gists{/gist_id}","starred_url":"https://api.github.com/users/alexef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexef/subscriptions","organizations_url":"https://api.github.com/users/alexef/orgs","repos_url":"https://api.github.com/users/alexef/repos","events_url":"https://api.github.com/users/alexef/events{/privacy}","received_events_url":"https://api.github.com/users/alexef/received_events","type":"User","site_admin":false},"body":"In https://github.com/eea/eea.docker.nbsap you should put two docker-compose files:\r\n\r\n- this file, but renamed `docker-compose.dev.yml`, to be used as a development setup\r\n- a new one, named `docker-compose.yml` with containers setup for the instances on calamar (the country instances + demo + ec)","created_at":"2015-07-14T11:34:52Z","updated_at":"2015-07-14T11:34:52Z","html_url":"https://github.com/eea/nbsap/pull/39#discussion_r34558907","pull_request_url":"https://api.github.com/repos/eea/nbsap/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/eea/nbsap/pulls/comments/34558907"},"html":{"href":"https://github.com/eea/nbsap/pull/39#discussion_r34558907"},"pull_request":{"href":"https://api.github.com/repos/eea/nbsap/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/eea/nbsap/pulls/39","id":39588033,"html_url":"https://github.com/eea/nbsap/pull/39","diff_url":"https://github.com/eea/nbsap/pull/39.diff","patch_url":"https://github.com/eea/nbsap/pull/39.patch","issue_url":"https://api.github.com/repos/eea/nbsap/issues/39","number":39,"state":"open","locked":false,"title":"Add docker files","user":{"login":"anaion","id":2556132,"avatar_url":"https://avatars.githubusercontent.com/u/2556132?v=3","gravatar_id":"","url":"https://api.github.com/users/anaion","html_url":"https://github.com/anaion","followers_url":"https://api.github.com/users/anaion/followers","following_url":"https://api.github.com/users/anaion/following{/other_user}","gists_url":"https://api.github.com/users/anaion/gists{/gist_id}","starred_url":"https://api.github.com/users/anaion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anaion/subscriptions","organizations_url":"https://api.github.com/users/anaion/orgs","repos_url":"https://api.github.com/users/anaion/repos","events_url":"https://api.github.com/users/anaion/events{/privacy}","received_events_url":"https://api.github.com/users/anaion/received_events","type":"User","site_admin":false},"body":"PR for #26735\r\n\r\n@alexef please review","created_at":"2015-07-09T14:20:14Z","updated_at":"2015-07-14T11:34:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b97af44dfa8f1de9a7004059d610a2fd7b7a9a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eea/nbsap/pulls/39/commits","review_comments_url":"https://api.github.com/repos/eea/nbsap/pulls/39/comments","review_comment_url":"https://api.github.com/repos/eea/nbsap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eea/nbsap/issues/39/comments","statuses_url":"https://api.github.com/repos/eea/nbsap/statuses/17a19b0b8a376827fc9047d2a98ccbd5ff84a689","head":{"label":"eea:dockerise_nbsap","ref":"dockerise_nbsap","sha":"17a19b0b8a376827fc9047d2a98ccbd5ff84a689","user":{"login":"eea","id":1176627,"avatar_url":"https://avatars.githubusercontent.com/u/1176627?v=3","gravatar_id":"","url":"https://api.github.com/users/eea","html_url":"https://github.com/eea","followers_url":"https://api.github.com/users/eea/followers","following_url":"https://api.github.com/users/eea/following{/other_user}","gists_url":"https://api.github.com/users/eea/gists{/gist_id}","starred_url":"https://api.github.com/users/eea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eea/subscriptions","organizations_url":"https://api.github.com/users/eea/orgs","repos_url":"https://api.github.com/users/eea/repos","events_url":"https://api.github.com/users/eea/events{/privacy}","received_events_url":"https://api.github.com/users/eea/received_events","type":"Organization","site_admin":false},"repo":{"id":14688025,"name":"nbsap","full_name":"eea/nbsap","owner":{"login":"eea","id":1176627,"avatar_url":"https://avatars.githubusercontent.com/u/1176627?v=3","gravatar_id":"","url":"https://api.github.com/users/eea","html_url":"https://github.com/eea","followers_url":"https://api.github.com/users/eea/followers","following_url":"https://api.github.com/users/eea/following{/other_user}","gists_url":"https://api.github.com/users/eea/gists{/gist_id}","starred_url":"https://api.github.com/users/eea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eea/subscriptions","organizations_url":"https://api.github.com/users/eea/orgs","repos_url":"https://api.github.com/users/eea/repos","events_url":"https://api.github.com/users/eea/events{/privacy}","received_events_url":"https://api.github.com/users/eea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eea/nbsap","description":"Reporting tool towards the Aichi targets and the EU Strategy","fork":false,"url":"https://api.github.com/repos/eea/nbsap","forks_url":"https://api.github.com/repos/eea/nbsap/forks","keys_url":"https://api.github.com/repos/eea/nbsap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eea/nbsap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eea/nbsap/teams","hooks_url":"https://api.github.com/repos/eea/nbsap/hooks","issue_events_url":"https://api.github.com/repos/eea/nbsap/issues/events{/number}","events_url":"https://api.github.com/repos/eea/nbsap/events","assignees_url":"https://api.github.com/repos/eea/nbsap/assignees{/user}","branches_url":"https://api.github.com/repos/eea/nbsap/branches{/branch}","tags_url":"https://api.github.com/repos/eea/nbsap/tags","blobs_url":"https://api.github.com/repos/eea/nbsap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eea/nbsap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eea/nbsap/git/refs{/sha}","trees_url":"https://api.github.com/repos/eea/nbsap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eea/nbsap/statuses/{sha}","languages_url":"https://api.github.com/repos/eea/nbsap/languages","stargazers_url":"https://api.github.com/repos/eea/nbsap/stargazers","contributors_url":"https://api.github.com/repos/eea/nbsap/contributors","subscribers_url":"https://api.github.com/repos/eea/nbsap/subscribers","subscription_url":"https://api.github.com/repos/eea/nbsap/subscription","commits_url":"https://api.github.com/repos/eea/nbsap/commits{/sha}","git_commits_url":"https://api.github.com/repos/eea/nbsap/git/commits{/sha}","comments_url":"https://api.github.com/repos/eea/nbsap/comments{/number}","issue_comment_url":"https://api.github.com/repos/eea/nbsap/issues/comments{/number}","contents_url":"https://api.github.com/repos/eea/nbsap/contents/{+path}","compare_url":"https://api.github.com/repos/eea/nbsap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eea/nbsap/merges","archive_url":"https://api.github.com/repos/eea/nbsap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eea/nbsap/downloads","issues_url":"https://api.github.com/repos/eea/nbsap/issues{/number}","pulls_url":"https://api.github.com/repos/eea/nbsap/pulls{/number}","milestones_url":"https://api.github.com/repos/eea/nbsap/milestones{/number}","notifications_url":"https://api.github.com/repos/eea/nbsap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eea/nbsap/labels{/name}","releases_url":"https://api.github.com/repos/eea/nbsap/releases{/id}","created_at":"2013-11-25T14:40:31Z","updated_at":"2015-05-07T15:24:06Z","pushed_at":"2015-07-10T12:34:08Z","git_url":"git://github.com/eea/nbsap.git","ssh_url":"git@github.com:eea/nbsap.git","clone_url":"https://github.com/eea/nbsap.git","svn_url":"https://github.com/eea/nbsap","homepage":null,"size":11234,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"eea:master","ref":"master","sha":"0103a8242beb16f91a58658ec2e6891e7d57cf8b","user":{"login":"eea","id":1176627,"avatar_url":"https://avatars.githubusercontent.com/u/1176627?v=3","gravatar_id":"","url":"https://api.github.com/users/eea","html_url":"https://github.com/eea","followers_url":"https://api.github.com/users/eea/followers","following_url":"https://api.github.com/users/eea/following{/other_user}","gists_url":"https://api.github.com/users/eea/gists{/gist_id}","starred_url":"https://api.github.com/users/eea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eea/subscriptions","organizations_url":"https://api.github.com/users/eea/orgs","repos_url":"https://api.github.com/users/eea/repos","events_url":"https://api.github.com/users/eea/events{/privacy}","received_events_url":"https://api.github.com/users/eea/received_events","type":"Organization","site_admin":false},"repo":{"id":14688025,"name":"nbsap","full_name":"eea/nbsap","owner":{"login":"eea","id":1176627,"avatar_url":"https://avatars.githubusercontent.com/u/1176627?v=3","gravatar_id":"","url":"https://api.github.com/users/eea","html_url":"https://github.com/eea","followers_url":"https://api.github.com/users/eea/followers","following_url":"https://api.github.com/users/eea/following{/other_user}","gists_url":"https://api.github.com/users/eea/gists{/gist_id}","starred_url":"https://api.github.com/users/eea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eea/subscriptions","organizations_url":"https://api.github.com/users/eea/orgs","repos_url":"https://api.github.com/users/eea/repos","events_url":"https://api.github.com/users/eea/events{/privacy}","received_events_url":"https://api.github.com/users/eea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eea/nbsap","description":"Reporting tool towards the Aichi targets and the EU Strategy","fork":false,"url":"https://api.github.com/repos/eea/nbsap","forks_url":"https://api.github.com/repos/eea/nbsap/forks","keys_url":"https://api.github.com/repos/eea/nbsap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eea/nbsap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eea/nbsap/teams","hooks_url":"https://api.github.com/repos/eea/nbsap/hooks","issue_events_url":"https://api.github.com/repos/eea/nbsap/issues/events{/number}","events_url":"https://api.github.com/repos/eea/nbsap/events","assignees_url":"https://api.github.com/repos/eea/nbsap/assignees{/user}","branches_url":"https://api.github.com/repos/eea/nbsap/branches{/branch}","tags_url":"https://api.github.com/repos/eea/nbsap/tags","blobs_url":"https://api.github.com/repos/eea/nbsap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eea/nbsap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eea/nbsap/git/refs{/sha}","trees_url":"https://api.github.com/repos/eea/nbsap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eea/nbsap/statuses/{sha}","languages_url":"https://api.github.com/repos/eea/nbsap/languages","stargazers_url":"https://api.github.com/repos/eea/nbsap/stargazers","contributors_url":"https://api.github.com/repos/eea/nbsap/contributors","subscribers_url":"https://api.github.com/repos/eea/nbsap/subscribers","subscription_url":"https://api.github.com/repos/eea/nbsap/subscription","commits_url":"https://api.github.com/repos/eea/nbsap/commits{/sha}","git_commits_url":"https://api.github.com/repos/eea/nbsap/git/commits{/sha}","comments_url":"https://api.github.com/repos/eea/nbsap/comments{/number}","issue_comment_url":"https://api.github.com/repos/eea/nbsap/issues/comments{/number}","contents_url":"https://api.github.com/repos/eea/nbsap/contents/{+path}","compare_url":"https://api.github.com/repos/eea/nbsap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eea/nbsap/merges","archive_url":"https://api.github.com/repos/eea/nbsap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eea/nbsap/downloads","issues_url":"https://api.github.com/repos/eea/nbsap/issues{/number}","pulls_url":"https://api.github.com/repos/eea/nbsap/pulls{/number}","milestones_url":"https://api.github.com/repos/eea/nbsap/milestones{/number}","notifications_url":"https://api.github.com/repos/eea/nbsap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eea/nbsap/labels{/name}","releases_url":"https://api.github.com/repos/eea/nbsap/releases{/id}","created_at":"2013-11-25T14:40:31Z","updated_at":"2015-05-07T15:24:06Z","pushed_at":"2015-07-10T12:34:08Z","git_url":"git://github.com/eea/nbsap.git","ssh_url":"git@github.com:eea/nbsap.git","clone_url":"https://github.com/eea/nbsap.git","svn_url":"https://github.com/eea/nbsap","homepage":null,"size":11234,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eea/nbsap/pulls/39"},"html":{"href":"https://github.com/eea/nbsap/pull/39"},"issue":{"href":"https://api.github.com/repos/eea/nbsap/issues/39"},"comments":{"href":"https://api.github.com/repos/eea/nbsap/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/eea/nbsap/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/eea/nbsap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eea/nbsap/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/eea/nbsap/statuses/17a19b0b8a376827fc9047d2a98ccbd5ff84a689"}}}}