Files
2026-08-17 10:07:19 +02:00

32 lines
637 B
YAML

services:
ids:
build:
context: .
dockerfile: Dockerfile
image: routeros-suricata-tzsp:local
container_name: routeros-suricata-tzsp
restart: unless-stopped
env_file:
- .env
cap_add:
- NET_ADMIN
- NET_RAW
- SYS_NICE
devices:
- /dev/net/tun:/dev/net/tun
ports:
- "37008:37008/udp"
- "8080:8080/tcp"
volumes:
- ids-data:/data
healthcheck:
test: ["CMD", "python3", "/opt/ids/scripts/healthcheck.py"]
interval: 30s
timeout: 5s
retries: 5
start_period: 20s
volumes:
ids-data:
name: routeros-suricata-data