-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (51 loc) · 1.23 KB
/
docker-compose.yml
File metadata and controls
56 lines (51 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '3.8'
services:
# Network Honeypot - PROVEN to work
opencanary:
image: thinkst/opencanary:latest
container_name: honeypot-opencanary
restart: unless-stopped
network_mode: host
volumes:
- ./opencanary.conf:/root/.opencanary.conf:ro
- ./logs:/var/log/opencanary
environment:
- TZ=America/New_York
# Simple Web Honeypot
nginx:
image: nginx:alpine
container_name: honeypot-web
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./web:/usr/share/nginx/html:ro
# Log Analysis - LIGHTWEIGHT
elasticsearch:
image: elasticsearch:8.8.0
container_name: honeypot-elasticsearch
restart: unless-stopped
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms256m -Xmx512m"
- bootstrap.memory_lock=true
ports:
- "9200:9200"
mem_limit: 768m
ulimits:
memlock:
soft: -1
hard: -1
kibana:
image: kibana:8.8.0
container_name: honeypot-kibana
restart: unless-stopped
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
ports:
- "5601:5601"
depends_on:
- elasticsearch
mem_limit: 384m
# Log shipping