mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 03:38:51 +00:00

start adjusting helper scripts for elk 6.x migrate patterns, dashboards, viz, search, etc. tweaking
72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
# T-Pot (Standard)
|
|
# For docker-compose ...
|
|
version: '2.2'
|
|
|
|
services:
|
|
|
|
# ELK services
|
|
## Elasticsearch service
|
|
elasticsearch:
|
|
build: .
|
|
container_name: elasticsearch
|
|
restart: always
|
|
environment:
|
|
- bootstrap.memory_lock=true
|
|
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
|
|
cap_add:
|
|
- IPC_LOCK
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
mem_limit: 2g
|
|
ports:
|
|
- "127.0.0.1:64298:9200"
|
|
image: "dtagdevsec/elasticsearch:1804"
|
|
volumes:
|
|
- /data:/data
|
|
|
|
## Kibana service
|
|
kibana:
|
|
build: .
|
|
container_name: kibana
|
|
restart: always
|
|
stop_signal: SIGKILL
|
|
depends_on:
|
|
elasticsearch:
|
|
condition: service_healthy
|
|
ports:
|
|
- "127.0.0.1:64296:5601"
|
|
image: "dtagdevsec/kibana:1804"
|
|
|
|
## Logstash service
|
|
logstash:
|
|
build: .
|
|
container_name: logstash
|
|
restart: always
|
|
depends_on:
|
|
elasticsearch:
|
|
condition: service_healthy
|
|
env_file:
|
|
- /opt/tpot/etc/compose/elk_environment
|
|
image: "dtagdevsec/logstash:1804"
|
|
volumes:
|
|
- /data:/data
|
|
- /var/log:/data/host/log
|
|
- /root/tpotce/docker/elk/logstash/dist/logstash.conf:/etc/logstash/conf.d/logstash.conf
|
|
|
|
## Elasticsearch-head service
|
|
head:
|
|
build: .
|
|
container_name: head
|
|
restart: always
|
|
depends_on:
|
|
elasticsearch:
|
|
condition: service_healthy
|
|
ports:
|
|
- "127.0.0.1:64302:9100"
|
|
image: "dtagdevsec/head:1804"
|
|
read_only: true
|