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:

  1. Push your Sailor CMS project to GitHub
  2. Connect your GitHub repository to Vercel
  3. Set your environment variables
  4. 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


Table of contents


Copyright © 2024 Sailor CMS. Distributed under the MIT License.