NewOut Plane raises funding, backed by Maza VenturesRead the announcement
CMS

Ghost

Overview

Deploy Ghost on Out Plane — a modern, open-source publishing platform purpose-built for professional blogs, newsletters, and membership sites. Ghost is written in Node.js and delivers a fast, clean authoring experience with a built-in WYSIWYG editor, native email newsletter support, and a member management system for paid subscriptions.

Unlike WordPress, Ghost focuses exclusively on publishing. It ships with SEO best practices, structured data, social metadata, and AMP support out of the box. The built-in membership and subscription engine lets you monetize content directly without third-party plugins. Self-hosting on Out Plane gives you full ownership of subscriber data and email lists.

Perfect for independent publishers, developer blogs, newsletters, and media startups that want a clean, fast CMS with native subscription management and zero platform fees.


Ghost Self Hosted: Install Ghost with Docker and MySQL

Updated

Ghost is an open source publishing platform for blogs, newsletters and paid memberships, built on Node.js and MySQL 8. To run Ghost self hosted on Out Plane, deploy two apps from official Docker images: mysql:8.4 on a private port with a volume, and ghost:6.76.0 on port 2368 with a volume mounted at /var/lib/ghost/content.

The Deploy Ghost button opens the Out Plane console, where you create both apps. Below are the production settings, mail, domain, updates, backups and cost. For other apps, browse the templates or read the best Docker containers to self-host.

What You Need

  • Ghost on op-34 (1 vCPU, 2 GB). Ghost asks for at least 1 GB of memory in its hosting guide.
  • MySQL 8 on op-22 (1 vCPU, 512 MB) for a small blog. MySQL 8 is the only database Ghost supports in production, so Out Plane's managed PostgreSQL does not fit here.
  • Two 10 GB volumes, one per app. Volume sizes are fixed at creation, from 10 to 50 GB, so size the Ghost volume for your images up front.
  • An SMTP account. Ghost uses it for staff invites, password resets and member login links, so members cannot sign in without it.
  • A Mailgun account, only if you send posts as email newsletters.

Both apps and 20 GB of volumes fit inside the Starter plan limits of 3 apps and 30 GB.

Deploy Ghost on Out Plane

Ghost's official Docker Compose example runs two services, ghost and db. On Out Plane each becomes an app, and they talk over the private address ghostdb:3306. Deploy the database first so Ghost finds it on first boot.

Step 1: Deploy MySQL

  1. In the console, create an application, choose Image, enter mysql:8.4 and name it ghostdb.
  2. Under Ports, add port 3306 with the TCP scheme and leave it private.
  3. Set the Start command to docker-entrypoint.sh mysqld --datadir=/var/lib/mysql/data. A freshly formatted volume can contain a lost+found folder, and MySQL refuses to initialize a data directory that holds anything except dot files. The subfolder avoids that.
  4. Under Environment variables, paste these lines with your own passwords:
bash
MYSQL_ROOT_PASSWORD=<long-random-password>
MYSQL_DATABASE=ghost
MYSQL_USER=ghost
MYSQL_PASSWORD=<another-long-random-password>
  1. Under Volumes, select Create volume, choose 10 GB and set the mount path to /var/lib/mysql.
  2. Pick op-22 under Compute, select Deploy app and wait until the app is running.

The image reads these only while the data directory is empty, so changing them later does not change stored passwords.

Step 2: Deploy Ghost

  1. Create a second application from the image ghost:6.76.0 and name it ghostblog.
  2. Add port 2368, scheme HTTP, and make it public. The image already listens on all interfaces on that port. The console previews the address, for example https://ghostblog-2368-acme.outplane.app, where acme is your team.
  3. Add the environment variables, using that address for url:
bash
url=https://ghostblog-2368-acme.outplane.app
database__client=mysql
database__connection__host=ghostdb
database__connection__port=3306
database__connection__user=ghost
database__connection__password=<MYSQL_PASSWORD from step 1>
database__connection__database=ghost
  1. Create a 10 GB volume mounted at /var/lib/ghost/content. On first start the image copies the default theme there, and uploads land there too.
  2. Pick op-34 and select Deploy app. If the address after the first deploy differs from url, update url and deploy again.
  3. Open /ghost on your address and create the owner account. The first account created there owns the site, so do it before you share the link.

The same setup from the outplane CLI:

bash
outplane volume create ghostdbdata --size 10 --json --fields id
outplane app create ghostdb --image mysql:8.4 --port 3306:tcp --size op-22 \
  --start-command "docker-entrypoint.sh mysqld --datadir=/var/lib/mysql/data" \
  --env MYSQL_ROOT_PASSWORD=<root-password> --env MYSQL_DATABASE=ghost \
  --env MYSQL_USER=ghost --env MYSQL_PASSWORD=<db-password> \
  --volume <DB_VOLUME_ID>:/var/lib/mysql

outplane volume create ghostcontent --size 10 --json --fields id
outplane app create ghostblog --image ghost:6.76.0 --port 2368:http:public --size op-34 \
  --env url=https://ghostblog-2368-acme.outplane.app \
  --env database__client=mysql --env database__connection__host=ghostdb \
  --env database__connection__port=3306 --env database__connection__user=ghost \
  --env database__connection__password=<db-password> \
  --env database__connection__database=ghost \
  --volume <CONTENT_VOLUME_ID>:/var/lib/ghost/content
outplane app get ghostblog

Run outplane app get on both apps to confirm each volume is mounted. See also Deploy a Prebuilt Image.

Ghost Docker Environment Variables

Every Ghost setting can be an environment variable, with double underscores for nested keys, as the Ghost configuration docs describe. Changes apply on the next deployment, so use Save & deploy in Settings → Environment, or outplane env set KEY=VALUE --app ghostblog --deploy.

Ghost's configuration docs list mail as a required setting. Add your SMTP provider's details:

bash
mail__transport=SMTP
mail__options__host=smtp.example.com
mail__options__port=587
mail__options__secure=false
mail__options__auth__user=<smtp-user>
mail__options__auth__pass=<smtp-password>
[email protected]

With port 587 and secure=false, Ghost's mail library upgrades the connection to TLS through STARTTLS, per the Nodemailer SMTP docs. Newsletters are separate: Ghost sends bulk email only through the Mailgun API, never SMTP, as its Mailgun FAQ explains.

Custom Domain and HTTPS

  1. Open Domains → Add domain, enter blog.example.com, and pick ghostblog with port 2368.
  2. Open the DNS dialog. Add a CNAME to domains-management.outplane.app for a subdomain, or the A record shown there for an apex domain.
  3. Change url to https://blog.example.com and select Save & deploy.

HTTPS is issued automatically once DNS resolves, usually within 5 to 30 minutes. If Ghost Admin reports "access denied from url", url does not match the address in your browser. From the CLI, run outplane domain add blog.example.com --app ghostblog --port 2368, then outplane domain dns blog.example.com.

Updates and Backups

Image apps never update themselves. Ghost publishes releases every week, per its update docs. To move to a new version, open Deployments → Deploy and enter the full reference, such as ghost:6.77.0, or run:

bash
outplane deploy create ghostblog --image ghost:6.77.0 --wait

Three Ghost rules matter here:

  • Move to the latest 6.x minor before a major upgrade, or you can hit database errors, as the Ghost Docker image docs warn.
  • Ghost migrates the database when a new version boots, so deploying the previous tag again is not a clean rollback. Take a dump first.
  • The same image docs say that from Ghost 7.0 the content folder moves to /home/ghost/content, and the container refuses to start while existing content is mounted at the old path. Plan to move the volume mount together with the 7.x image.

Out Plane does not snapshot volumes, so keep two kinds of backup:

  • Admin export. In Ghost Admin, go to Settings → Advanced → Import/Export, open Export and choose All data. The zip holds export.json, members.csv, your themes and routing files. It leaves out comments, member activity and media files, per Ghost's backup guide. Keep a copy outside Out Plane.
  • Database dump before updates. Open a shell on the database app with outplane app shell ghostdb, or its Shell tab, and run:
bash
mysqldump -uroot -p"$MYSQL_ROOT_PASSWORD" ghost > /var/lib/mysql/ghost-before-update.sql

The file sits on the volume beside the data folder, so it survives redeploys. After a failed upgrade, restore it in the same shell with mysql -uroot -p"$MYSQL_ROOT_PASSWORD" ghost < /var/lib/mysql/ghost-before-update.sql, then deploy the previous Ghost tag. It shares a disk with the database, so keep the off-site export too. Neither backup holds your images, which live only on the Ghost volume, so keep the originals of what you upload.

Ghost Hosting Cost on Out Plane

Compute is billed per instance-minute and volumes per GB per month, as listed on the pricing page:

ItemRate30-day month
ghostblog on op-34$0.0004167 per minute$18.00
ghostdb on op-22$0.0001389 per minute$6.00
Two 10 GB volumes$0.30 per GB per month$6.00
Usage total$30.00

Starter costs $9 a month with $9 of usage included, so this setup comes to $30 a month. On Pro ($29 with $15 included) it comes to $44. Bandwidth and SSL are not billed. Starter and Pro both start with a 14 day free trial.

Self-Hosted Ghost vs Ghost(Pro)

On ghost.org/pricing, checked on 11 November 2026, Ghost(Pro) Starter costs $15 a month billed yearly, or $18 monthly, for up to 1,000 members. Publisher, the first plan with custom themes and paid subscriptions, lists $29 a month billed yearly for 1,000 members, and prices rise with members. The Out Plane bill does not depend on members, but you run MySQL, mail and updates yourself.

FAQ

Is self-hosted Ghost free?

The software is, under the MIT license. You pay for hosting, about $30 a month on Out Plane for this setup, plus your SMTP and Mailgun plans.

Can Ghost use PostgreSQL or SQLite?

Not in production. Ghost supports only MySQL 8 there, and the Docker image allows SQLite only in development mode. That is why this guide runs MySQL as an app instead of using Out Plane's managed PostgreSQL.

Can I deploy Ghost's Docker Compose file as is?

Out Plane runs one image per app, so ghost and db become the two apps above. The Caddy web server from Ghost's Docker tooling is not needed, because Out Plane serves HTTPS. The optional ActivityPub and analytics services are outside this guide.

Can I run more than one Ghost instance?

No. Ghost does not support clustering, per its hosting docs, and an Out Plane app with a volume runs one instance. For more headroom, move to a larger size with outplane app scale ghostblog --size op-46.



Start deploying in minutes

Connect your GitHub repository and deploy your first application today. Start with a 14-day free trial.

Start 14-day free trial