Skip to content

Commit

Permalink
Update README with container linking information
Browse files Browse the repository at this point in the history
  • Loading branch information
pazoozooCH authored and marcbachmann committed Apr 12, 2015
1 parent 1443025 commit 7bc9e87
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ REQUEST_TIMEOUT = 60
SHARD_TIMEOUT = 30000
VERIFY_SSL = true
```

### Linking an Elasticsearch Container

When you're running Elasticsearch in a separate docker container, you can automatically link to it by naming the linked container `elasticsearch`. By doing so the `ELASTICSEARCH` variable gets automatically set. To link it correctly, it needs to expose the port 9200.

e.g.
```
docker run -d --name myElasticSearch elasticsearch
docker run -d --link myElasticSearch:elasticsearch -P marcbachmann/kibana4
```

0 comments on commit 7bc9e87

Please sign in to comment.