{"action":"created","comment":{"url":"https://api.github.com/repos/kontena/kontena/pulls/comments/81006371","pull_request_review_id":2019178,"id":81006371,"diff_hunk":"@@ -48,19 +50,33 @@ services:\n       - kontena-server-mongodb:/data/db\n     networks:\n       - kontena\n+volumes:\n+  kontena-server-mongodb:\n networks:\n   kontena:\n     driver: bridge\n ```\n \n-**Step 2:** Run command `docker-compose up -d`\n+**Note!** `VAULT_KEY` & `VAULT_IV` should be random strings. They can be generated from bash:\n+\n+```\n+$ cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1\n+```\n+\n+**Note!** If you want to use a SSL certificate you can use the following command to obtain the correct value for `SSL_CERT`:","path":"docs/getting-started/installing/docker-compose.md","position":42,"original_position":42,"commit_id":"1d92e73836a9e2e31b27a5a002ab0abd94accf61","original_commit_id":"1d92e73836a9e2e31b27a5a002ab0abd94accf61","user":{"login":"jnummelin","id":3205505,"avatar_url":"https://avatars.githubusercontent.com/u/3205505?v=3","gravatar_id":"","url":"https://api.github.com/users/jnummelin","html_url":"https://github.com/jnummelin","followers_url":"https://api.github.com/users/jnummelin/followers","following_url":"https://api.github.com/users/jnummelin/following{/other_user}","gists_url":"https://api.github.com/users/jnummelin/gists{/gist_id}","starred_url":"https://api.github.com/users/jnummelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnummelin/subscriptions","organizations_url":"https://api.github.com/users/jnummelin/orgs","repos_url":"https://api.github.com/users/jnummelin/repos","events_url":"https://api.github.com/users/jnummelin/events{/privacy}","received_events_url":"https://api.github.com/users/jnummelin/received_events","type":"User","site_admin":false},"body":"Maybe add a note also how to easily create self-signed cert.\r\n```\r\nopenssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt\r\ncat certificate.crt privateKey.key > cert.pem\r\n```","created_at":"2016-09-28T20:11:51Z","updated_at":"2016-09-28T20:13:18Z","html_url":"https://github.com/kontena/kontena/pull/1049#discussion_r81006371","pull_request_url":"https://api.github.com/repos/kontena/kontena/pulls/1049","_links":{"self":{"href":"https://api.github.com/repos/kontena/kontena/pulls/comments/81006371"},"html":{"href":"https://github.com/kontena/kontena/pull/1049#discussion_r81006371"},"pull_request":{"href":"https://api.github.com/repos/kontena/kontena/pulls/1049"}}},"pull_request":{"url":"https://api.github.com/repos/kontena/kontena/pulls/1049","id":87191190,"html_url":"https://github.com/kontena/kontena/pull/1049","diff_url":"https://github.com/kontena/kontena/pull/1049.diff","patch_url":"https://github.com/kontena/kontena/pull/1049.patch","issue_url":"https://api.github.com/repos/kontena/kontena/issues/1049","number":1049,"state":"open","locked":false,"title":"Update Docker Compose installation guide","user":{"login":"nevalla","id":455844,"avatar_url":"https://avatars.githubusercontent.com/u/455844?v=3","gravatar_id":"","url":"https://api.github.com/users/nevalla","html_url":"https://github.com/nevalla","followers_url":"https://api.github.com/users/nevalla/followers","following_url":"https://api.github.com/users/nevalla/following{/other_user}","gists_url":"https://api.github.com/users/nevalla/gists{/gist_id}","starred_url":"https://api.github.com/users/nevalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nevalla/subscriptions","organizations_url":"https://api.github.com/users/nevalla/orgs","repos_url":"https://api.github.com/users/nevalla/repos","events_url":"https://api.github.com/users/nevalla/events{/privacy}","received_events_url":"https://api.github.com/users/nevalla/received_events","type":"User","site_admin":false},"body":"This PR will update and fix Docker Compose installation guide. The most relevant changes are:\r\n* fix SSL certificate configuration for Kontena Master\r\n* add `VAULT_KEY` and `VAULT_IV` environment variables\r\n* add notification about `--insecure-registry` option for Docker daemon\r\n* add missing `kontena-server-mongodb` volume\r\n\r\nFixes #1048 ","created_at":"2016-09-28T20:07:24Z","updated_at":"2016-09-28T20:13:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e196acf7f5b565fe32210c611801a936db373c42","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kontena/kontena/pulls/1049/commits","review_comments_url":"https://api.github.com/repos/kontena/kontena/pulls/1049/comments","review_comment_url":"https://api.github.com/repos/kontena/kontena/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kontena/kontena/issues/1049/comments","statuses_url":"https://api.github.com/repos/kontena/kontena/statuses/1d92e73836a9e2e31b27a5a002ab0abd94accf61","head":{"label":"kontena:docs/update_docker_compose_guide","ref":"docs/update_docker_compose_guide","sha":"1d92e73836a9e2e31b27a5a002ab0abd94accf61","user":{"login":"kontena","id":10419574,"avatar_url":"https://avatars.githubusercontent.com/u/10419574?v=3","gravatar_id":"","url":"https://api.github.com/users/kontena","html_url":"https://github.com/kontena","followers_url":"https://api.github.com/users/kontena/followers","following_url":"https://api.github.com/users/kontena/following{/other_user}","gists_url":"https://api.github.com/users/kontena/gists{/gist_id}","starred_url":"https://api.github.com/users/kontena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kontena/subscriptions","organizations_url":"https://api.github.com/users/kontena/orgs","repos_url":"https://api.github.com/users/kontena/repos","events_url":"https://api.github.com/users/kontena/events{/privacy}","received_events_url":"https://api.github.com/users/kontena/received_events","type":"Organization","site_admin":false},"repo":{"id":32689932,"name":"kontena","full_name":"kontena/kontena","owner":{"login":"kontena","id":10419574,"avatar_url":"https://avatars.githubusercontent.com/u/10419574?v=3","gravatar_id":"","url":"https://api.github.com/users/kontena","html_url":"https://github.com/kontena","followers_url":"https://api.github.com/users/kontena/followers","following_url":"https://api.github.com/users/kontena/following{/other_user}","gists_url":"https://api.github.com/users/kontena/gists{/gist_id}","starred_url":"https://api.github.com/users/kontena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kontena/subscriptions","organizations_url":"https://api.github.com/users/kontena/orgs","repos_url":"https://api.github.com/users/kontena/repos","events_url":"https://api.github.com/users/kontena/events{/privacy}","received_events_url":"https://api.github.com/users/kontena/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kontena/kontena","description":"The developer friendly container and micro services platform. Works on any cloud, easy to setup, simple to use.","fork":false,"url":"https://api.github.com/repos/kontena/kontena","forks_url":"https://api.github.com/repos/kontena/kontena/forks","keys_url":"https://api.github.com/repos/kontena/kontena/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kontena/kontena/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kontena/kontena/teams","hooks_url":"https://api.github.com/repos/kontena/kontena/hooks","issue_events_url":"https://api.github.com/repos/kontena/kontena/issues/events{/number}","events_url":"https://api.github.com/repos/kontena/kontena/events","assignees_url":"https://api.github.com/repos/kontena/kontena/assignees{/user}","branches_url":"https://api.github.com/repos/kontena/kontena/branches{/branch}","tags_url":"https://api.github.com/repos/kontena/kontena/tags","blobs_url":"https://api.github.com/repos/kontena/kontena/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kontena/kontena/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kontena/kontena/git/refs{/sha}","trees_url":"https://api.github.com/repos/kontena/kontena/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kontena/kontena/statuses/{sha}","languages_url":"https://api.github.com/repos/kontena/kontena/languages","stargazers_url":"https://api.github.com/repos/kontena/kontena/stargazers","contributors_url":"https://api.github.com/repos/kontena/kontena/contributors","subscribers_url":"https://api.github.com/repos/kontena/kontena/subscribers","subscription_url":"https://api.github.com/repos/kontena/kontena/subscription","commits_url":"https://api.github.com/repos/kontena/kontena/commits{/sha}","git_commits_url":"https://api.github.com/repos/kontena/kontena/git/commits{/sha}","comments_url":"https://api.github.com/repos/kontena/kontena/comments{/number}","issue_comment_url":"https://api.github.com/repos/kontena/kontena/issues/comments{/number}","contents_url":"https://api.github.com/repos/kontena/kontena/contents/{+path}","compare_url":"https://api.github.com/repos/kontena/kontena/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kontena/kontena/merges","archive_url":"https://api.github.com/repos/kontena/kontena/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kontena/kontena/downloads","issues_url":"https://api.github.com/repos/kontena/kontena/issues{/number}","pulls_url":"https://api.github.com/repos/kontena/kontena/pulls{/number}","milestones_url":"https://api.github.com/repos/kontena/kontena/milestones{/number}","notifications_url":"https://api.github.com/repos/kontena/kontena/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kontena/kontena/labels{/name}","releases_url":"https://api.github.com/repos/kontena/kontena/releases{/id}","deployments_url":"https://api.github.com/repos/kontena/kontena/deployments","created_at":"2015-03-22T18:52:32Z","updated_at":"2016-09-28T10:24:16Z","pushed_at":"2016-09-28T20:07:24Z","git_url":"git://github.com/kontena/kontena.git","ssh_url":"git@github.com:kontena/kontena.git","clone_url":"https://github.com/kontena/kontena.git","svn_url":"https://github.com/kontena/kontena","homepage":"http://www.kontena.io","size":4059,"stargazers_count":788,"watchers_count":788,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":134,"forks":67,"open_issues":134,"watchers":788,"default_branch":"master"}},"base":{"label":"kontena:master","ref":"master","sha":"03a1cf61fc70f821de2b6446409a267ca466bcc5","user":{"login":"kontena","id":10419574,"avatar_url":"https://avatars.githubusercontent.com/u/10419574?v=3","gravatar_id":"","url":"https://api.github.com/users/kontena","html_url":"https://github.com/kontena","followers_url":"https://api.github.com/users/kontena/followers","following_url":"https://api.github.com/users/kontena/following{/other_user}","gists_url":"https://api.github.com/users/kontena/gists{/gist_id}","starred_url":"https://api.github.com/users/kontena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kontena/subscriptions","organizations_url":"https://api.github.com/users/kontena/orgs","repos_url":"https://api.github.com/users/kontena/repos","events_url":"https://api.github.com/users/kontena/events{/privacy}","received_events_url":"https://api.github.com/users/kontena/received_events","type":"Organization","site_admin":false},"repo":{"id":32689932,"name":"kontena","full_name":"kontena/kontena","owner":{"login":"kontena","id":10419574,"avatar_url":"https://avatars.githubusercontent.com/u/10419574?v=3","gravatar_id":"","url":"https://api.github.com/users/kontena","html_url":"https://github.com/kontena","followers_url":"https://api.github.com/users/kontena/followers","following_url":"https://api.github.com/users/kontena/following{/other_user}","gists_url":"https://api.github.com/users/kontena/gists{/gist_id}","starred_url":"https://api.github.com/users/kontena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kontena/subscriptions","organizations_url":"https://api.github.com/users/kontena/orgs","repos_url":"https://api.github.com/users/kontena/repos","events_url":"https://api.github.com/users/kontena/events{/privacy}","received_events_url":"https://api.github.com/users/kontena/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kontena/kontena","description":"The developer friendly container and micro services platform. Works on any cloud, easy to setup, simple to use.","fork":false,"url":"https://api.github.com/repos/kontena/kontena","forks_url":"https://api.github.com/repos/kontena/kontena/forks","keys_url":"https://api.github.com/repos/kontena/kontena/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kontena/kontena/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kontena/kontena/teams","hooks_url":"https://api.github.com/repos/kontena/kontena/hooks","issue_events_url":"https://api.github.com/repos/kontena/kontena/issues/events{/number}","events_url":"https://api.github.com/repos/kontena/kontena/events","assignees_url":"https://api.github.com/repos/kontena/kontena/assignees{/user}","branches_url":"https://api.github.com/repos/kontena/kontena/branches{/branch}","tags_url":"https://api.github.com/repos/kontena/kontena/tags","blobs_url":"https://api.github.com/repos/kontena/kontena/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kontena/kontena/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kontena/kontena/git/refs{/sha}","trees_url":"https://api.github.com/repos/kontena/kontena/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kontena/kontena/statuses/{sha}","languages_url":"https://api.github.com/repos/kontena/kontena/languages","stargazers_url":"https://api.github.com/repos/kontena/kontena/stargazers","contributors_url":"https://api.github.com/repos/kontena/kontena/contributors","subscribers_url":"https://api.github.com/repos/kontena/kontena/subscribers","subscription_url":"https://api.github.com/repos/kontena/kontena/subscription","commits_url":"https://api.github.com/repos/kontena/kontena/commits{/sha}","git_commits_url":"https://api.github.com/repos/kontena/kontena/git/commits{/sha}","comments_url":"https://api.github.com/repos/kontena/kontena/comments{/number}","issue_comment_url":"https://api.github.com/repos/kontena/kontena/issues/comments{/number}","contents_url":"https://api.github.com/repos/kontena/kontena/contents/{+path}","compare_url":"https://api.github.com/repos/kontena/kontena/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kontena/kontena/merges","archive_url":"https://api.github.com/repos/kontena/kontena/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kontena/kontena/downloads","issues_url":"https://api.github.com/repos/kontena/kontena/issues{/number}","pulls_url":"https://api.github.com/repos/kontena/kontena/pulls{/number}","milestones_url":"https://api.github.com/repos/kontena/kontena/milestones{/number}","notifications_url":"https://api.github.com/repos/kontena/kontena/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kontena/kontena/labels{/name}","releases_url":"https://api.github.com/repos/kontena/kontena/releases{/id}","deployments_url":"https://api.github.com/repos/kontena/kontena/deployments","created_at":"2015-03-22T18:52:32Z","updated_at":"2016-09-28T10:24:16Z","pushed_at":"2016-09-28T20:07:24Z","git_url":"git://github.com/kontena/kontena.git","ssh_url":"git@github.com:kontena/kontena.git","clone_url":"https://github.com/kontena/kontena.git","svn_url":"https://github.com/kontena/kontena","homepage":"http://www.kontena.io","size":4059,"stargazers_count":788,"watchers_count":788,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":134,"forks":67,"open_issues":134,"watchers":788,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kontena/kontena/pulls/1049"},"html":{"href":"https://github.com/kontena/kontena/pull/1049"},"issue":{"href":"https://api.github.com/repos/kontena/kontena/issues/1049"},"comments":{"href":"https://api.github.com/repos/kontena/kontena/issues/1049/comments"},"review_comments":{"href":"https://api.github.com/repos/kontena/kontena/pulls/1049/comments"},"review_comment":{"href":"https://api.github.com/repos/kontena/kontena/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kontena/kontena/pulls/1049/commits"},"statuses":{"href":"https://api.github.com/repos/kontena/kontena/statuses/1d92e73836a9e2e31b27a5a002ab0abd94accf61"}}}}
{"actor":{"display_login":"jnummelin"}}