---
title: "Deploy EmDash CMS"
description: "EmDash CMS blog on Node with SQLite, uploads volume and admin gateway"
category: "CMS"
url: https://railway.com/deploy/emdash-cms-1
---

# Deploy EmDash CMS

EmDash CMS blog on Node with SQLite, uploads volume and admin gateway

**[Deploy EmDash CMS on Railway](https://railway.com/template/emdash-cms-1)**

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

- **Creator:** Anton Orel's Projects
- **Category:** CMS
- **Total deploys:** 3

## Template content

### EmDash

- **Image:** caddy:2.11.9-alpine@sha256:003a97808e781aa9f7e75cc2f43d34d461099031faf5e20faefb9f61126836f0
- **Start command:** `/bin/sh -ec "printf %s 'H4sIAAAAAAACA81XbVPbRhD+jH7FVoaCGWRRpmmn0CR1AmmZaYLHdqa0kHgO6WRr0FvvJMDF/Pc+eyfZxjYz/VhmQtDd7dtzu8/utb7xb+LM1xOnRWfpqdATKqqbJA5oLEp5L6a0916E4bR9QOVEUinTIsHGrqY8S6bNWS3VXRzIDg1xRselPIC6uNSUyjAWJLKwVg65Mr+VmScqqMvKOICykPpng6E59fF9j7q9c026FI32DnSxXhGmcUaFyGRizrI/Uax06akqgwtlVbAsZRIafxsOe/ROaDgXKBmyKZFodutGBqLSkiosJbVYrCnIEZksZYMC/tYLE3QXI6xcsTJ4zBtQZT0SQZBDWYf68u9KaojdT3IYKEQ5gdoqCWGTIBdSGEeRVHAG0N1MySDLsbBbU2PtUx5KA6dUJBSLRXA2tMgC+jgr5UMJ3Vrf5ypkzydwFxFbNUqm+R2+IpWnRqHM7mKVZymMHhjYxBosrCSTbDHK1b1QIew5AIY8WTlOJOJkr02PJINJTm6dFh4uSJXHtL3v0ptvj05IPsQl/fD9CT1BBEBlIpUEdHoX/SH92h2e/dH9c/R5cNb/1P14Nl/odQeDPy76p/OF7unH808j/qKzj6fdwW+jbq+H1VOkyGB+atj/PBienY56/YvL87PBCYW5QyTvEIuLX5V8fb39uP3IPjwde08uNq/Iy8jdfjTbTy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FRK2oWO/RO5feac8hOTVparFCJPPkkcXZrI+RJmMYyk4oToMN6eIxjo/U1EKaoMeqaKXAig1vJs2JkG/jUhg0E2As44NUOsB4z54kEOn8R6U08rvLKFsedUHqk5Fg+FMbQ81uvVPxEe2/j9terr29bX/b3gOZs50jiXzTbeRXMdg4PZ9f4mfn+zL/uXHfe7vmz67ez1my73eZk2foF5JErNPrM0MiyvXp5g8mvPgQN59pr335cImBWesMz6dJIalO+UdzFawHK/xFcfNZ/I7B3reEXEljlFaA2uY/ERcb4o1FNSz5UJTDJm1vI3YKzzc1vXTo6PMTa00JoKbTnp99hdq+ne5e+XxN7fgP/WcziYURMNCN+FNFNoKZF2TRNs7u1YYKkVc7ng0/WvLFYEx15z8CzB5hKpeHP6eZpp7Zb3wJ69Jwt6XFOpU9rZ1b4aZ2eGieXYDCWWov3oXn+8QPtncQDSNn3oj5Bsd7YsrMsxdQC9HBVsMODh9GyPLPwpKrxxsP0UpbgCVOSdVLAzuorqLMBu7W0/L+CyR2MG6tjhwcz2vI71fPqJrrcgz1PhKIomdCbTk1v/FDe+VkFtI7efPvdYi5v6CukeVtntqrHZ9eRDzKoRxZ+hv9Xg86/xLlHK3kQAAA=' | base64 -d | gzip -dc >/tmp/gateway-start.sh; exec /bin/sh /tmp/gateway-start.sh"`
- **Health check:** /__gateway/health
- **Public domain:** Yes

### EmDash App

- **Source:** tech-progress/railway-template-emdash
- **Health check:** /_emdash/api/health

## Documentation

# Deploy and Host EmDash CMS on Railway

EmDash is a TypeScript CMS built on Astro, with passkey sign-in, a rich-text editor, a media library, scheduled publishing, full-text search, plugins, a REST API and an MCP server. This template runs EmDash 1.6.0 with its blog theme as a Node server, keeps all content and media on a Railway volume, and puts a password gateway in front of the admin panel and first-run setup.

## About Hosting EmDash CMS

The `EmDash App` service builds upstream's blog template on Astro's Node adapter and stores the SQLite database, uploaded media and sign-in sessions on one 5 GB volume at `/data`, so posts, images, users and passkeys survive restarts and redeploys. EmDash's built-in scheduler publishes scheduled posts inside the same process.

The `EmDash` service is a Caddy gateway and the only public service. A fresh EmDash lets the first visitor create the admin account, so the gateway asks for a generated password (`GATEWAY_USERNAME` and `GATEWAY_PASSWORD` on the `EmDash` service) before the admin panel and setup. The public site, media, search, RSS and token-authenticated API calls stay open.

After deploying: open the `/_emdash/admin` path on the `EmDash` service's domain, enter the gateway credentials, then run the setup wizard and create your passkey.

## Why Deploy EmDash CMS on Railway

- Runs EmDash on Node, not only on Cloudflare Workers, with SQLite full-text search working.
- No first-visit takeover: setup stays behind a generated password.
- Content, media and sessions on a persistent volume; images and dependencies pinned.

## Common Use Cases

- A personal or company blog with a modern editor and passkey sign-in.
- A content site whose theme you customize in Astro, with content managed in the admin panel.
- A CMS that AI agents and scripts can edit through EmDash's REST API or MCP server.

## Dependencies for EmDash CMS Hosting

The template uses two services and one Railway volume. No external database, storage or account is needed.

### Deployment Dependencies

- [EmDash](https://github.com/emdash-cms/emdash) provides the CMS, admin panel, APIs and blog template.
- [Astro](https://astro.build) and its Node adapter render the site.
- [Caddy](https://caddyserver.com) provides the public gateway and its password prompt.
- [Railway](https://railway.com) provides the build, private networking, HTTPS and the persistent volume.


## 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/emdash-cms-1
