SPB Git

Repository Public MIT

skills-spboucher-ai.json 3.8 KB 47 lines json

1{2  "app": "skills-spboucher-ai",3  "label": "Skills — The Open Agent Capability Registry (skills.spboucher.ai)",4  "domain": "skills.spboucher.ai",5  "port": 8570,6  "health_path": "/api/v1/health/ready",7  "dir": "~/apps/skills-spboucher-ai",8  "extra_paths": [],9  "sync_excludes": [".git/", ".DS_Store", "node_modules/", ".next/", ".env", ".env.*", "test-results/", "playwright-report/", "*.tsbuildinfo", "next-env.d.ts", "dist/", "apps/web/public/cli/"],10  "requires": { "runtimes": ["node", "pnpm", "pm2", "postgresql@17"], "ram_gb": 2, "ports": [8570] },11  "ram_mb_observed": 300,12  "size_mb": 10,13  "placement": { "pin": "M3U96b", "prefer": "M3U96b", "avoid": ["M1M32"], "reason": "PostgreSQL 17 already initialised and running on M3U96b (database skills_spboucher, role skills_app); release blobs in ~/data/skills-spboucher-ai; wg1 peer of BHS64" },14  "processes": [15    {16      "name": "skills-web", "manager": "pm2", "script": "/opt/homebrew/bin/node",17      "args": ["node_modules/next/dist/bin/next", "start", "-p", "8570", "-H", "0.0.0.0"],18      "interpreter": null, "cwd": "{{HOME}}/apps/skills-spboucher-ai/apps/web",19      "env": { "NODE_ENV": "production", "PORT": "8570", "NEXT_TELEMETRY_DISABLED": "1", "PATH": "/opt/homebrew/opt/postgresql@17/bin:/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin" },20      "cron_restart": null, "autorestart": true, "max_memory_restart": "1200M", "kill_timeout": 800021    },22    {23      "name": "skills-maint", "manager": "pm2", "script": "/bin/bash", "args": ["infra/maintenance.sh"],24      "interpreter": null, "cwd": "{{HOME}}/apps/skills-spboucher-ai",25      "env": { "NODE_ENV": "production", "BACKUP_REMOTE": "simon-pierreboucher@192.168.2.80:backups/skills-spboucher-ai", "PATH": "/opt/homebrew/opt/postgresql@17/bin:/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin" },26      "cron_restart": "50 4 * * *", "autorestart": false, "max_memory_restart": "500M", "kill_timeout": 3000027    }28  ],29  "ngrok": null,30  "launchd": [],31  "env_overrides": {},32  "hooks": {33    "post_sync": [34      "set -o pipefail; test -f .env || { echo 'ERREUR: .env absent (secrets) — voir docs/OPERATIONS.md'; exit 1; }; chmod 600 .env",35      "set -o pipefail; export PATH=\"/opt/homebrew/bin:$PATH\"; pnpm install --frozen-lockfile --silent 2>&1 | grep -v '^\\s*at ' | tail -2; test -d apps/web/node_modules/next && echo '  deps ok'",36      "set -o pipefail; export PATH=\"/opt/homebrew/opt/postgresql@17/bin:/opt/homebrew/bin:$PATH\"; node_modules/.bin/tsx packages/db/src/migrate-cli.ts && echo '  db ok'",37      "set -o pipefail; export PATH=\"/opt/homebrew/bin:$PATH\"; bash infra/build-cli.sh > /dev/null && echo '  cli ok'",38      "set -o pipefail; export PATH=\"/opt/homebrew/bin:$PATH\"; cd apps/web && rm -rf .next && NEXT_TELEMETRY_DISABLED=1 node_modules/.bin/next build 2>&1 | grep -vE '^\\s*$' | tail -3 && test -f .next/BUILD_ID && echo '  build ok'",39      "mkdir -p ~/data/skills-spboucher-ai ~/backups/skills-spboucher-ai && chmod 700 ~/data/skills-spboucher-ai ~/backups/skills-spboucher-ai && echo '  storage ok'"40    ],41    "post_start": []42  },43  "ka_repo": false,44  "tunnel": { "domain": "skills.spboucher.ai", "gateway": "BHS64", "note": "DNS GoDaddy A skills.spboucher.ai → 51.161.112.61 posé par le propriétaire (vérifié le 2026-11-09) ; route Caddy posée par mld deploy" },45  "notes": "Next.js 16 (UI + REST /api/v1 + MCP /mcp) + PostgreSQL 17 local (DB skills_spboucher, rôle skills_app). Archives de release immuables : ~/data/skills-spboucher-ai/blobs (hors dépôt, adressées par SHA-256). skills-maint (04:50) = nettoyage + sauvegarde (pg_dump + blobs → ~/backups/skills-spboucher-ai, rsync M3U96a). Secrets uniquement dans ~/apps/skills-spboucher-ai/.env (600) ; copie ~/Desktop/Cluster/secrets/skills-spboucher-ai/.env. Console admin locale : pnpm admin … (docs/OPERATIONS.md)."46}47
Files main
Menu

Theme