What is Ghost?
Ghost is what serious independent publishing runs on: a fast editor, built-in newsletters, paid memberships with Stripe, and themes that look professional out of the box. The open-source core is the same software Ghost(Pro) hosts - which means the only question is who runs it.
This template answers that with one app container plus a self-hosted MySQL 8 container (Ghost requires MySQL 8 in production; SQLite is dev-only upstream). Themes and images persist on a content volume; posts and members live in the database.
The economics favor self-hosting more as you grow: Ghost(Pro) tiers by members and staff, Substack takes 10% of paid subscriptions forever. Self-hosted Ghost has no member cap and keeps every cent of revenue - the compute it runs on is the whole infrastructure bill.
What you get
- The Ghost editor: clean writing, cards, embeds, SEO settings built in
- Native newsletters and paid memberships (Stripe, 0% platform fee)
- Self-hosted MySQL 8 container, auto-wired (Ghost requires MySQL 8)
- Custom themes - no Publisher-tier gate when self-hosting
- Content API + integrations; ActivityPub optional upstream
- Themes/images on a persistent volume, content in the database
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
ghost | site + admin at /ghost (:5000) | yes |
db | MySQL 8 container (local and on Lyngbak) | no |
Before you deploy
GHOST_URLset to the app’s https domain after first deploy - every link embeds it
Sizing and billing
1 GiB for Ghost is the realistic floor (Node + image processing); the MySQL container rides alongside. Email sending needs SMTP config; bulk newsletters additionally use Mailgun, set in the admin UI.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 9.77 GiB of volumes cost $0.15 per GiB a month ($1.47/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Ghost(Pro) | Starter | $18/mo | 1,000 members, 1 staff user; Publisher tier (custom themes) $29/mo |
| Substack | free + cut | Usage-based | 10% of paid-subscription revenue + Stripe fees, forever |
Self-hosted Ghost keeps 100% of subscription revenue and has no member or staff caps - the same software Ghost(Pro) runs. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does self-hosted Ghost compare to Ghost(Pro) and Substack?
Ghost(Pro) prices by members and staff (Starter covers 1,000 members and one staff user); Substack is free but takes 10% of paid-subscription revenue forever. Self-hosted Ghost on this stack has no member or staff caps and a 0% platform fee - past your first handful of paid subscribers, it wins on pure math.
Is it the same Ghost as the hosted product?
Yes - Ghost(Pro) runs the same open-source core. Self-hosting even removes a tier gate: custom themes work without the Publisher plan.
What about sending the newsletters?
Transactional email (signups, logins) needs SMTP - any provider works via the mail__* env vars. Bulk newsletter delivery uses Mailgun, configured in the admin UI; that is an upstream Ghost design decision, identical for any self-hosted Ghost.
Why does the template require MySQL?
Ghost supports only MySQL 8 in production (SQLite is dev-only upstream). This template ships a MySQL 8 container wired to Ghost out of the box, so that requirement is covered with no extra setup.