ai-tools-searxng-firecrawl-.../build-images.sh
mARTin-B78 dd44a2c2b1 Initial commit: SearXNG + Firecrawl + HHEM API stack
Self-hosted Docker Compose stack for DGX Spark (ARM64/aarch64, CPU-only):
- SearXNG on port 8889 with JSON API enabled, rate limiting off
- Firecrawl (built from local source) on port 3002, no API key required
- HHEM API (FastAPI + vectara/hallucination_evaluation_model) on port 8881
- Portainer stack YAML using dgx_net external network
- build-images.sh to pre-build local images before Portainer deploy
- HF model cache bind-mounted from /home/sparky/LLMs/huggingface

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 22:29:28 +02:00

24 lines
885 B
Bash
Executable File

#!/usr/bin/env bash
# Run this ONCE before deploying the Portainer stack.
# Builds all custom images and tags them for use without a registry.
set -euo pipefail
FIRECRAWL_SRC="/home/sparky/Docker/firecrawl/git/firecrawl"
HHEM_SRC="/home/sparky/Docker/searXNG Firecrawl HHEM /hhem-api"
echo "=== [1/4] Building firecrawl-postgres:local ==="
docker build -t firecrawl-postgres:local "$FIRECRAWL_SRC/apps/nuq-postgres"
echo "=== [2/4] Building firecrawl-playwright:local ==="
docker build -t firecrawl-playwright:local "$FIRECRAWL_SRC/apps/playwright-service-ts"
echo "=== [3/4] Building firecrawl-api:local ==="
docker build -t firecrawl-api:local "$FIRECRAWL_SRC/apps/api"
echo "=== [4/4] Building hhem-api:local ==="
docker build -t hhem-api:local "$HHEM_SRC"
echo ""
echo "All images built. You can now deploy the Portainer stack."
docker images | grep -E "firecrawl|hhem-api"