{
  "manifest_version": "1",
  "slug": "ghost",
  "title": "Ghost",
  "headline": "Self-host Ghost",
  "description": "Run Ghost 6 with Docker and MySQL 8.4 on a VM of its own: Ghost Admin behind exe.dev login, members and newsletters, nightly backups, your domain.",
  "category": "web-apps",
  "tags": [
    "ghost",
    "ghost cms",
    "self-host ghost",
    "ghost docker",
    "newsletter",
    "memberships",
    "substack alternative",
    "blog",
    "mysql",
    "activitypub"
  ],
  "url": "https://exe.dev/deploy/ghost",
  "markdown_url": "https://exe-staging.dev/deploy/ghost.md",
  "upstream": {
    "website": "https://ghost.org",
    "source": "https://github.com/TryGhost/Ghost",
    "docs": "https://docs.ghost.org",
    "license": "MIT"
  },
  "example_vm_name": "my-ghost",
  "time": "10 minutes",
  "stack": [
    {
      "name": "Caddy 2.11",
      "detail": "the official caddy image; the exe.dev login gate for /ghost, and the social web routes",
      "port": 8000,
      "data": "~/ghost/caddy"
    },
    {
      "name": "Ghost 6",
      "detail": "the official ghost image (Node.js 22), under Docker Compose",
      "data": "~/ghost/content"
    },
    {
      "name": "MySQL 8.4 LTS",
      "detail": "the official mysql image, reachable only from Ghost",
      "data": "~/ghost/mysql"
    },
    {
      "name": "exe.dev sign-in for Ghost Admin",
      "detail": "a 30-line Ghost SSO adapter that trusts exe.dev's login",
      "data": "~/ghost/content/adapters/sso/exe-dev"
    },
    {
      "name": "Nightly backups",
      "detail": "database, content, and settings; keeps a week",
      "data": "~/ghost/backups"
    }
  ],
  "access": [
    {
      "url": "https://my-ghost.exe.xyz/",
      "who": "private",
      "what": "your publication, until you make it public"
    },
    {
      "url": "https://my-ghost.exe.xyz/ghost/",
      "who": "private",
      "what": "Ghost Admin, for the exe.dev accounts you list, even when the site is public"
    }
  ],
  "delivers": [
    "Ghost 6 with MySQL 8.4 under Docker Compose, restarting after a reboot.",
    "Ghost's setup screen waiting at your private URL, for you to name the publication and create the owner account.",
    "Ghost Admin open only to exe.dev accounts you list, and signed in by your exe.dev login, even after the site goes public.",
    "Search, member sign-up, comments, and the social web working for visitors once the site is public.",
    "Nightly backups of the database, images, themes, and settings, keeping a week."
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe-staging.dev/new?prompt=Set%20up%20Ghost%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe-staging.dev%2Fdeploy%2Fghost.md%3Fvia%3Ddeploy%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-ghost.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-ghost.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20Ghost%206%20with%20MySQL%208.4%20under%20Docker%20Compose%2C%20restarting%20after%20a%20reboot.%0A-%20Ghost%27s%20setup%20screen%20waiting%20at%20your%20private%20URL%2C%20for%20you%20to%20name%20the%20publication%20and%20create%20the%20owner%20account.%0A-%20Ghost%20Admin%20open%20only%20to%20exe.dev%20accounts%20you%20list%2C%20and%20signed%20in%20by%20your%20exe.dev%20login%2C%20even%20after%20the%20site%20goes%20public.%0A-%20Search%2C%20member%20sign-up%2C%20comments%2C%20and%20the%20social%20web%20working%20for%20visitors%20once%20the%20site%20is%20public.%0A-%20Nightly%20backups%20of%20the%20database%2C%20images%2C%20themes%2C%20and%20settings%2C%20keeping%20a%20week.%0A%0ARead%20the%20whole%20recipe%2C%20including%20the%20closed%20details.%20For%20initial%20setup%2C%0Afollow%20%22Install%20by%20hand%22%20from%20top%20to%20bottom%3A%20Docker%2C%20~%2Fghost%20with%20.env%2C%0Aghost.env%20and%20compose.yaml%2C%20the%20Caddyfile%2C%20the%20owner%27s%20email%20in%0A~%2Fghost%2Fcaddy%2Fstaff-emails%20%28from%20the%20reflection%20integration%3B%20if%20that%0Afails%2C%20ask%20the%20owner%29%2C%20the%20exe.dev%20sign-in%20adapter%2C%20starting%20Ghost%2C%20and%0Athe%20backup%20timer.%20Never%20overwrite%20an%20existing%20.env%2C%20ghost.env%20or%0Astaff-emails.%20Don%27t%20fill%20in%20Ghost%27s%20setup%20screen%20yourself%2C%20and%20don%27t%0Amake%20the%20site%20public%2C%20add%20a%20domain%2C%20set%20up%20email%2C%20Mailgun%20or%20Stripe%2C%0Aimport%20anything%2C%20or%20run%20the%20Restore%20or%20Update%20instructions%20during%0Ainitial%20setup%3B%20the%20walkthrough%20sections%20are%20for%20the%20owner%20afterwards.%0ACheck%20the%20login%20gate%20on%20localhost%20as%20%22Start%20Ghost%22%20shows.%20Ghost%20logs%0A%22Failed%20to%20send%20email%22%20until%20email%20is%20set%20up%3B%20that%27s%20expected.%20Do%20not%0Areboot.%20Finish%20with%20https%3A%2F%2F%3Cvm%3E.exe.xyz%2Fghost%2F%20and%20ask%20the%20owner%20to%0Aopen%20it%20and%20fill%20in%20Ghost%27s%20setup%20screen%20with%20the%20same%20email%20they%20use%0Afor%20exe.dev.%20Don%27t%20paste%20the%20database%20passwords%20into%20the%20chat%3B%20say%0Athey%20are%20in%20~%2Fghost%2F.env.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open.%0A",
    "terminal": "curl -fsSL https://exe-staging.dev/deploy/ghost/prompt.txt | ssh exe.dev new --prompt=/dev/stdin",
    "prompt": "Set up Ghost on this VM by following the exe.dev recipe at https://exe-staging.dev/deploy/ghost.md?via=deploy from top to bottom.\n\nThe recipe's example VM name is my-ghost. This VM's name is the output of `hostname`: use it wherever the recipe writes my-ghost. Skip the step that creates the VM; you are on it.\n\nYou are done when all of these are true. Check each one yourself:\n- Ghost 6 with MySQL 8.4 under Docker Compose, restarting after a reboot.\n- Ghost's setup screen waiting at your private URL, for you to name the publication and create the owner account.\n- Ghost Admin open only to exe.dev accounts you list, and signed in by your exe.dev login, even after the site goes public.\n- Search, member sign-up, comments, and the social web working for visitors once the site is public.\n- Nightly backups of the database, images, themes, and settings, keeping a week.\n\nRead the whole recipe, including the closed details. For initial setup,\nfollow \"Install by hand\" from top to bottom: Docker, ~/ghost with .env,\nghost.env and compose.yaml, the Caddyfile, the owner's email in\n~/ghost/caddy/staff-emails (from the reflection integration; if that\nfails, ask the owner), the exe.dev sign-in adapter, starting Ghost, and\nthe backup timer. Never overwrite an existing .env, ghost.env or\nstaff-emails. Don't fill in Ghost's setup screen yourself, and don't\nmake the site public, add a domain, set up email, Mailgun or Stripe,\nimport anything, or run the Restore or Update instructions during\ninitial setup; the walkthrough sections are for the owner afterwards.\nCheck the login gate on localhost as \"Start Ghost\" shows. Ghost logs\n\"Failed to send email\" until email is set up; that's expected. Do not\nreboot. Finish with https://\u003cvm\u003e.exe.xyz/ghost/ and ask the owner to\nopen it and fill in Ghost's setup screen with the same email they use\nfor exe.dev. Don't paste the database passwords into the chat; say\nthey are in ~/ghost/.env.\n\nFinish with the URLs I should open.\n",
    "prompt_url": "https://exe-staging.dev/deploy/ghost/prompt.txt"
  },
  "published": "2026-11-21",
  "updated": "2026-11-21",
  "verified": "2026-11-21",
  "related": [
    "wordpress",
    "mysql",
    "docker-compose",
    "dev-test-prod",
    "medusa",
    "payload"
  ],
  "alternatives": [
    "Ghost(Pro)",
    "Substack",
    "beehiiv",
    "Medium"
  ],
  "files": [
    "https://exe-staging.dev/deploy/ghost/Caddyfile",
    "https://exe-staging.dev/deploy/ghost/backup.sh",
    "https://exe-staging.dev/deploy/ghost/exe-dev-sso.js"
  ]
}
