update docker compose file

This commit is contained in:
Jose Luis
2016-11-30 20:01:20 -05:00
parent 02e5451452
commit 30fc25e09e
3 changed files with 10 additions and 10 deletions

View File

@@ -98,7 +98,7 @@ If you want to override the default configuration, add the *LS_HEAP_SIZE* enviro
```yml ```yml
logstash: logstash:
build: logstash/ image: wazun/wazuh-logstash:latest
command: -f /etc/logstash/conf.d/ command: -f /etc/logstash/conf.d/
volumes: volumes:
- ./logstash/config:/etc/logstash/conf.d - ./logstash/config:/etc/logstash/conf.d
@@ -122,7 +122,7 @@ Then, you'll need to map your configuration file inside the container in the `do
```yml ```yml
elasticsearch: elasticsearch:
build: elasticsearch/ image: wazuh/wazuh-elasticsearch:latest
ports: ports:
- "9200:9200" - "9200:9200"
- "9300:9300" - "9300:9300"
@@ -142,7 +142,7 @@ In order to persist Elasticsearch data even after removing the Elasticsearch con
```yml ```yml
elasticsearch: elasticsearch:
build: elasticsearch/ image: wazuh/wazuh-elasticsearch:latest
command: elasticsearch -Des.network.host=_non_loopback_ -Des.cluster.name: my-cluster command: elasticsearch -Des.network.host=_non_loopback_ -Des.cluster.name: my-cluster
ports: ports:
- "9200:9200" - "9200:9200"
@@ -164,7 +164,7 @@ version: '2'
services: services:
wazuh: wazuh:
build: wazuh/ image: wazuh/wazuh:latest
ports: ports:
- "1514:1514" - "1514:1514"
- "1515:1515" - "1515:1515"
@@ -183,7 +183,7 @@ services:
networks: networks:
- docker_elk - docker_elk
logstash: logstash:
build: logstash/ image: wazuh/wazuh-logstash:latest
command: -f /etc/logstash/conf.d/ command: -f /etc/logstash/conf.d/
ports: ports:
- "5000:5000" - "5000:5000"
@@ -192,17 +192,17 @@ services:
networks: networks:
- docker_elk - docker_elk
depends_on: depends_on:
- elasticsearch - wazun/wazuh-elasticsearch
environment: environment:
- LS_HEAP_SIZE=2048m - LS_HEAP_SIZE=2048m
kibana: kibana:
build: kibana/ image: wazuh/wazuh-kibana:latest
ports: ports:
- "5601:5601" - "5601:5601"
networks: networks:
- docker_elk - docker_elk
depends_on: depends_on:
- elasticsearch - wazun/wazuh-elasticsearch
networks: networks:
docker_elk: docker_elk:

View File

@@ -2,7 +2,7 @@ version: '2'
services: services:
wazuh: wazuh:
build: wazuh/ image: wazuh/wazuh:latest
ports: ports:
- "1514:1514" - "1514:1514"
- "1515:1515" - "1515:1515"

View File

@@ -1,4 +1,4 @@
FROM kibana:latest FROM kibana:5.0.2
COPY ./config/kibana.yml /opt/kibana/config/kibana.yml COPY ./config/kibana.yml /opt/kibana/config/kibana.yml