mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-21 01:27:01 +02:00
update maltrail
This commit is contained in:
parent
b99c8d4ed4
commit
059d877c48
@ -6,12 +6,13 @@ maltrail
|
||||
|
||||
```bash
|
||||
$ docker compose up -d
|
||||
$ curl http://127.0.0.1:8338
|
||||
$ curl http://127.0.0.1:8338 # admin:changeme!
|
||||
|
||||
$ less data/etc/maltrail.csv
|
||||
$ ping -c 1 136.161.101.53
|
||||
$ nslookup morphed.ru
|
||||
|
||||
$ tail -f ./data/log/$(date +"%Y-%m-%d").log
|
||||
$ tail -f ./data/server/log/$(date +"%Y-%m-%d").log
|
||||
```
|
||||
|
||||
[1]: https://github.com/stamparm/maltrail
|
||||
|
@ -138,7 +138,7 @@ CHECK_HOST_DOMAINS false
|
||||
SHOW_DEBUG false
|
||||
|
||||
# Directory used for log storage
|
||||
LOG_DIR ./log/maltrail
|
||||
LOG_DIR ./log
|
||||
|
||||
# HTTP(s) proxy address
|
||||
#PROXY_ADDRESS http://192.168.5.101:8118
|
||||
@ -147,4 +147,4 @@ LOG_DIR ./log/maltrail
|
||||
DISABLE_CHECK_SUDO true
|
||||
|
||||
# Override default location for trail storage (~/.maltrail/trails.csv)
|
||||
TRAILS_FILE ./var/maltrail.csv
|
||||
TRAILS_FILE ./etc/maltrail.csv
|
||||
|
@ -5,21 +5,19 @@ services:
|
||||
maltrail-server:
|
||||
image: vimagick/maltrail
|
||||
command: ./server.py -c etc/maltrail.conf
|
||||
container_name: maltrail-server
|
||||
volumes:
|
||||
- ./data/etc:/opt/maltrail/etc
|
||||
- ./data/log:/opt/maltrail/log
|
||||
- ./data/var:/opt/maltrail/var
|
||||
- ./data/server/log:/opt/maltrail/log
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
|
||||
maltrail-sensor:
|
||||
image: vimagick/maltrail
|
||||
command: ./sensor.py -c etc/maltrail.conf
|
||||
container_name: maltrail-sensor
|
||||
volumes:
|
||||
- ./data/etc:/opt/maltrail/etc
|
||||
- ./data/log:/opt/maltrail/log
|
||||
- ./data/var:/opt/maltrail/var
|
||||
- ./data/sensor/log:/opt/maltrail/log
|
||||
network_mode: host
|
||||
depends_on:
|
||||
- maltrail-server
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user