mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
72 lines
1.6 KiB
YAML
72 lines
1.6 KiB
YAML
version: '2.3'
|
|
|
|
services:
|
|
|
|
# ELK services
|
|
## Elasticsearch service
|
|
elasticsearch:
|
|
build: elasticsearch/.
|
|
container_name: elasticsearch
|
|
restart: always
|
|
environment:
|
|
- bootstrap.memory_lock=true
|
|
- ES_JAVA_OPTS=-Xms2048m -Xmx2048m
|
|
- ES_TMPDIR=/tmp
|
|
cap_add:
|
|
- IPC_LOCK
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
mem_limit: 4g
|
|
ports:
|
|
- "127.0.0.1:64298:9200"
|
|
image: "ghcr.io/telekom-security/elasticsearch:2006"
|
|
volumes:
|
|
- /data:/data
|
|
|
|
## Kibana service
|
|
kibana:
|
|
build: kibana/.
|
|
container_name: kibana
|
|
restart: always
|
|
stop_signal: SIGKILL
|
|
depends_on:
|
|
elasticsearch:
|
|
condition: service_healthy
|
|
ports:
|
|
- "127.0.0.1:64296:5601"
|
|
image: "ghcr.io/telekom-security/kibana:2006"
|
|
|
|
## Logstash service
|
|
logstash:
|
|
build: logstash/.
|
|
container_name: logstash
|
|
restart: always
|
|
environment:
|
|
- LS_JAVA_OPTS=-Xms2048m -Xmx2048m
|
|
depends_on:
|
|
elasticsearch:
|
|
condition: service_healthy
|
|
env_file:
|
|
- /opt/tpot/etc/compose/elk_environment
|
|
image: "ghcr.io/telekom-security/logstash:2006"
|
|
volumes:
|
|
- /data:/data
|
|
# - /root/tpotce/docker/elk/logstash/dist/logstash.conf:/etc/logstash/conf.d/logstash.conf
|
|
|
|
## Elasticsearch-head service
|
|
head:
|
|
build: head/.
|
|
container_name: head
|
|
restart: always
|
|
depends_on:
|
|
elasticsearch:
|
|
condition: service_healthy
|
|
ports:
|
|
- "127.0.0.1:64302:9100"
|
|
image: "ghcr.io/telekom-security/head:2006"
|
|
read_only: true
|