2024-03-04 11:07:03 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
maltrail-server:
|
|
|
|
image: vimagick/maltrail
|
|
|
|
command: ./server.py -c etc/maltrail.conf
|
|
|
|
volumes:
|
|
|
|
- ./data/etc:/opt/maltrail/etc
|
2024-03-04 11:54:13 +02:00
|
|
|
- ./data/server/log:/opt/maltrail/log
|
2024-03-04 11:07:03 +02:00
|
|
|
network_mode: host
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
maltrail-sensor:
|
|
|
|
image: vimagick/maltrail
|
|
|
|
command: ./sensor.py -c etc/maltrail.conf
|
|
|
|
volumes:
|
|
|
|
- ./data/etc:/opt/maltrail/etc
|
2024-03-04 11:54:13 +02:00
|
|
|
- ./data/sensor/log:/opt/maltrail/log
|
2024-03-04 11:07:03 +02:00
|
|
|
network_mode: host
|
2024-03-04 11:54:13 +02:00
|
|
|
depends_on:
|
|
|
|
- maltrail-server
|
2024-03-04 11:07:03 +02:00
|
|
|
restart: unless-stopped
|