-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (59 loc) · 1.24 KB
/
docker-compose.yml
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
57
58
59
60
61
62
63
64
65
66
version: "3.9"
services:
splunk:
build:
dockerfile: "./images/splunk/dockerfile"
context: .
container_name: "splunk"
environment:
- "SPLUNK_PASSWORD=password"
- "SPLUNK_START_ARGS=--accept-license"
volumes:
- log_volume:/var/log/
network_mode: host
snort:
build:
dockerfile: "./images/snort/dockerfile"
context: .
container_name: "snort"
network_mode: host
tty: true
stdin_open: true
volumes:
- log_volume:/var/log/snort
depends_on:
splunk:
condition: service_healthy
kali:
build:
dockerfile: "./images/kali/dockerfile"
context: .
container_name: "kali"
tty: true
stdin_open: true
networks:
ids-net:
ipv4_address: 172.18.0.2
meta:
image: tleemcjr/metasploitable2:latest
container_name: "meta"
tty: true
stdin_open: true
volumes:
- log_volume:/var/log
networks:
ids-net:
ipv4_address: 172.18.0.3
volumes:
log_volume:
networks:
ids-net:
name: ids-net
driver: bridge
driver_opts:
com.docker.network.bridge.name: "ids_bridge"
ipam:
driver: default
config:
- subnet: 172.18.0.0/16
gateway: 172.18.0.1