{"action":"created","comment":{"url":"https://api.github.com/repos/crate/guide/pulls/comments/167876098","pull_request_review_id":96154156,"id":167876098,"diff_hunk":"@@ -142,7 +144,43 @@ and connect to three hosts named ``crate01``, ``crate02``, and ``crate03``\n         --net=crate crate \\\n         crash --hosts crate01 crate02 crate03\n \n-Production Use\n+Docker Compose\n+==============\n+\n+Docker's `Compose <https://docs.docker.com/compose/>`_ tool allows developers\n+to configure complex Docker-based applications that can then be started with\n+one ``docker-compose up`` command.\n+\n+Read about Docker Compose specifics `here <https://docs.docker.com/compose/>`_.\n+In this example we will start a node.js container that connects to a two\n+instance CrateDB cluster.\n+\n+.. code-block:: yaml\n+\n+    crate-1:\n+      image: crate\n+      ports:\n+        - \"4200:4200\"\n+        - \"5432:5432\"\n+      volumes:\n+        - /mnt/data/crate:/data\n+      environment:\n+        CRATE_HEAP_SIZE: 16g\n+      command: crate -Cnode.name=crate-1\n+    node:\n+      build: .\n+      ports:\n+        - \"8000:8000\"\n+      links:\n+        - crate\n+\n+Here we create one CrateDB instance with the ports manually allocated, a shared\n+file system volume, an environment variable set for the heap size and override\n+the default CrateDB command to give the cluster a name and a config file. We","path":"docs/deployment/containers/docker.txt","position":null,"original_position":53,"commit_id":"501de0d797ebd3ae24c4e28a80110b9783cbb11a","original_commit_id":"d32fe0f823ce0dd42e3ad88a1a53d704f974dc09","user":{"login":"chaudum","id":281260,"avatar_url":"https://avatars0.githubusercontent.com/u/281260?v=4","gravatar_id":"","url":"https://api.github.com/users/chaudum","html_url":"https://github.com/chaudum","followers_url":"https://api.github.com/users/chaudum/followers","following_url":"https://api.github.com/users/chaudum/following{/other_user}","gists_url":"https://api.github.com/users/chaudum/gists{/gist_id}","starred_url":"https://api.github.com/users/chaudum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaudum/subscriptions","organizations_url":"https://api.github.com/users/chaudum/orgs","repos_url":"https://api.github.com/users/chaudum/repos","events_url":"https://api.github.com/users/chaudum/events{/privacy}","received_events_url":"https://api.github.com/users/chaudum/received_events","type":"User","site_admin":false},"body":"to give the node a distinct name.","created_at":"2018-02-13T14:15:51Z","updated_at":"2018-02-13T14:16:11Z","html_url":"https://github.com/crate/guide/pull/80#discussion_r167876098","pull_request_url":"https://api.github.com/repos/crate/guide/pulls/80","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/crate/guide/pulls/comments/167876098"},"html":{"href":"https://github.com/crate/guide/pull/80#discussion_r167876098"},"pull_request":{"href":"https://api.github.com/repos/crate/guide/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/crate/guide/pulls/80","id":168294997,"html_url":"https://github.com/crate/guide/pull/80","diff_url":"https://github.com/crate/guide/pull/80.diff","patch_url":"https://github.com/crate/guide/pull/80.patch","issue_url":"https://api.github.com/repos/crate/guide/issues/80","number":80,"state":"open","locked":false,"title":"merge in Docker compose docs","user":{"login":"nslater","id":23469,"avatar_url":"https://avatars0.githubusercontent.com/u/23469?v=4","gravatar_id":"","url":"https://api.github.com/users/nslater","html_url":"https://github.com/nslater","followers_url":"https://api.github.com/users/nslater/followers","following_url":"https://api.github.com/users/nslater/following{/other_user}","gists_url":"https://api.github.com/users/nslater/gists{/gist_id}","starred_url":"https://api.github.com/users/nslater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nslater/subscriptions","organizations_url":"https://api.github.com/users/nslater/orgs","repos_url":"https://api.github.com/users/nslater/repos","events_url":"https://api.github.com/users/nslater/events{/privacy}","received_events_url":"https://api.github.com/users/nslater/received_events","type":"User","site_admin":false},"body":"merging in docs removed in crate/getting-started/pull/29","created_at":"2018-02-09T17:12:39Z","updated_at":"2018-02-13T14:16:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54a97801f6fc6a6005dea270e74a16c7d671e3dd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/crate/guide/pulls/80/commits","review_comments_url":"https://api.github.com/repos/crate/guide/pulls/80/comments","review_comment_url":"https://api.github.com/repos/crate/guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crate/guide/issues/80/comments","statuses_url":"https://api.github.com/repos/crate/guide/statuses/501de0d797ebd3ae24c4e28a80110b9783cbb11a","head":{"label":"crate:nomi/merge-docker-compose","ref":"nomi/merge-docker-compose","sha":"501de0d797ebd3ae24c4e28a80110b9783cbb11a","user":{"login":"crate","id":4048232,"avatar_url":"https://avatars3.githubusercontent.com/u/4048232?v=4","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"repo":{"id":94529693,"name":"guide","full_name":"crate/guide","owner":{"login":"crate","id":4048232,"avatar_url":"https://avatars3.githubusercontent.com/u/4048232?v=4","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crate/guide","description":"A collection of auxiliary documentation for CrateDB","fork":false,"url":"https://api.github.com/repos/crate/guide","forks_url":"https://api.github.com/repos/crate/guide/forks","keys_url":"https://api.github.com/repos/crate/guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crate/guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crate/guide/teams","hooks_url":"https://api.github.com/repos/crate/guide/hooks","issue_events_url":"https://api.github.com/repos/crate/guide/issues/events{/number}","events_url":"https://api.github.com/repos/crate/guide/events","assignees_url":"https://api.github.com/repos/crate/guide/assignees{/user}","branches_url":"https://api.github.com/repos/crate/guide/branches{/branch}","tags_url":"https://api.github.com/repos/crate/guide/tags","blobs_url":"https://api.github.com/repos/crate/guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crate/guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crate/guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/crate/guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crate/guide/statuses/{sha}","languages_url":"https://api.github.com/repos/crate/guide/languages","stargazers_url":"https://api.github.com/repos/crate/guide/stargazers","contributors_url":"https://api.github.com/repos/crate/guide/contributors","subscribers_url":"https://api.github.com/repos/crate/guide/subscribers","subscription_url":"https://api.github.com/repos/crate/guide/subscription","commits_url":"https://api.github.com/repos/crate/guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/crate/guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/crate/guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/crate/guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/crate/guide/contents/{+path}","compare_url":"https://api.github.com/repos/crate/guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crate/guide/merges","archive_url":"https://api.github.com/repos/crate/guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crate/guide/downloads","issues_url":"https://api.github.com/repos/crate/guide/issues{/number}","pulls_url":"https://api.github.com/repos/crate/guide/pulls{/number}","milestones_url":"https://api.github.com/repos/crate/guide/milestones{/number}","notifications_url":"https://api.github.com/repos/crate/guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crate/guide/labels{/name}","releases_url":"https://api.github.com/repos/crate/guide/releases{/id}","deployments_url":"https://api.github.com/repos/crate/guide/deployments","created_at":"2017-06-16T09:41:35Z","updated_at":"2017-06-28T13:39:14Z","pushed_at":"2018-02-13T14:14:14Z","git_url":"git://github.com/crate/guide.git","ssh_url":"git@github.com:crate/guide.git","clone_url":"https://github.com/crate/guide.git","svn_url":"https://github.com/crate/guide","homepage":"","size":6815,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"ecl-2.0","name":"Educational Community License v2.0","spdx_id":"ECL-2.0","url":"https://api.github.com/licenses/ecl-2.0"},"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"crate:master","ref":"master","sha":"7e7361de1eac7f70121a8c110dc45dd9292941f8","user":{"login":"crate","id":4048232,"avatar_url":"https://avatars3.githubusercontent.com/u/4048232?v=4","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"repo":{"id":94529693,"name":"guide","full_name":"crate/guide","owner":{"login":"crate","id":4048232,"avatar_url":"https://avatars3.githubusercontent.com/u/4048232?v=4","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crate/guide","description":"A collection of auxiliary documentation for CrateDB","fork":false,"url":"https://api.github.com/repos/crate/guide","forks_url":"https://api.github.com/repos/crate/guide/forks","keys_url":"https://api.github.com/repos/crate/guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crate/guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crate/guide/teams","hooks_url":"https://api.github.com/repos/crate/guide/hooks","issue_events_url":"https://api.github.com/repos/crate/guide/issues/events{/number}","events_url":"https://api.github.com/repos/crate/guide/events","assignees_url":"https://api.github.com/repos/crate/guide/assignees{/user}","branches_url":"https://api.github.com/repos/crate/guide/branches{/branch}","tags_url":"https://api.github.com/repos/crate/guide/tags","blobs_url":"https://api.github.com/repos/crate/guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crate/guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crate/guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/crate/guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crate/guide/statuses/{sha}","languages_url":"https://api.github.com/repos/crate/guide/languages","stargazers_url":"https://api.github.com/repos/crate/guide/stargazers","contributors_url":"https://api.github.com/repos/crate/guide/contributors","subscribers_url":"https://api.github.com/repos/crate/guide/subscribers","subscription_url":"https://api.github.com/repos/crate/guide/subscription","commits_url":"https://api.github.com/repos/crate/guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/crate/guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/crate/guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/crate/guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/crate/guide/contents/{+path}","compare_url":"https://api.github.com/repos/crate/guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crate/guide/merges","archive_url":"https://api.github.com/repos/crate/guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crate/guide/downloads","issues_url":"https://api.github.com/repos/crate/guide/issues{/number}","pulls_url":"https://api.github.com/repos/crate/guide/pulls{/number}","milestones_url":"https://api.github.com/repos/crate/guide/milestones{/number}","notifications_url":"https://api.github.com/repos/crate/guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crate/guide/labels{/name}","releases_url":"https://api.github.com/repos/crate/guide/releases{/id}","deployments_url":"https://api.github.com/repos/crate/guide/deployments","created_at":"2017-06-16T09:41:35Z","updated_at":"2017-06-28T13:39:14Z","pushed_at":"2018-02-13T14:14:14Z","git_url":"git://github.com/crate/guide.git","ssh_url":"git@github.com:crate/guide.git","clone_url":"https://github.com/crate/guide.git","svn_url":"https://github.com/crate/guide","homepage":"","size":6815,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"ecl-2.0","name":"Educational Community License v2.0","spdx_id":"ECL-2.0","url":"https://api.github.com/licenses/ecl-2.0"},"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crate/guide/pulls/80"},"html":{"href":"https://github.com/crate/guide/pull/80"},"issue":{"href":"https://api.github.com/repos/crate/guide/issues/80"},"comments":{"href":"https://api.github.com/repos/crate/guide/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/crate/guide/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/crate/guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crate/guide/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/crate/guide/statuses/501de0d797ebd3ae24c4e28a80110b9783cbb11a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chaudum"}}