Skip to content

Commit

Permalink
Use docker compose to manage deps, change elasticsearch default port
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 committed Jun 5, 2018
1 parent 729f303 commit b02d208
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '2.1'
services:
elasticsearch:
image: 'lambdalab/elasticsearch:7.0.0-alpha1-20180604'
volumes:
- ./data:/usr/share/elasticsearch/data
ports:
- 9201:9200
# - 9300:9300 // when using tcp port
environment:
ES_JAVA_OPTS: "-Xms768m -Xmx768m"
restart: on-failure
4 changes: 2 additions & 2 deletions kibana-extra/castro/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ task bootstrap(type: YarnTask) {
args = ['kbn', 'bootstrap']
}

task start(type: YarnTask) {
args = ['start']
task startKibana(type: YarnTask) {
args = ['start', '--elasticsearch.url', 'http://localhost:9201']
}

task downloadKibana(type: Download) {
Expand Down

0 comments on commit b02d208

Please sign in to comment.