50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
version: "3.2"
|
|
services:
|
|
agreggrator:
|
|
build: ./fluentd
|
|
ports:
|
|
- "24224:24224"
|
|
- "24224:24224/udp"
|
|
volumes:
|
|
- ./fluentd/fluent.conf:/fluentd/etc/fluent.conf
|
|
- //x/volumes/bpers/data:/dados/
|
|
elasticsearch:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.3.2
|
|
environment:
|
|
- discovery.type=single-node
|
|
- bootstrap.memory_lock=true
|
|
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
|
|
user: 'elasticsearch'
|
|
volumes:
|
|
- elasticsearch-data:/usr/share/elasticsearch/data
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
ports:
|
|
- "9200:9200"
|
|
kibana:
|
|
image: docker.elastic.co/kibana/kibana:7.3.2
|
|
links:
|
|
- elasticsearch
|
|
ports:
|
|
- "5601:5601"
|
|
environment:
|
|
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
|
|
depends_on:
|
|
- elasticsearch
|
|
bpers:
|
|
image: localhost:5000/bpers:255
|
|
ports:
|
|
- 8055:8080
|
|
volumes:
|
|
- //x/volumes/bpers/log:/opt/jboss/wildfly/standalone/log
|
|
- //x/volumes/bpers/data:/opt/jboss/wildfly/standalone/data
|
|
- //x/volumes/bpers/configuration:/opt/jboss/wildfly/standalone/configuration/security
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
elasticsearch-data: |