Deployment Guide
Sailor CMS is built with SvelteKit, which means it can be deployed anywhere Node.js applications can run. This section covers various deployment options and configurations.
Deployment Platforms
Modern Platforms
- Vercel - Zero-config deployments with automatic HTTPS
- Netlify - Git-based deployments with form handling
- Coolify - Self-hosted alternative to Heroku
Traditional Hosting
- VPS/Dedicated Servers - Full control over your hosting environment
- Docker - Containerized deployments for consistent environments
Database Options
- SQLite - File-based database, perfect for small to medium sites
- PostgreSQL - Robust database for high-traffic applications
- Turso - Edge SQLite database for global performance
Quick Deployment
The fastest way to get started is with Vercel:
- Push your Sailor CMS project to GitHub
- Connect your GitHub repository to Vercel
- Set your environment variables
- Deploy!
Learn more about specific deployment methods
Environment Configuration
Make sure to configure these essential environment variables for production:
# Database
DATABASE_URL="your-database-url"
# Authentication
BETTER_AUTH_SECRET="your-secret-key"
# File Storage (optional)
S3_BUCKET="your-s3-bucket"
S3_ACCESS_KEY_ID="your-access-key"
S3_SECRET_ACCESS_KEY="your-secret-key"
Complete Environment Variables Reference