{
  "id": "ghost",
  "name": "Ghost",
  "slogan": "A fast, modern publishing platform for blogs and newsletters, with built-in memberships.",
  "category": "Applications",
  "categorySlug": "applications",
  "tags": [
    "mysql",
    "multi-service"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "published",
    "arm64": "tested"
  },
  "trust": "verified",
  "verified": true,
  "status": "active",
  "installCommand": "levelrail-cli templates install ghost --name my-ghost",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/ghost/",
  "docsUrl": "https://ghost.org/docs/",
  "sourceRepo": "https://github.com/TryGhost/Ghost",
  "markdownUrl": "https://levelrail.com/templates/ghost.md",
  "jsonUrl": "https://levelrail.com/templates/ghost.json",
  "indexable": true,
  "description": "A fast, modern publishing platform for blogs and newsletters, with built-in memberships. Runs 2 containers (db, ghost), with ghost listening on port 2368; data is kept in named volumes.",
  "pinnedTag": "5",
  "licenseUrl": "https://github.com/TryGhost/Ghost/blob/main/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "mysql",
      "tag": "8.4",
      "ports": [],
      "volumes": [
        "ghost_db_data -> /var/lib/mysql"
      ]
    },
    {
      "name": "ghost",
      "image": "ghost",
      "tag": "5",
      "ports": [
        2368
      ],
      "volumes": [
        "ghost_data -> /var/lib/ghost/content"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "MYSQL_DATABASE",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "MYSQL_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "MYSQL_ROOT_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "MYSQL_USER",
      "kind": "preset"
    },
    {
      "service": "ghost",
      "name": "database__client",
      "kind": "preset"
    },
    {
      "service": "ghost",
      "name": "database__connection__database",
      "kind": "preset"
    },
    {
      "service": "ghost",
      "name": "database__connection__host",
      "kind": "preset"
    },
    {
      "service": "ghost",
      "name": "database__connection__password",
      "kind": "generated"
    },
    {
      "service": "ghost",
      "name": "database__connection__user",
      "kind": "preset"
    },
    {
      "service": "ghost",
      "name": "url",
      "kind": "preset"
    }
  ],
  "verifiedTag": "5",
  "verifiedArches": [
    "arm64"
  ],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy ghost --name my-ghost",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/ghost/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy ghost --name my-ghost"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/ghost/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
