You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Fly.io deployment config and GitHub Actions cron
Add fly.toml for one-command Fly.io deployment with persistent
SQLite volume, and a GitHub Actions workflow that triggers hourly
data collection via the /api/cron endpoint.
Made-with: Cursor
fly secrets set CURSOR_ADMIN_API_KEY=your_key CRON_SECRET=your_secret
286
+
fly deploy
287
+
# Dashboard at https://your-app.fly.dev
288
+
```
289
+
290
+
Set up hourly collection by adding `DASHBOARD_URL` and `CRON_SECRET` as [GitHub Actions secrets](https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions) — the included `.github/workflows/cron.yml` workflow triggers `/api/cron` every hour.
291
+
292
+
### Other cloud platforms
293
+
294
+
Any platform that supports Docker + persistent volumes works:
283
295
284
296
-**[Render](https://render.com)** — use the deploy button above, or `render.yaml` in this repo
285
297
-**[Railway](https://railway.app)** — create a project from this repo, attach a volume at `/app/data`
286
-
- **[Fly.io](https://fly.io)** — deploy with `fly launch`, create a volume for `/app/data`
287
298
288
299
> **Note:** Vercel is not supported — SQLite requires a persistent filesystem that Vercel's serverless functions don't provide.
0 commit comments