Use v3 volume syntax
This commit is contained in:
parent
600488a5bd
commit
979d227658
|
@ -60,8 +60,8 @@ Other available stack variants:
|
||||||
|
|
||||||
### Host setup
|
### Host setup
|
||||||
|
|
||||||
* [Docker](https://www.docker.com/community-edition#/download) version **17.05+**
|
* [Docker Engine](https://docs.docker.com/install/) version **17.05+**
|
||||||
* [Docker Compose](https://docs.docker.com/compose/install/) version **1.6.0+**
|
* [Docker Compose](https://docs.docker.com/compose/install/) version **1.12.0+**
|
||||||
* 1.5 GB of RAM
|
* 1.5 GB of RAM
|
||||||
|
|
||||||
By default, the stack exposes the following ports:
|
By default, the stack exposes the following ports:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: '2'
|
version: '3.2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
@ -8,7 +8,10 @@ services:
|
||||||
args:
|
args:
|
||||||
ELK_VERSION: $ELK_VERSION
|
ELK_VERSION: $ELK_VERSION
|
||||||
volumes:
|
volumes:
|
||||||
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
|
- type: bind
|
||||||
|
source: ./elasticsearch/config/elasticsearch.yml
|
||||||
|
target: /usr/share/elasticsearch/config/elasticsearch.yml
|
||||||
|
read_only: true
|
||||||
ports:
|
ports:
|
||||||
- "9200:9200"
|
- "9200:9200"
|
||||||
- "9300:9300"
|
- "9300:9300"
|
||||||
|
@ -24,8 +27,14 @@ services:
|
||||||
args:
|
args:
|
||||||
ELK_VERSION: $ELK_VERSION
|
ELK_VERSION: $ELK_VERSION
|
||||||
volumes:
|
volumes:
|
||||||
- ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro
|
- type: bind
|
||||||
- ./logstash/pipeline:/usr/share/logstash/pipeline:ro
|
source: ./logstash/config/logstash.yml
|
||||||
|
target: /usr/share/logstash/config/logstash.yml
|
||||||
|
read_only: true
|
||||||
|
- type: bind
|
||||||
|
source: ./logstash/pipeline
|
||||||
|
target: /usr/share/logstash/pipeline
|
||||||
|
read_only: true
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
- "9600:9600"
|
- "9600:9600"
|
||||||
|
@ -42,7 +51,10 @@ services:
|
||||||
args:
|
args:
|
||||||
ELK_VERSION: $ELK_VERSION
|
ELK_VERSION: $ELK_VERSION
|
||||||
volumes:
|
volumes:
|
||||||
- ./kibana/config/kibana.yml:/usr/share/kibana/config/kibana.yml:ro
|
- type: bind
|
||||||
|
source: ./kibana/config/kibana.yml
|
||||||
|
target: /usr/share/kibana/config/kibana.yml
|
||||||
|
read_only: true
|
||||||
ports:
|
ports:
|
||||||
- "5601:5601"
|
- "5601:5601"
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue