theHarvester Docker & Self-Hosted Deployment

GitHub

E-mails, subdomains and names Harvester - OSINT

RAW Compose
1. Pull Image (DOCKERHUB) docker pull library/theharvester
2. Docker Run (1-Click Launch) docker run -d --name theharvester -p 5000:5000 --restart always theharvester:local
3. Podman Run podman run -d --name theharvester -p 5000:5000 --restart always theharvester:local
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/library/theharvester:local
5. ORAS Pull (OCI Artifact) oras pull theharvester:local
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
services:
  theharvester.svc.local:
    image: theharvester:local
    build:
      context: .
    init: true
    restart: unless-stopped
    read_only: true
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges:true
    shm_size: 1gb
    tmpfs:
      - /tmp:rw,noexec,nosuid,nodev,size=128m
    environment:
      THEHARVESTER_API_KEY_FILE: /run/secrets/operator-api-key
      THEHARVESTER_HARVESTVIEW_LOCAL_PROXY: enabled
    secrets:
      - source: operator-api-key
        target: operator-api-key
    volumes:
      - theharvester-data:/var/lib/theharvester
      - ./theHarvester/data/api-keys.yaml:/etc/theHarvester/api-keys.yaml:ro
      - ./theHarvester/data/proxies.yaml:/etc/theHarvester/proxies.yaml:ro
    ports:
      - "127.0.0.1:${THEHARVESTER_PORT:-5000}:8000"

volumes:
  theharvester-data:

secrets:
  operator-api-key:
    file: ${THEHARVESTER_API_KEY_FILE:-./.secrets/operator-api-key}