Skip to content

Commit 4791a32

Browse files
committed
docs: update VPS IP and deployment docs for reclabs3 migration
Update VPS address from 176.222.53.185 to 151.245.137.75 (reclabs3). Document systemd heartbeat service, agent env, and SSH aliases.
1 parent 3a86643 commit 4791a32

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

CLAUDE.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,20 @@ Optional config (all have sensible defaults in `config.ts`):
9595
- `DIGEST_API_SECRET` — shared secret for digest trigger API authentication
9696

9797
## Deployment
98-
- **VPS**: `solis.rectorspace.com``176.222.53.185:8001`
98+
- **VPS**: `solis.rectorspace.com``151.245.137.75:8001` (reclabs3, migrated Feb 28 2026)
9999
- **User**: `solis` (SSH alias: `ssh solis`)
100100
- **Docker**: `ghcr.io/rector-labs/solis:latest` via `docker-compose.yml` (`name: solis`)
101101
- **CI/CD**: Push to `main` (web/shared/Docker changes) → GHCR → VPS auto-deploy
102-
- **Agent**: Persistent heartbeat daemon on VPS — runs pipeline daily, commits & pushes reports to git
103-
- **Agent deploy**: `pnpm deploy:agent` — esbuild bundle → SCP to VPS, then restart process
102+
- **Agent**: systemd service `solis-heartbeat.service` — auto-restart, survives reboots, runs pipeline daily, commits & pushes reports to git
103+
- **Agent deploy**: `pnpm deploy:agent` — esbuild bundle → SCP to VPS, then `ssh reclabs3 'systemctl restart solis-heartbeat'`
104+
- **Agent env**: `/home/solis/solis/.agent-env` — OPENROUTER_API_KEY, GITHUB_TOKEN, HELIUS_API_KEY, NODE_ENV=production, GIT_PUSH_ENABLED=true, HEARTBEAT_HOUR=8
105+
- **Agent logs**: `ssh solis 'journalctl -u solis-heartbeat -f'`
104106
- **Report generation**: VPS heartbeat daemon at 08:00 UTC (GitHub Actions `generate-report.yml` kept as manual emergency fallback)
105107
- **Reports volume**: Docker volume mount (`/home/solis/solis/reports → /app/reports:ro`) — new reports appear instantly without rebuild
106108
- **Data volume**: Docker volume mount (`/home/solis/solis/data → /app/data:rw`) — subscriber storage, read-write
107109
- **Deploy triggers**: Only `packages/web/**`, `shared/**`, `Dockerfile`, `docker-compose.yml` — agent/report changes don't trigger deploy
108-
- **Cleanup**: Deploy workflow prunes old images aggressively (VPS at 78% disk)
110+
- **Cleanup**: Deploy workflow prunes old images aggressively
111+
- **SSH aliases**: `solis` (solis user), `reclabs3` (root) — both at `151.245.137.75`
109112

110113
## Key Files
111114
- `shared/src/types.ts` — Type contract between agent and web (Narrative, ReportDiff, FortnightlyReport, SocialSignals, XSignals, QueryRequest/Response, Subscriber)

scripts/vps-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# SOLIS VPS Setup — Run as root on VPS (176.222.53.185)
2+
# SOLIS VPS Setup — Run as root on VPS (151.245.137.75 / reclabs3)
33
# Creates solis user, sets up Docker access, nginx, and certbot
44
set -euo pipefail
55

0 commit comments

Comments
 (0)