{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls/12","id":212496040,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNDk2MDQw","html_url":"https://github.com/AlexGaspar/docker-fbctf/pull/12","diff_url":"https://github.com/AlexGaspar/docker-fbctf/pull/12.diff","patch_url":"https://github.com/AlexGaspar/docker-fbctf/pull/12.patch","issue_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/issues/12","number":12,"state":"open","locked":false,"title":"(Feat): Resolves Issue #11","user":{"login":"denzuko","id":19776,"node_id":"MDQ6VXNlcjE5Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/19776?v=4","gravatar_id":"","url":"https://api.github.com/users/denzuko","html_url":"https://github.com/denzuko","followers_url":"https://api.github.com/users/denzuko/followers","following_url":"https://api.github.com/users/denzuko/following{/other_user}","gists_url":"https://api.github.com/users/denzuko/gists{/gist_id}","starred_url":"https://api.github.com/users/denzuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denzuko/subscriptions","organizations_url":"https://api.github.com/users/denzuko/orgs","repos_url":"https://api.github.com/users/denzuko/repos","events_url":"https://api.github.com/users/denzuko/events{/privacy}","received_events_url":"https://api.github.com/users/denzuko/received_events","type":"User","site_admin":false},"body":"Implements #11 \r\n\r\nRequires the following env variables to be set at deployment:\r\n|||\r\n|-|-|\r\n|VIRTUAL_HOST| (domain)  - Top level domain of the virtual host|\r\n|MYSQL_USER| (string) - User created for fbctf |\r\n|MYSQL_ROOT_PASSWORD| (string) random string for mysql root user password |\r\n|MYSQL_PASSWORD| (string) random string for mysql root user password |\r\n\r\nIf one hits the swarm cluster master with the following host names they will get additional services:\r\n\r\n|||\r\n|-|-|\r\n|scaler.$(VIRTUAL_HOST)|autoscaler rest service that uses POST to scale up or down from one's monitoring system or curl|\r\n|traefik.$(VIRTUAL_HOST)|dashboard for seeing routing and metrics|\r\n|dbpanel.$(VIRTUAL_HOST)|admin panel for mysql|\r\n|$(VIRTUAL_HOST) or www.$(VIRTUAL_HOST)| the FB CTF service |","created_at":"2018-08-31T21:17:25Z","updated_at":"2018-08-31T21:17:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls/12/commits","review_comments_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls/12/comments","review_comment_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/issues/12/comments","statuses_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/statuses/bf05bb278a1c1df7dd4475f326f532940913f735","head":{"label":"denzuko:patch-2","ref":"patch-2","sha":"bf05bb278a1c1df7dd4475f326f532940913f735","user":{"login":"denzuko","id":19776,"node_id":"MDQ6VXNlcjE5Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/19776?v=4","gravatar_id":"","url":"https://api.github.com/users/denzuko","html_url":"https://github.com/denzuko","followers_url":"https://api.github.com/users/denzuko/followers","following_url":"https://api.github.com/users/denzuko/following{/other_user}","gists_url":"https://api.github.com/users/denzuko/gists{/gist_id}","starred_url":"https://api.github.com/users/denzuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denzuko/subscriptions","organizations_url":"https://api.github.com/users/denzuko/orgs","repos_url":"https://api.github.com/users/denzuko/repos","events_url":"https://api.github.com/users/denzuko/events{/privacy}","received_events_url":"https://api.github.com/users/denzuko/received_events","type":"User","site_admin":false},"repo":{"id":146940701,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5NDA3MDE=","name":"docker-fbctf","full_name":"denzuko/docker-fbctf","owner":{"login":"denzuko","id":19776,"node_id":"MDQ6VXNlcjE5Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/19776?v=4","gravatar_id":"","url":"https://api.github.com/users/denzuko","html_url":"https://github.com/denzuko","followers_url":"https://api.github.com/users/denzuko/followers","following_url":"https://api.github.com/users/denzuko/following{/other_user}","gists_url":"https://api.github.com/users/denzuko/gists{/gist_id}","starred_url":"https://api.github.com/users/denzuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denzuko/subscriptions","organizations_url":"https://api.github.com/users/denzuko/orgs","repos_url":"https://api.github.com/users/denzuko/repos","events_url":"https://api.github.com/users/denzuko/events{/privacy}","received_events_url":"https://api.github.com/users/denzuko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denzuko/docker-fbctf","description":"Dockerized fbctf https://github.com/facebook/fbctf","fork":true,"url":"https://api.github.com/repos/denzuko/docker-fbctf","forks_url":"https://api.github.com/repos/denzuko/docker-fbctf/forks","keys_url":"https://api.github.com/repos/denzuko/docker-fbctf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denzuko/docker-fbctf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denzuko/docker-fbctf/teams","hooks_url":"https://api.github.com/repos/denzuko/docker-fbctf/hooks","issue_events_url":"https://api.github.com/repos/denzuko/docker-fbctf/issues/events{/number}","events_url":"https://api.github.com/repos/denzuko/docker-fbctf/events","assignees_url":"https://api.github.com/repos/denzuko/docker-fbctf/assignees{/user}","branches_url":"https://api.github.com/repos/denzuko/docker-fbctf/branches{/branch}","tags_url":"https://api.github.com/repos/denzuko/docker-fbctf/tags","blobs_url":"https://api.github.com/repos/denzuko/docker-fbctf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denzuko/docker-fbctf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denzuko/docker-fbctf/git/refs{/sha}","trees_url":"https://api.github.com/repos/denzuko/docker-fbctf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denzuko/docker-fbctf/statuses/{sha}","languages_url":"https://api.github.com/repos/denzuko/docker-fbctf/languages","stargazers_url":"https://api.github.com/repos/denzuko/docker-fbctf/stargazers","contributors_url":"https://api.github.com/repos/denzuko/docker-fbctf/contributors","subscribers_url":"https://api.github.com/repos/denzuko/docker-fbctf/subscribers","subscription_url":"https://api.github.com/repos/denzuko/docker-fbctf/subscription","commits_url":"https://api.github.com/repos/denzuko/docker-fbctf/commits{/sha}","git_commits_url":"https://api.github.com/repos/denzuko/docker-fbctf/git/commits{/sha}","comments_url":"https://api.github.com/repos/denzuko/docker-fbctf/comments{/number}","issue_comment_url":"https://api.github.com/repos/denzuko/docker-fbctf/issues/comments{/number}","contents_url":"https://api.github.com/repos/denzuko/docker-fbctf/contents/{+path}","compare_url":"https://api.github.com/repos/denzuko/docker-fbctf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denzuko/docker-fbctf/merges","archive_url":"https://api.github.com/repos/denzuko/docker-fbctf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denzuko/docker-fbctf/downloads","issues_url":"https://api.github.com/repos/denzuko/docker-fbctf/issues{/number}","pulls_url":"https://api.github.com/repos/denzuko/docker-fbctf/pulls{/number}","milestones_url":"https://api.github.com/repos/denzuko/docker-fbctf/milestones{/number}","notifications_url":"https://api.github.com/repos/denzuko/docker-fbctf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denzuko/docker-fbctf/labels{/name}","releases_url":"https://api.github.com/repos/denzuko/docker-fbctf/releases{/id}","deployments_url":"https://api.github.com/repos/denzuko/docker-fbctf/deployments","created_at":"2018-08-31T20:44:16Z","updated_at":"2018-08-31T20:44:19Z","pushed_at":"2018-08-31T21:16:21Z","git_url":"git://github.com/denzuko/docker-fbctf.git","ssh_url":"git@github.com:denzuko/docker-fbctf.git","clone_url":"https://github.com/denzuko/docker-fbctf.git","svn_url":"https://github.com/denzuko/docker-fbctf","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AlexGaspar:master","ref":"master","sha":"1325d7a0769e7ed08935374da7820f43538b9a53","user":{"login":"AlexGaspar","id":2635915,"node_id":"MDQ6VXNlcjI2MzU5MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/2635915?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexGaspar","html_url":"https://github.com/AlexGaspar","followers_url":"https://api.github.com/users/AlexGaspar/followers","following_url":"https://api.github.com/users/AlexGaspar/following{/other_user}","gists_url":"https://api.github.com/users/AlexGaspar/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexGaspar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexGaspar/subscriptions","organizations_url":"https://api.github.com/users/AlexGaspar/orgs","repos_url":"https://api.github.com/users/AlexGaspar/repos","events_url":"https://api.github.com/users/AlexGaspar/events{/privacy}","received_events_url":"https://api.github.com/users/AlexGaspar/received_events","type":"User","site_admin":false},"repo":{"id":58711240,"node_id":"MDEwOlJlcG9zaXRvcnk1ODcxMTI0MA==","name":"docker-fbctf","full_name":"AlexGaspar/docker-fbctf","owner":{"login":"AlexGaspar","id":2635915,"node_id":"MDQ6VXNlcjI2MzU5MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/2635915?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexGaspar","html_url":"https://github.com/AlexGaspar","followers_url":"https://api.github.com/users/AlexGaspar/followers","following_url":"https://api.github.com/users/AlexGaspar/following{/other_user}","gists_url":"https://api.github.com/users/AlexGaspar/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexGaspar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexGaspar/subscriptions","organizations_url":"https://api.github.com/users/AlexGaspar/orgs","repos_url":"https://api.github.com/users/AlexGaspar/repos","events_url":"https://api.github.com/users/AlexGaspar/events{/privacy}","received_events_url":"https://api.github.com/users/AlexGaspar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexGaspar/docker-fbctf","description":"Dockerized fbctf https://github.com/facebook/fbctf","fork":false,"url":"https://api.github.com/repos/AlexGaspar/docker-fbctf","forks_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/forks","keys_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/teams","hooks_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/hooks","issue_events_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/issues/events{/number}","events_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/events","assignees_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/assignees{/user}","branches_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/branches{/branch}","tags_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/tags","blobs_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/languages","stargazers_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/stargazers","contributors_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/contributors","subscribers_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/subscribers","subscription_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/subscription","commits_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/contents/{+path}","compare_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/merges","archive_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/downloads","issues_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/issues{/number}","pulls_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/labels{/name}","releases_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/releases{/id}","deployments_url":"https://api.github.com/repos/AlexGaspar/docker-fbctf/deployments","created_at":"2016-05-13T07:14:08Z","updated_at":"2018-05-25T03:03:00Z","pushed_at":"2018-08-31T20:51:09Z","git_url":"git://github.com/AlexGaspar/docker-fbctf.git","ssh_url":"git@github.com:AlexGaspar/docker-fbctf.git","clone_url":"https://github.com/AlexGaspar/docker-fbctf.git","svn_url":"https://github.com/AlexGaspar/docker-fbctf","homepage":null,"size":16,"stargazers_count":16,"watchers_count":16,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":9,"open_issues":7,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls/12"},"html":{"href":"https://github.com/AlexGaspar/docker-fbctf/pull/12"},"issue":{"href":"https://api.github.com/repos/AlexGaspar/docker-fbctf/issues/12"},"comments":{"href":"https://api.github.com/repos/AlexGaspar/docker-fbctf/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexGaspar/docker-fbctf/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/AlexGaspar/docker-fbctf/statuses/bf05bb278a1c1df7dd4475f326f532940913f735"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":228,"deletions":28,"changed_files":1}}
{"actor":{"display_login":"denzuko"}}