{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a5ab7187-ee51-4dbd-9298-1afa4523fb2e",
    "slug": "9VGb60",
    "name": "Ghost + SQLite",
    "description": "Self-hosted Ghost with SQLite and persistent volume.",
    "url": "https://railway.com/deploy/9VGb60",
    "upstream": {
      "image": "ghost:alpine"
    }
  },
  "services": [
    {
      "name": "ghost",
      "source": {
        "image": "ghost:alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/ghost/content",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "url",
      "service": "ghost",
      "description": "Provide a value for url.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "ghost",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "2368"
    },
    {
      "key": "database__debug",
      "service": "ghost",
      "description": "Provide a value for database__debug.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "mail__transport",
      "service": "ghost",
      "description": "Provide a value for mail__transport.",
      "secret": false,
      "strategy": "default",
      "default": "SMTP"
    },
    {
      "key": "database__client",
      "service": "ghost",
      "description": "Provide a value for database__client.",
      "secret": false,
      "strategy": "default",
      "default": "sqlite3"
    },
    {
      "key": "database__useNullAsDefault",
      "service": "ghost",
      "description": "Provide a value for database__useNullAsDefault.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "database__connection__filename",
      "service": "ghost",
      "description": "Provide a value for database__connection__filename.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/ghost/content/data/ghost.db"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "9VGb60"
      }
    },
    "cli": "railway deploy --template 9VGb60",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a5ab7187-ee51-4dbd-9298-1afa4523fb2e",
            "serializedConfig": {
              "services": {
                "9c98f4e5-7167-4408-afca-d87dfd07de8d": {
                  "name": "ghost",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "ghost:alpine"
                  },
                  "variables": {
                    "url": {
                      "isOptional": true,
                      "defaultValue": "https://${{RAILWAY_STATIC_URL}}"
                    },
                    "PORT": {
                      "isOptional": true,
                      "defaultValue": "2368"
                    },
                    "mail__from": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "database__debug": {
                      "isOptional": true,
                      "defaultValue": "false"
                    },
                    "mail__transport": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "SMTP"
                    },
                    "database__client": {
                      "isOptional": true,
                      "defaultValue": "sqlite3"
                    },
                    "mail__options__host": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "mail__options__port": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "mail__options__auth__pass": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "mail__options__auth__user": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "database__useNullAsDefault": {
                      "isOptional": true,
                      "defaultValue": "true"
                    },
                    "database__connection__filename": {
                      "isOptional": true,
                      "defaultValue": "/var/lib/ghost/content/data/ghost.db"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "9c98f4e5-7167-4408-afca-d87dfd07de8d": {
                      "mountPath": "/var/lib/ghost/content"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T17:21:10.838Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e6c869dff14f48b6ae2f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 70,
    "typical_build_seconds": 0,
    "typical_start_seconds": 15,
    "slowest_service": "ghost"
  }
}
