---
title: "Deploy Instatic"
description: "Visual CMS (Webflow/WordPress alternative) with Postgres, owner preset"
category: "CMS"
url: https://railway.com/deploy/instatic-2
---

# Deploy Instatic

Visual CMS (Webflow/WordPress alternative) with Postgres, owner preset

**[Deploy Instatic on Railway](https://railway.com/template/instatic-2)**

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

- **Creator:** Agaz Self-Host
- **Category:** CMS

## Template content

### Instatic https://raw.githubusercontent.com/CoreBunch/Instatic/v0.0.23/public/favicon.svg

- **Source:** https://github.com/aalfath/instatic-railway-template
- **Health check:** /health
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

## Documentation

# Deploy and Host Instatic on Railway

Instatic is an open-source, self-hosted visual CMS and an alternative to Webflow, Framer and WordPress. You design pages in a drag-and-drop editor with components, layouts and a media library, manage content and users, and publish the site as clean static HTML served by the same app. It is MIT-licensed.

## About Hosting Instatic

This template runs Instatic 0.0.23 (official image, pinned by version and digest) built from a public GitHub repo, plus Railway PostgreSQL. Instatic's uploads, fonts, plugins and runtime package cache live on a volume at `/app/storage`. Pages, users and settings live in Postgres. On first boot the start script runs the migrations and creates the owner account from your `ADMIN_EMAIL` and a generated password before the public port opens, so nobody else can claim a fresh site. After deploy, open `https://YOUR-DOMAIN/admin`, log in with `ADMIN_EMAIL` and the `ADMIN_PASSWORD` shown in the Instatic service's Variables tab, then change the password under your account.

## Common Use Cases

* Marketing sites, landing pages and portfolios built visually and published as fast static pages
* A self-hosted replacement for Webflow, Framer or WordPress with your own data and domain
* Small-team content editing with roles, a media library, forms and AI-assisted editing using your own provider key

## Dependencies for Instatic Hosting

* Instatic service (built from `aalfath/instatic-railway-template`, health check `/health`, volume `/app/storage`)
* PostgreSQL (Railway's Postgres service, its own volume)

### Deployment Dependencies

* [Instatic on GitHub](https://github.com/CoreBunch/Instatic)
* [Instatic 0.0.23 release](https://github.com/CoreBunch/Instatic/releases/tag/v0.0.23)
* [Instatic deployment docs](https://github.com/CoreBunch/Instatic/tree/v0.0.23/docs/deployment)
* [Template repo, README and CHANGELOG](https://github.com/aalfath/instatic-railway-template)

### Implementation Details

The only prompt is `ADMIN_EMAIL`. Generated on deploy: `ADMIN_PASSWORD` (24 characters), `INSTATIC_SECRET_KEY` (the base64 32-byte key that encrypts stored AI-provider keys and MFA secrets: never change it) and the Postgres password. `ADMIN_EMAIL` and `ADMIN_PASSWORD` are used only while no owner exists. Instatic reaches Postgres over the private network through `DATABASE_URL=${{Postgres.DATABASE_URL}}`. For a custom domain, add it to `PUBLIC_ORIGIN` as a second comma-separated entry, for example `https://${{RAILWAY_PUBLIC_DOMAIN}},https://YOUR-DOMAIN`.

It fits Railway's Free plan: tested with 0.5 GB RAM / 1 vCPU per service, Instatic idled at about 120 MB and stayed near 200 MB while uploading a large image and publishing. A crash exits non-zero, so Railway restarts it.

Updates: when the template repo's `main` moves to a new Instatic version, Railway shows "update available" in your project. Read the repo's CHANGELOG, back up Postgres and the volume, then apply it. Instatic migrates its database on start.

## Why Deploy Instatic 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 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-2
