---
title: "Deploy Ghost + SQLite"
description: "Self-hosted Ghost with SQLite and persistent volume."
category: "Blogs"
url: https://railway.com/deploy/9VGb60
---

# Deploy Ghost + SQLite

Self-hosted Ghost with SQLite and persistent volume.

**[Deploy Ghost + SQLite on Railway](https://railway.com/template/9VGb60)**

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

- **Creator:** alphasec
- **Category:** Blogs
- **Total deploys:** 266

## Template content

### ghost

- **Image:** ghost:alpine
- **Public domain:** Yes

## Documentation

###Overview
[Ghost](https://ghost.org/) is a full-featured blogging platform and an open-source alternative to Medium, Substack, WordPress etc. It offers a comprehensive set of features to publish content, send newsletters, and offer paid subscriptions to members. It also offers detailed engagement analytics for your audience and content.

###Template
This template deploys the community-maintained [Docker](https://hub.docker.com/_/ghost) image, along with an attached volume and a local SQLite database, so that configuration and content can persist across deployments.

Note: Once deployed, launch https://[RAILWAY_URL]/ghost to access the admin page and set up Ghost for the first time.

###Mail Configuration
If you want to send transactional emails, please configure the following optional variables with valid details:
* `mail__from`: 
* `mail__transport`: SMTP
* `mail__options__host`: 
* `mail__options__port`:
* `mail__options__auth__user`:
* `mail__options__auth__pass`: 

For bulk email newsletter delivery, you'll also need to configure the Mailgun service from Ghost Settings.

Note: This template should ideally be used for non-critical or lightweight blogs. For a production-ready Ghost deployment with MySQL, see [this template](https://railway.app/template/tcsVLc?referralCode=alphasec) instead.

## Similar templates

- [Pixelfed](https://railway.com/deploy/OZSdEw) — Explore + Share beautiful photos and videos on the Fediverse
- [Hexo](https://railway.com/deploy/hexo) — Hexo — fast static blog framework with admin editor and S3 media storage
- [Bluesky PDS (Atproto Spaces Alpha)](https://railway.com/deploy/bluesky-pds-atproto-spaces-alpha) — "The Atproto Spaces Alpha" version of Bluesky PDS.

Open this page in a browser: https://railway.com/deploy/9VGb60
