VPS & Production Server Deployment
FineTuneMyAI uses a decoupled architecture: your VPS serves as the sovereign control plane, while your local Apple Silicon Macs or Linux RTX workstations act as zero-data-leak compute nodes.
Control Plane vs. Compute Sovereignty
You do not need expensive cloud GPUs on your VPS. The VPS runs the Next.js control plane, model registry metadata, and MariaDB database. Compute-heavy LoRA/QLoRA training and high-throughput inference run on your paired physical workstations via the secure pairing protocol.
1. Server Specifications
2. Method A: Turnkey Docker Compose (Recommended)
Fastest SetupDocker Compose orchestrates MariaDB 11.4 and the Next.js production web container with automated database initialization, migration, and health checks.
3. Method B: Native Systemd Service
Run natively on the host using Node.js 20 LTS and systemd for minimal overhead and automatic background recovery.
4. Method C: Automated Deployment Script
Our interactive deployer checks system resources, configures swap to prevent OOM errors, generates cryptographically secure JWT secrets, and runs health verification.
5. Nginx Reverse Proxy & Free SSL
FineTuneMyAI includes pre-configured Nginx reverse proxy templates supporting Server-Sent Events (SSE) streaming for real-time inference and training progress, plus 500MB payload support for dataset uploads.
6. Verification & Health Monitoring
The control plane exposes a lightweight health endpoint at /api/health compatible with Uptime Kuma, AWS Target Groups, and Docker healthchecks: