Deployment & Infrastructure
Bitcoinology runs across multiple cloud services and a bare-metal GPU server for transcription.
Infrastructure Topology
Service Details
Vercel
| Property | Value |
|---|---|
| Project | bitcoinology |
| Framework | Next.js 14.2.0 |
| Package Manager | pnpm 10.26.0 |
| Team | ryanchiera-4864s-projects |
| Domain | bitcoinology.beliefengines.io |
| Preview | bitcoinology.vercel.app |
Function Durations:
| Route | Max Duration |
|---|---|
/api/query | 60 seconds |
/api/playbook | 120 seconds |
/api/cron/check-alerts | Default |
Supabase
| Property | Value |
|---|---|
| Project ID | wfszmevxkxbnprzfafoi |
| Region | us-west-2 |
| Postgres | 17.6.1 |
| Extensions | pgvector (halfvec, HNSW) |
| Auth | Google OAuth, Magic Link |
Qdrant Cloud
- Collection:
beliefs - Dimensions: 1,536
- Distance: Cosine similarity
Authentication Flow
Auth Configuration:
| Setting | Value |
|---|---|
| Site URL | https://bitcoinology.beliefengines.io |
| Redirect URLs | https://bitcoinology.beliefengines.io/** |
http://localhost:3000/** | |
https://*-ryanchiera-4864s-projects.vercel.app/** |
Security Headers
Applied via next.config.mjs:
| Header | Value |
|---|---|
| Content-Security-Policy | Script/style/img/connect sources |
| X-Frame-Options | DENY |
| X-Content-Type-Options | nosniff |
| Referrer-Policy | strict-origin-when-cross-origin |
| Permissions-Policy | camera=(), microphone=(), geolocation=() |
Environment Variables
Observability (Planned)
Trigger.dev Integration:
- Search pipeline becomes durable tasks: EMBED → SCAN → MATCH → RANK → SYNTH
- Each step produces observability traces
- Dashboard shows every run with step-by-step timing
- Free tier: 500 runs/month; Hobby: $25/month for 25K runs
DevOps Workflow
- PRs are the artifact of record
- Auto-merge on approval (PR Monitor checks every 15 min)
- Vercel auto-deploys on merge to main
- Ryan gets Telegram notifications for results