version: "2" services: fail2ban_exporter: image: registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:latest container_name: fail2ban_exporter network_mode: bridge volumes: - /var/run/fail2ban/:/var/run/fail2ban:ro ports: ["9191:9191"] restart: unless-stopped