-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
53 lines (50 loc) · 1.33 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
version: '3.7'
services:
ids:
hostname: 'IDS'
privileged: true
container_name : IDS
build: .
cap_add :
- NET_ADMIN
stdin_open: true
tty: true
networks:
lan:
ipv4_address: 192.168.1.2
command: /bin/bash
sysctls:
net.ipv4.conf.all.send_redirects: '0'
net.ipv4.conf.all.secure_redirects: '0'
net.ipv4.conf.all.accept_redirects: '0'
net.ipv4.conf.default.send_redirects: '0'
net.ipv4.conf.eth0.send_redirects: '0'
client:
hostname: 'Client'
privileged: true
container_name : Client
build: .
cap_add :
- NET_ADMIN
depends_on:
- ids
stdin_open: true
tty: true
networks:
lan:
ipv4_address: 192.168.1.3
command: /bin/bash
sysctls:
net.ipv4.conf.all.send_redirects: '0'
net.ipv4.conf.all.secure_redirects: '0'
net.ipv4.conf.all.accept_redirects: '0'
net.ipv4.conf.default.send_redirects: '0'
net.ipv4.conf.eth0.send_redirects: '0'
networks:
lan:
driver: "bridge"
name: lan
ipam:
config:
-
subnet: 192.168.1.0/24