Repository Public
1{2 "app": "spider",3 "label": "SPIDER — Universal Web Intelligence Engine (gateway, orchestrator and one local worker)",4 "domain": null,5 "port": 8900,6 "health_path": "/v1/health",7 "dir": "~/apps/spider",8 "extra_paths": [],9 "sync_excludes": [".DS_Store", "Icon?", ".venv/", "node_modules/", ".build/", "dist/", "__pycache__/", ".pytest_cache/", ".ruff_cache/", "var/", "data/"],10 "requires": { "runtimes": ["pm2", "uv", "postgresql@17"], "ram_gb": 6, "ports": [8900] },11 "placement": { "pin": "m5ma", "prefer": "m5ma", "avoid": ["M1M32", "M5M36"],12 "reason": "Placed by mld on 2026-12-04 (score 0.395). PostgreSQL database, blob store and signing secret live on the node: pin it after the first deployment and do not `mld move` (data does not follow)." },13 "processes": [14 { "name": "spider-gateway", "manager": "pm2", "script": "/bin/bash", "args": ["scripts/run.sh", "gateway"], "interpreter": null,15 "cwd": "{{HOME}}/apps/spider", "env": { "PATH": "/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin" },16 "cron_restart": null, "autorestart": true, "max_memory_restart": "1500M", "kill_timeout": 10000, "restart_delay": 2000 },17 { "name": "spider-worker", "manager": "pm2", "script": "/bin/bash", "args": ["scripts/run.sh", "worker"], "interpreter": null,18 "cwd": "{{HOME}}/apps/spider", "env": { "PATH": "/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin" },19 "cron_restart": null, "autorestart": true, "max_memory_restart": "4G", "kill_timeout": 70000, "restart_delay": 3000 }20 ],21 "ngrok": null,22 "launchd": [],23 "env_overrides": {},24 "hooks": { "post_sync": ["bash scripts/bootstrap.sh --role all"], "post_start": [] },25 "ka_repo": false,26 "tunnel": null,27 "notes": "No public route until the owner approves it. To expose: set domain and tunnel {\"domain\": \"spider.spboucher.ai\", \"gateway\": \"BHS64\", \"websocket\": false} — and make the Caddy route refuse /internal/* (see docs/ADMIN.md). Secrets are in ~/.config/spider/env (0600) on the node, never in this manifest."28}29