Deploy Instatic CMS - SQLite
Design, build and manage powerful static sites from state-of-the-art CMS
corebunch/instatic:latest
Just deployed
/app/storage
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.dbUPLOADS_DIR=/app/storage/uploadsSTATIC_DIR=/app/distPUBLIC_ORIGIN=https://${{RAILWAY_PUBLIC_DOMAIN}}INSTATIC_SECRET_KEYgenerated 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.
Template Content
corebunch/instatic:latest
ghcr.io/corebunch/instatic:latest