Initial commit
This commit is contained in:
44
siem-elastic-template/elastic/docker-compose.yml
Normal file
44
siem-elastic-template/elastic/docker-compose.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
services:
|
||||
elastic:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.29
|
||||
container_name: elasticsearch
|
||||
environment:
|
||||
- xpack.security.enabled=true
|
||||
- xpack.security.authc.anonymous.username=anonymous_user
|
||||
- xpack.security.authc.anonymous.roles=superuser
|
||||
- xpack.security.authc.anonymous.authz_exception=true
|
||||
- xpack.security.authc.api_key.enabled=true
|
||||
- discovery.type=single-node
|
||||
- ES_JAVA_OPTS=-Xms512m -Xmx512m
|
||||
volumes:
|
||||
- esdata:/usr/share/elasticsearch/data
|
||||
ports:
|
||||
- "9200:9200"
|
||||
|
||||
kibana:
|
||||
image: docker.elastic.co/kibana/kibana:7.17.29
|
||||
container_name: kibana
|
||||
environment:
|
||||
- elasticsearch.username=kibana
|
||||
- elasticsearch.password=Burek123!
|
||||
- XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY="min-32-byte-long-NEW-encryption-key"
|
||||
- ELASTICSEARCH_HOSTS=http://elastic:9200
|
||||
ports:
|
||||
- "5601:5601"
|
||||
depends_on:
|
||||
- elastic
|
||||
|
||||
fluent:
|
||||
image: fluent/fluent-bit:latest
|
||||
container_name: fluent-bit
|
||||
ports:
|
||||
- "24224:24224"
|
||||
- "24224:24224/udp"
|
||||
volumes:
|
||||
- ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
|
||||
- ./parsers.conf:/fluent-bit/etc/parsers.conf
|
||||
depends_on:
|
||||
- elastic
|
||||
|
||||
volumes:
|
||||
esdata:
|
||||
Reference in New Issue
Block a user