File tree 5 files changed +9
-10
lines changed
5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ maltrail
6
6
7
7
``` bash
8
8
$ docker compose up -d
9
- $ curl http://127.0.0.1:8338
9
+ $ curl http://127.0.0.1:8338 # admin:changeme!
10
10
11
+ $ less data/etc/maltrail.csv
11
12
$ ping -c 1 136.161.101.53
12
13
$ nslookup morphed.ru
13
14
14
- $ tail -f ./data/log/$( date +" %Y-%m-%d" ) .log
15
+ $ tail -f ./data/server/ log/$( date +" %Y-%m-%d" ) .log
15
16
```
16
17
17
18
[ 1 ] : https://github.com/stamparm/maltrail
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ CHECK_HOST_DOMAINS false
138
138
SHOW_DEBUG false
139
139
140
140
# Directory used for log storage
141
- LOG_DIR ./log/maltrail
141
+ LOG_DIR ./log
142
142
143
143
# HTTP(s) proxy address
144
144
#PROXY_ADDRESS http://192.168.5.101:8118
@@ -147,4 +147,4 @@ LOG_DIR ./log/maltrail
147
147
DISABLE_CHECK_SUDO true
148
148
149
149
# Override default location for trail storage (~/.maltrail/trails.csv)
150
- TRAILS_FILE ./var /maltrail.csv
150
+ TRAILS_FILE ./etc /maltrail.csv
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -5,21 +5,19 @@ services:
5
5
maltrail-server :
6
6
image : vimagick/maltrail
7
7
command : ./server.py -c etc/maltrail.conf
8
- container_name : maltrail-server
9
8
volumes :
10
9
- ./data/etc:/opt/maltrail/etc
11
- - ./data/log:/opt/maltrail/log
12
- - ./data/var:/opt/maltrail/var
10
+ - ./data/server/log:/opt/maltrail/log
13
11
network_mode : host
14
12
restart : unless-stopped
15
13
16
14
maltrail-sensor :
17
15
image : vimagick/maltrail
18
16
command : ./sensor.py -c etc/maltrail.conf
19
- container_name : maltrail-sensor
20
17
volumes :
21
18
- ./data/etc:/opt/maltrail/etc
22
- - ./data/log:/opt/maltrail/log
23
- - ./data/var:/opt/maltrail/var
19
+ - ./data/sensor/log:/opt/maltrail/log
24
20
network_mode : host
21
+ depends_on :
22
+ - maltrail-server
25
23
restart : unless-stopped
You can’t perform that action at this time.
0 commit comments