---
title: "Deploy Instatic CMS - SQLite"
description: "Design, build and manage powerful static sites from state-of-the-art CMS"
category: "CMS"
url: https://railway.com/deploy/instatic-cms-sqlite
---

# Deploy Instatic CMS - SQLite

Design, build and manage powerful static sites from state-of-the-art CMS

**[Deploy Instatic CMS - SQLite on Railway](https://railway.com/template/instatic-cms-sqlite)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/instatic-cms-sqlite/manifest.json

- **Creator:** Instatic
- **Category:** CMS
- **Total deploys:** 1,387

## Template content

### corebunch/instatic:latest https://raw.githubusercontent.com/CoreBunch/Instatic/4a6d4403925db15977e0e5af2a1b8f720f07334a/public/favicon.svg

- **Image:** ghcr.io/corebunch/instatic:latest
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host Instatic CMS with SQLite on Railway

Instatic is an open-source, self-hosted CMS with a built-in visual editor, real-time co-editing, and a first-class plugin system. Pages publish as plain, semantic HTML and hand-clean CSS, with no framework runtime shipped to your visitors.

Read more: https://instatic.com

## About Hosting Instatic CMS with SQLite

This template runs the official Instatic Docker image as a single Bun service backed by SQLite, so there is no separate database to provision or pay for. A Railway volume mounted at `/app/storage` holds the database, uploaded media, fonts, plugin packages, and published pages, so everything survives redeploys. Railway provides the public HTTPS domain, health checks, and the generated encryption key. Open the URL after the first deploy and create your owner account.

## Common Use Cases

- Personal sites, portfolios, and blogs edited visually
- Small business and marketing sites that need fast, framework-free pages
- Agencies hosting a client site the client can edit themselves
- Teams editing pages together in real time
- Evaluating Instatic before moving to a Postgres-backed install

## Dependencies for Instatic CMS with SQLite Hosting

- Bun runtime (bundled in the Docker image)
- SQLite (embedded, stored on the Railway volume)
- Railway volume for the database, uploads, and published pages

### Deployment Dependencies

- Instatic source code: https://github.com/CoreBunch/instatic
- Docker image: https://github.com/CoreBunch/instatic/pkgs/container/instatic
- Docker deployment guide: https://github.com/CoreBunch/instatic/blob/main/docs/deployment/docker-image.md
- Backup and restore guide: https://github.com/CoreBunch/instatic/blob/main/docs/deployment/backup-restore.md

### Implementation Details

The service is preconfigured with:

- Volume mounted at `/app/storage`
- `DATABASE_URL=sqlite:/app/storage/data/cms.db`
- `UPLOADS_DIR=/app/storage/uploads`
- `STATIC_DIR=/app/dist`
- `PUBLIC_ORIGIN=https://${{RAILWAY_PUBLIC_DOMAIN}}`
- `INSTATIC_SECRET_KEY` generated on deploy. Save it in your password manager: losing it means AI provider keys, plugin secrets, and 2FA must be set up again.
- Port `8080`, health check at `/health`

To use a custom domain, add it to `PUBLIC_ORIGIN` as a second comma-separated entry, or sign-in will fail with "invalid origin".

## Why Deploy Instatic CMS with SQLite on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Instatic CMS with SQLite on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [Libredesk - Complete Setup](https://railway.com/deploy/libredesk-complete-setup) — Complete self-hosted omnichannel customer support desk.
- [Paperless-ngx](https://railway.com/deploy/paperless-ngx-3) — Paperless-ngx — document management with OCR and full-text search
- [Instatic CMS - Postgres](https://railway.com/deploy/instatic-cms-postgres) — Design, build and manage powerful static sites from state-of-the-art CMS

Open this page in a browser: https://railway.com/deploy/instatic-cms-sqlite
