{"action":"created","comment":{"url":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/comments/57900523","id":57900523,"diff_hunk":"@@ -1,93 +1,100 @@\n-## InfluxDB\n+# InfluxDB\n \n-InfluxDB is a time series database built from the ground up to handle high write and query loads. InfluxDB is meant to be used as a backing store for any use case involving large amounts of timestamped data, including DevOps monitoring, application metrics, IoT sensor data, and real-time analytics.\n+InfluxDB is a time series database built from the ground up to handle\n+high write and query loads. InfluxDB is meant to be used as a backing\n+store for any use case involving large amounts of timestamped data,\n+including DevOps monitoring, application metrics, IoT sensor data, and\n+real-time analytics.\n \n-[InfluxDB Documentation](https://docs.influxdata.com/influxdb/v0.10/)\n+[InfluxDB Documentation](https://docs.influxdata.com/influxdb/latest/)\n \n-## Using this image\n+## Using this Image\n \n-##### Exposed Ports\n+### Running the container\n \n--\t8083 Admin interface port\n--\t8086 HTTP API PORT\n--\t8088 & 8091 Internal Communication ports\n-\n-Find more about API Endpoints & Ports [here](https://docs.influxdata.com/influxdb/v0.10/concepts/api/).\n+    docker run -p 8083:8083 -p 8086:8086 influxdb\n \n-##### Using one of the published ports\n+### Exposed Ports\n \n-\tdocker run -i -p 8083:8083 -p 8086:8086  influxdb \n+The following ports are important and will be automatically exposed when\n+using `docker run -P`.\n \n-##### Supplying a config file available on the host machine\n-\n-\tdocker run -i -p 8083:8083 -p 8086:8086 -v /some/host/path:/path/on/container influxdb -config /path/on/container/temp.conf\n+-\t8083 Admin interface port\n+-\t8086 HTTP API PORT\n \n-Find more about configuring InfluxDB [here](https://docs.influxdata.com/influxdb/v0.10/introduction/installation/)\n+Other important ports that aren't exposed by default:\n \n-##### Example usage of the image created the way described above\n+- 8091 Meta service port\n+- 8088 Clustering (raft) port\n \n-###### HTTP API\n+These two ports do not need to be exposed in a single server\n+configuration.\n \n-Creating a DB named mydb\n+Find more about API Endpoints & Ports [here](https://docs.influxdata.com/influxdb/latest/concepts/api/).\n \n-\tcurl -G http://localhost:8086/query --data-urlencode \"q=CREATE DATABASE mydb\"\n+### Configuration\n \n-Inserting in the DB\n+InfluxDB can be either configured from a config file or using\n+environment variables. To mount a configuration file and use it with the\n+server, you can use this command:\n \n-\tcurl -i -XPOST 'http://localhost:8086/write?db=mydb' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'\n+    influxdb config > $PWD/influxdb.conf","path":"Readme.md","position":63,"original_position":63,"commit_id":"cac170ab1f97066b256dd7893170acc484617e99","original_commit_id":"cac170ab1f97066b256dd7893170acc484617e99","user":{"login":"jsternberg","id":1212129,"avatar_url":"https://avatars.githubusercontent.com/u/1212129?v=3","gravatar_id":"","url":"https://api.github.com/users/jsternberg","html_url":"https://github.com/jsternberg","followers_url":"https://api.github.com/users/jsternberg/followers","following_url":"https://api.github.com/users/jsternberg/following{/other_user}","gists_url":"https://api.github.com/users/jsternberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsternberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsternberg/subscriptions","organizations_url":"https://api.github.com/users/jsternberg/orgs","repos_url":"https://api.github.com/users/jsternberg/repos","events_url":"https://api.github.com/users/jsternberg/events{/privacy}","received_events_url":"https://api.github.com/users/jsternberg/received_events","type":"User","site_admin":false},"body":"Yes. I also should modify it so it uses the container. Docker stuff usually assumes the person doesn't have it installed locally.","created_at":"2016-03-30T14:43:37Z","updated_at":"2016-03-30T14:43:37Z","html_url":"https://github.com/influxdata/influxdb-docker/pull/1#discussion_r57900523","pull_request_url":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/comments/57900523"},"html":{"href":"https://github.com/influxdata/influxdb-docker/pull/1#discussion_r57900523"},"pull_request":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/1","id":64638420,"html_url":"https://github.com/influxdata/influxdb-docker/pull/1","diff_url":"https://github.com/influxdata/influxdb-docker/pull/1.diff","patch_url":"https://github.com/influxdata/influxdb-docker/pull/1.patch","issue_url":"https://api.github.com/repos/influxdata/influxdb-docker/issues/1","number":1,"state":"open","locked":false,"title":"Update influxdb docker image configuration","user":{"login":"jsternberg","id":1212129,"avatar_url":"https://avatars.githubusercontent.com/u/1212129?v=3","gravatar_id":"","url":"https://api.github.com/users/jsternberg","html_url":"https://github.com/jsternberg","followers_url":"https://api.github.com/users/jsternberg/followers","following_url":"https://api.github.com/users/jsternberg/following{/other_user}","gists_url":"https://api.github.com/users/jsternberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsternberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsternberg/subscriptions","organizations_url":"https://api.github.com/users/jsternberg/orgs","repos_url":"https://api.github.com/users/jsternberg/repos","events_url":"https://api.github.com/users/jsternberg/events{/privacy}","received_events_url":"https://api.github.com/users/jsternberg/received_events","type":"User","site_admin":false},"body":"InfluxDB package is now installed from an S3 bucket instead of APT. Our apt\nrepository currently doesn't support keeping older versions, so the only\nway to produce reproducible builds at the moment is to download directly\nfrom S3.\n\nAdd volume and environment variables specifying where to store data. This\nis so a person can keep persistent data using docker volumes.\n\nVersion 0.11 has been added so we can now build both 0.10.3 and 0.11.0.\n\nDocumentation has been updated.","created_at":"2016-03-30T14:39:31Z","updated_at":"2016-03-30T14:43:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6b8b99f5868b266711942318b1629d5e6507b93","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/1/commits","review_comments_url":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/1/comments","review_comment_url":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/influxdb-docker/issues/1/comments","statuses_url":"https://api.github.com/repos/influxdata/influxdb-docker/statuses/cac170ab1f97066b256dd7893170acc484617e99","head":{"label":"jsternberg:master","ref":"master","sha":"cac170ab1f97066b256dd7893170acc484617e99","user":{"login":"jsternberg","id":1212129,"avatar_url":"https://avatars.githubusercontent.com/u/1212129?v=3","gravatar_id":"","url":"https://api.github.com/users/jsternberg","html_url":"https://github.com/jsternberg","followers_url":"https://api.github.com/users/jsternberg/followers","following_url":"https://api.github.com/users/jsternberg/following{/other_user}","gists_url":"https://api.github.com/users/jsternberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsternberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsternberg/subscriptions","organizations_url":"https://api.github.com/users/jsternberg/orgs","repos_url":"https://api.github.com/users/jsternberg/repos","events_url":"https://api.github.com/users/jsternberg/events{/privacy}","received_events_url":"https://api.github.com/users/jsternberg/received_events","type":"User","site_admin":false},"repo":{"id":55066250,"name":"influxdb-docker","full_name":"jsternberg/influxdb-docker","owner":{"login":"jsternberg","id":1212129,"avatar_url":"https://avatars.githubusercontent.com/u/1212129?v=3","gravatar_id":"","url":"https://api.github.com/users/jsternberg","html_url":"https://github.com/jsternberg","followers_url":"https://api.github.com/users/jsternberg/followers","following_url":"https://api.github.com/users/jsternberg/following{/other_user}","gists_url":"https://api.github.com/users/jsternberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsternberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsternberg/subscriptions","organizations_url":"https://api.github.com/users/jsternberg/orgs","repos_url":"https://api.github.com/users/jsternberg/repos","events_url":"https://api.github.com/users/jsternberg/events{/privacy}","received_events_url":"https://api.github.com/users/jsternberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsternberg/influxdb-docker","description":"Repository for officially supported InfluxData builds","fork":true,"url":"https://api.github.com/repos/jsternberg/influxdb-docker","forks_url":"https://api.github.com/repos/jsternberg/influxdb-docker/forks","keys_url":"https://api.github.com/repos/jsternberg/influxdb-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsternberg/influxdb-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsternberg/influxdb-docker/teams","hooks_url":"https://api.github.com/repos/jsternberg/influxdb-docker/hooks","issue_events_url":"https://api.github.com/repos/jsternberg/influxdb-docker/issues/events{/number}","events_url":"https://api.github.com/repos/jsternberg/influxdb-docker/events","assignees_url":"https://api.github.com/repos/jsternberg/influxdb-docker/assignees{/user}","branches_url":"https://api.github.com/repos/jsternberg/influxdb-docker/branches{/branch}","tags_url":"https://api.github.com/repos/jsternberg/influxdb-docker/tags","blobs_url":"https://api.github.com/repos/jsternberg/influxdb-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsternberg/influxdb-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsternberg/influxdb-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsternberg/influxdb-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsternberg/influxdb-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/jsternberg/influxdb-docker/languages","stargazers_url":"https://api.github.com/repos/jsternberg/influxdb-docker/stargazers","contributors_url":"https://api.github.com/repos/jsternberg/influxdb-docker/contributors","subscribers_url":"https://api.github.com/repos/jsternberg/influxdb-docker/subscribers","subscription_url":"https://api.github.com/repos/jsternberg/influxdb-docker/subscription","commits_url":"https://api.github.com/repos/jsternberg/influxdb-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsternberg/influxdb-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsternberg/influxdb-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsternberg/influxdb-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsternberg/influxdb-docker/contents/{+path}","compare_url":"https://api.github.com/repos/jsternberg/influxdb-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsternberg/influxdb-docker/merges","archive_url":"https://api.github.com/repos/jsternberg/influxdb-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsternberg/influxdb-docker/downloads","issues_url":"https://api.github.com/repos/jsternberg/influxdb-docker/issues{/number}","pulls_url":"https://api.github.com/repos/jsternberg/influxdb-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/jsternberg/influxdb-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/jsternberg/influxdb-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsternberg/influxdb-docker/labels{/name}","releases_url":"https://api.github.com/repos/jsternberg/influxdb-docker/releases{/id}","deployments_url":"https://api.github.com/repos/jsternberg/influxdb-docker/deployments","created_at":"2016-03-30T13:40:43Z","updated_at":"2016-03-30T13:40:44Z","pushed_at":"2016-03-30T14:38:36Z","git_url":"git://github.com/jsternberg/influxdb-docker.git","ssh_url":"git@github.com:jsternberg/influxdb-docker.git","clone_url":"https://github.com/jsternberg/influxdb-docker.git","svn_url":"https://github.com/jsternberg/influxdb-docker","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"influxdata:master","ref":"master","sha":"93c0cf82c389a8c963d5026bd38728b6990d83b0","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":52544877,"name":"influxdb-docker","full_name":"influxdata/influxdb-docker","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/influxdb-docker","description":"Repository for officially supported InfluxData builds","fork":false,"url":"https://api.github.com/repos/influxdata/influxdb-docker","forks_url":"https://api.github.com/repos/influxdata/influxdb-docker/forks","keys_url":"https://api.github.com/repos/influxdata/influxdb-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/influxdb-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/influxdb-docker/teams","hooks_url":"https://api.github.com/repos/influxdata/influxdb-docker/hooks","issue_events_url":"https://api.github.com/repos/influxdata/influxdb-docker/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/influxdb-docker/events","assignees_url":"https://api.github.com/repos/influxdata/influxdb-docker/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/influxdb-docker/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/influxdb-docker/tags","blobs_url":"https://api.github.com/repos/influxdata/influxdb-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/influxdb-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/influxdb-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/influxdb-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/influxdb-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/influxdb-docker/languages","stargazers_url":"https://api.github.com/repos/influxdata/influxdb-docker/stargazers","contributors_url":"https://api.github.com/repos/influxdata/influxdb-docker/contributors","subscribers_url":"https://api.github.com/repos/influxdata/influxdb-docker/subscribers","subscription_url":"https://api.github.com/repos/influxdata/influxdb-docker/subscription","commits_url":"https://api.github.com/repos/influxdata/influxdb-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/influxdb-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/influxdb-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/influxdb-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/influxdb-docker/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/influxdb-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/influxdb-docker/merges","archive_url":"https://api.github.com/repos/influxdata/influxdb-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/influxdb-docker/downloads","issues_url":"https://api.github.com/repos/influxdata/influxdb-docker/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/influxdb-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/influxdb-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/influxdb-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/influxdb-docker/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/influxdb-docker/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/influxdb-docker/deployments","created_at":"2016-02-25T17:49:35Z","updated_at":"2016-03-20T12:53:09Z","pushed_at":"2016-03-30T14:39:31Z","git_url":"git://github.com/influxdata/influxdb-docker.git","ssh_url":"git@github.com:influxdata/influxdb-docker.git","clone_url":"https://github.com/influxdata/influxdb-docker.git","svn_url":"https://github.com/influxdata/influxdb-docker","homepage":null,"size":7,"stargazers_count":3,"watchers_count":3,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/1"},"html":{"href":"https://github.com/influxdata/influxdb-docker/pull/1"},"issue":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/issues/1"},"comments":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/influxdb-docker/statuses/cac170ab1f97066b256dd7893170acc484617e99"}}}}