version: "3.9"

services:
  martillo-maldito:
    image: martillo-maldito:latest
    restart: always
    network_mode: "host"
    
    build:
      context: .
    pull_policy: build
    
    cap_add:
      - NET_ADMIN
      - NET_RAW

    volumes:
      - /var/log/auth.log:/host_ssh/auth.log
      - /etc/iptables/rules.v4:/host_iptables/rules.v4