{"action":"created","comment":{"url":"https://api.github.com/repos/tidepool-org/styx/pulls/comments/119245914","pull_request_review_id":41107330,"id":119245914,"diff_hunk":"@@ -0,0 +1,49 @@\n+FROM node:6.10.3-alpine\n+\n+# Common ENV\n+ENV API_SECRET=\"This is a local API secret for everyone. BsscSHqSHiwrBMJsEGqbvXiuIUPAjQXU\" \\\n+    SERVER_SECRET=\"This needs to be the same secret everywhere. YaHut75NsK1f9UKUXuWqxNN0RUwHFBCy\" \\\n+    LONGTERM_KEY=\"abcdefghijklmnopqrstuvwxyz\" \\\n+    DISCOVERY_HOST=hakken:8000 \\\n+    PUBLISH_HOST=hakken \\\n+    METRICS_SERVICE=\"{ \\\"type\\\": \\\"static\\\", \\\"hosts\\\": [{ \\\"protocol\\\": \\\"http\\\", \\\"host\\\": \\\"highwater:9191\\\" }] }\" \\\n+    USER_API_SERVICE=\"{ \\\"type\\\": \\\"static\\\", \\\"hosts\\\": [{ \\\"protocol\\\": \\\"http\\\", \\\"host\\\": \\\"shoreline:9107\\\" }] }\" \\\n+    SEAGULL_SERVICE=\"{ \\\"type\\\": \\\"static\\\", \\\"hosts\\\": [{ \\\"protocol\\\": \\\"http\\\", \\\"host\\\": \\\"seagull:9120\\\" }] }\" \\\n+    GATEKEEPER_SERVICE=\"{ \\\"type\\\": \\\"static\\\", \\\"hosts\\\": [{ \\\"protocol\\\": \\\"http\\\", \\\"host\\\": \\\"gatekeeper:9123\\\" }] }\" \\\n+# Container specific ENV\n+    HTTP_PORT=8009 \\\n+    DISCOVERY=\"{\\\"host\\\":\\\"hakken:8000\\\"}\" \\\n+    HTTPS_PORT=8010 HTTPS_CONFIG=\"{\\\"key\\\":\\\"sslKey.pem\\\",\\\"cert\\\":\\\"sslCert.pem\\\"}\"\n+\n+WORKDIR /app\n+\n+COPY package.json /app/package.json\n+RUN apk --no-cache add curl git \\\n+# Get the styx rules from the `tools` repo and modify them to suit our dev container environment\n+# TODO - change more services?\n+ && curl --remote-name https://raw.githubusercontent.com/tidepool-org/tools/master/styx_rules.json \\\n+ && sed -i -e 's/    \"localhost:[0-9]*\"/    \"*\"/' \\\n+           -e 's/localhost:8077/dataservices:8077/g' \\\n+           -e 's/localhost:8078/userservices:8078/g' \\\n+           -e 's/localhost:9107/shoreline:9107/g' \\\n+           -e 's/localhost:9119/message-api:9119/g' \\\n+           -e 's/localhost:9120/seagull:9120/g' \\\n+           -e 's/localhost:9122/jellyfish:9122/g' \\\n+           -e 's/localhost:9123/gatekeeper:9123/g' \\\n+           -e 's/localhost:9127/tide-whisperer:9127/g' \\\n+           -e 's/localhost:9157/hydrophone:9157/g' \\\n+           -e 's/localhost:9191/highwater:9191/g' \\\n+           styx_rules.json \\\n+# Also get the SSL certificates for HTTPS\n+ && curl --remote-name https://raw.githubusercontent.com/tidepool-org/tools/master/keys/sslCert.pem \\\n+ && curl --remote-name https://raw.githubusercontent.com/tidepool-org/tools/master/keys/sslKey.pem \\\n+ && yarn install \\","path":"Dockerfile","position":40,"original_position":40,"commit_id":"c5b5f108bf5db3f705c8a22ab32b8828581dfa3c","original_commit_id":"c5b5f108bf5db3f705c8a22ab32b8828581dfa3c","user":{"login":"darinkrauss","id":1224433,"avatar_url":"https://avatars0.githubusercontent.com/u/1224433?v=3","gravatar_id":"","url":"https://api.github.com/users/darinkrauss","html_url":"https://github.com/darinkrauss","followers_url":"https://api.github.com/users/darinkrauss/followers","following_url":"https://api.github.com/users/darinkrauss/following{/other_user}","gists_url":"https://api.github.com/users/darinkrauss/gists{/gist_id}","starred_url":"https://api.github.com/users/darinkrauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darinkrauss/subscriptions","organizations_url":"https://api.github.com/users/darinkrauss/orgs","repos_url":"https://api.github.com/users/darinkrauss/repos","events_url":"https://api.github.com/users/darinkrauss/events{/privacy}","received_events_url":"https://api.github.com/users/darinkrauss/received_events","type":"User","site_admin":false},"body":"`yarn` is fine for development.","created_at":"2017-05-31T00:16:11Z","updated_at":"2017-05-31T00:16:11Z","html_url":"https://github.com/tidepool-org/styx/pull/10#discussion_r119245914","pull_request_url":"https://api.github.com/repos/tidepool-org/styx/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/styx/pulls/comments/119245914"},"html":{"href":"https://github.com/tidepool-org/styx/pull/10#discussion_r119245914"},"pull_request":{"href":"https://api.github.com/repos/tidepool-org/styx/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/tidepool-org/styx/pulls/10","id":122836308,"html_url":"https://github.com/tidepool-org/styx/pull/10","diff_url":"https://github.com/tidepool-org/styx/pull/10.diff","patch_url":"https://github.com/tidepool-org/styx/pull/10.patch","issue_url":"https://api.github.com/repos/tidepool-org/styx/issues/10","number":10,"state":"open","locked":false,"title":"Add `Dockerfile` to add support for creation of a styx container","user":{"login":"pazaan","id":96943,"avatar_url":"https://avatars0.githubusercontent.com/u/96943?v=3","gravatar_id":"","url":"https://api.github.com/users/pazaan","html_url":"https://github.com/pazaan","followers_url":"https://api.github.com/users/pazaan/followers","following_url":"https://api.github.com/users/pazaan/following{/other_user}","gists_url":"https://api.github.com/users/pazaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pazaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pazaan/subscriptions","organizations_url":"https://api.github.com/users/pazaan/orgs","repos_url":"https://api.github.com/users/pazaan/repos","events_url":"https://api.github.com/users/pazaan/events{/privacy}","received_events_url":"https://api.github.com/users/pazaan/received_events","type":"User","site_admin":false},"body":"Initial version of Dockerfile published to https://hub.docker.com/r/tidepool/styx/\r\n\r\nAdd .dockerignore for smaller images.","created_at":"2017-05-29T06:45:41Z","updated_at":"2017-05-31T00:16:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7401ad86a420351f79c6b179577b618100b0a868","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tidepool-org/styx/pulls/10/commits","review_comments_url":"https://api.github.com/repos/tidepool-org/styx/pulls/10/comments","review_comment_url":"https://api.github.com/repos/tidepool-org/styx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tidepool-org/styx/issues/10/comments","statuses_url":"https://api.github.com/repos/tidepool-org/styx/statuses/c5b5f108bf5db3f705c8a22ab32b8828581dfa3c","head":{"label":"tidepool-org:pazaan/docker-for-all","ref":"pazaan/docker-for-all","sha":"c5b5f108bf5db3f705c8a22ab32b8828581dfa3c","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars2.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":15744757,"name":"styx","full_name":"tidepool-org/styx","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars2.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/styx","description":"The router service that sits between tidepool backend and the world. ","fork":false,"url":"https://api.github.com/repos/tidepool-org/styx","forks_url":"https://api.github.com/repos/tidepool-org/styx/forks","keys_url":"https://api.github.com/repos/tidepool-org/styx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/styx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/styx/teams","hooks_url":"https://api.github.com/repos/tidepool-org/styx/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/styx/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/styx/events","assignees_url":"https://api.github.com/repos/tidepool-org/styx/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/styx/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/styx/tags","blobs_url":"https://api.github.com/repos/tidepool-org/styx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/styx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/styx/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/styx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/styx/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/styx/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/styx/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/styx/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/styx/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/styx/subscription","commits_url":"https://api.github.com/repos/tidepool-org/styx/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/styx/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/styx/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/styx/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/styx/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/styx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/styx/merges","archive_url":"https://api.github.com/repos/tidepool-org/styx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/styx/downloads","issues_url":"https://api.github.com/repos/tidepool-org/styx/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/styx/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/styx/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/styx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/styx/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/styx/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/styx/deployments","created_at":"2014-01-08T18:52:47Z","updated_at":"2016-10-23T04:41:58Z","pushed_at":"2017-05-29T06:45:42Z","git_url":"git://github.com/tidepool-org/styx.git","ssh_url":"git@github.com:tidepool-org/styx.git","clone_url":"https://github.com/tidepool-org/styx.git","svn_url":"https://github.com/tidepool-org/styx","homepage":null,"size":48,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":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":3,"default_branch":"master"}},"base":{"label":"tidepool-org:master","ref":"master","sha":"e1d18d8706580bfb9dfbf12f822ee136492aec85","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars2.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":15744757,"name":"styx","full_name":"tidepool-org/styx","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars2.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/styx","description":"The router service that sits between tidepool backend and the world. ","fork":false,"url":"https://api.github.com/repos/tidepool-org/styx","forks_url":"https://api.github.com/repos/tidepool-org/styx/forks","keys_url":"https://api.github.com/repos/tidepool-org/styx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/styx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/styx/teams","hooks_url":"https://api.github.com/repos/tidepool-org/styx/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/styx/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/styx/events","assignees_url":"https://api.github.com/repos/tidepool-org/styx/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/styx/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/styx/tags","blobs_url":"https://api.github.com/repos/tidepool-org/styx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/styx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/styx/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/styx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/styx/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/styx/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/styx/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/styx/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/styx/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/styx/subscription","commits_url":"https://api.github.com/repos/tidepool-org/styx/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/styx/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/styx/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/styx/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/styx/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/styx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/styx/merges","archive_url":"https://api.github.com/repos/tidepool-org/styx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/styx/downloads","issues_url":"https://api.github.com/repos/tidepool-org/styx/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/styx/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/styx/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/styx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/styx/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/styx/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/styx/deployments","created_at":"2014-01-08T18:52:47Z","updated_at":"2016-10-23T04:41:58Z","pushed_at":"2017-05-29T06:45:42Z","git_url":"git://github.com/tidepool-org/styx.git","ssh_url":"git@github.com:tidepool-org/styx.git","clone_url":"https://github.com/tidepool-org/styx.git","svn_url":"https://github.com/tidepool-org/styx","homepage":null,"size":48,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":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":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/styx/pulls/10"},"html":{"href":"https://github.com/tidepool-org/styx/pull/10"},"issue":{"href":"https://api.github.com/repos/tidepool-org/styx/issues/10"},"comments":{"href":"https://api.github.com/repos/tidepool-org/styx/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/tidepool-org/styx/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/tidepool-org/styx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tidepool-org/styx/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/tidepool-org/styx/statuses/c5b5f108bf5db3f705c8a22ab32b8828581dfa3c"}}}}
{"actor":{"display_login":"darinkrauss"}}