Deploy Instatic
Visual CMS (Webflow/WordPress alternative) with Postgres, owner preset
Just deployed
/app/storage
Just deployed
/var/lib/postgresql/data
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
- Instatic 0.0.23 release
- Instatic deployment docs
- Template repo, README and CHANGELOG
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.
Template Content
ADMIN_EMAIL
Email for the Instatic owner account created on first boot (your login)