services:
  search-hub:
    image: oci.vit.am/search-hub:latest
    container_name: search-hub
    ports:
      - "8080:8080"
    volumes:
      - ~/.config/search_hub:/home/search_hub/.config/search_hub:ro
      - ~/.local/share/search_hub:/home/search_hub/.local/share/search_hub
    restart: unless-stopped

  # Optional: self-hosted SearXNG instance for engine aggregation
  # searxng:
  #   image: searxng/searxng:latest
  #   container_name: searxng
  #   ports:
  #     - "8888:8080"
  #   volumes:
  #     - ./searxng/settings.yml:/etc/searxng/settings.yml:ro
  #     - ./searxng/limiter.toml:/etc/searxng/limiter.toml:ro
  #   restart: unless-stopped
