forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify docker-compose files through docker-compose extend
Make docker-compose command configurable
- Loading branch information
Showing
7 changed files
with
58 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This is the environment with the last major releases | ||
beat: | ||
build: . | ||
links: | ||
- elasticsearch | ||
- logstash | ||
- kibana | ||
environment: | ||
- LS_HOST=logstash | ||
container_name: beat | ||
|
||
elasticsearch: | ||
image: elasticsearch:latest | ||
ports: | ||
- "9200:9200" | ||
container_name: elasticsearch | ||
|
||
logstash: | ||
image: logstash:latest | ||
links: | ||
- elasticsearch | ||
ports: | ||
- "5044:5044" | ||
- "5055:5055" | ||
container_name: logstash | ||
|
||
kibana: | ||
image: kibana:latest | ||
links: | ||
- elasticsearch | ||
environment: | ||
- ELASTICSEARCH_URL=http://elasticsearch:9200/ | ||
ports: | ||
- "5601:5601" | ||
container_name: kibana |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,11 @@ | ||
# This is the environment with the last major releases | ||
beat: | ||
build: . | ||
links: | ||
- elasticsearch | ||
- logstash | ||
- kibana | ||
environment: | ||
- LS_HOST=logstash | ||
container_name: beat | ||
# It extends the base.yml environment | ||
|
||
elasticsearch: | ||
image: elasticsearch:1.7 | ||
ports: | ||
- "9200:9200" | ||
container_name: elasticsearch | ||
|
||
logstash: | ||
image: logstash:1.5 | ||
links: | ||
- elasticsearch | ||
ports: | ||
- "5044:5044" | ||
- "5055:5055" | ||
container_name: logstash | ||
|
||
kibana: | ||
image: kibana:4.1 | ||
links: | ||
- elasticsearch | ||
environment: | ||
- ELASTICSEARCH_URL=http://elasticsearch:9200/ | ||
ports: | ||
- "5601:5601" | ||
container_name: kibana |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,12 @@ | ||
# This is the latest stable release | ||
beat: | ||
build: . | ||
links: | ||
- elasticsearch | ||
- logstash | ||
- kibana | ||
environment: | ||
- LS_HOST=logstash | ||
container_name: beat | ||
# This is the latest stable release environment | ||
# It inherits from base.yml | ||
|
||
elasticsearch: | ||
image: elasticsearch:latest | ||
ports: | ||
- "9200:9200" | ||
container_name: elasticsearch | ||
|
||
logstash: | ||
image: logstash:latest | ||
links: | ||
- elasticsearch | ||
ports: | ||
- "5044:5044" | ||
- "5055:5055" | ||
container_name: logstash | ||
|
||
kibana: | ||
build: docker/kibana/ | ||
dockerfile: Dockerfile-4.3.1 | ||
links: | ||
- elasticsearch | ||
environment: | ||
- ELASTICSEARCH_URL=http://elasticsearch:9200/ | ||
ports: | ||
- "5601:5601" | ||
container_name: kibana |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,19 @@ | ||
# This should test the environment with the latest snapshots | ||
beat: | ||
build: . | ||
links: | ||
- elasticsearch | ||
- logstash | ||
- kibana | ||
environment: | ||
- LS_HOST=logstash | ||
container_name: beat | ||
|
||
# This is based on base.yml | ||
elasticsearch: | ||
build: ./docker/elasticsearch | ||
dockerfile: Dockerfile-2.2.0 | ||
command: elasticsearch -Des.network.host=0.0.0.0 | ||
ports: | ||
- "9200:9200" | ||
container_name: elasticsearch | ||
|
||
logstash: | ||
build: ./docker/logstash | ||
dockerfile: Dockerfile-2.2.0 | ||
ports: | ||
- "5044:5044" | ||
- "5055:5055" | ||
links: | ||
- elasticsearch | ||
container_name: logstash | ||
environment: | ||
- ES_HOST=elasticsearch | ||
|
||
kibana: | ||
build: ./docker/kibana | ||
dockerfile: Dockerfile-4.4.0 | ||
links: | ||
- elasticsearch | ||
environment: | ||
- ELASTICSEARCH_URL=http://elasticsearch:9200/ | ||
ports: | ||
- "5601:5601" | ||
container_name: kibana | ||
|
||
|