# Autonome home security agent — geen Wazuh/Uptime Kuma/n8n
services:
  security-agent:
    build: .
    container_name: el-kadi-security-agent
    restart: unless-stopped
    network_mode: host
    env_file:
      - .env
    environment:
      PG_HOST: ${PG_HOST:-192.168.1.105}
      PG_PORT: ${PG_PORT:-5433}
      PG_USER: ${PG_USER:-mo}
      PG_PASSWORD: ${PG_PASSWORD:-}
      PG_DATABASE: ${PG_DATABASE:-homelab}
    volumes:
      - ./config:/app/config:ro
      - ./data:/app/data
      - /var/run/docker.sock:/var/run/docker.sock:ro
    working_dir: /app
