{
  "manifest_version": "1.0.0",
  "template": {
    "id": "93f1ed35-1f7b-4f76-9810-4e2981ead5fb",
    "slug": "ghost-1",
    "name": "Ghost",
    "description": "Ghost 6 with MySQL, your owner account created at deploy",
    "url": "https://railway.com/deploy/ghost-1",
    "upstream": {
      "repo_url": "https://github.com/dektionstudio/railway-template-images"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Ghost",
      "source": {
        "repo": "https://github.com/dektionstudio/railway-template-images"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/ghost/content",
      "http": true
    },
    {
      "name": "MySQL",
      "source": {
        "image": "mysql:8.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "url",
      "service": "Ghost",
      "description": "Public URL of the site. Change it when you add a custom domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "Ghost",
      "description": "Port Railway routes to",
      "secret": false,
      "strategy": "default",
      "default": "2368"
    },
    {
      "key": "NODE_ENV",
      "service": "Ghost",
      "description": "Production mode",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "server__host",
      "service": "Ghost",
      "description": "Listen on all interfaces",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "server__port",
      "service": "Ghost",
      "description": "Ghost port",
      "secret": false,
      "strategy": "default",
      "default": "2368"
    },
    {
      "key": "GHOST_ADMIN_URL",
      "service": "Ghost",
      "description": "Admin panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GHOST_SITE_TITLE",
      "service": "Ghost",
      "description": "Site title set at first start (change it later in Settings)",
      "secret": false,
      "strategy": "default",
      "default": "My Ghost site"
    },
    {
      "key": "database__client",
      "service": "Ghost",
      "description": "MySQL",
      "secret": false,
      "strategy": "default",
      "default": "mysql"
    },
    {
      "key": "GHOST_ADMIN_EMAIL",
      "service": "Ghost",
      "description": "Email of the owner account, created on first start. Sign in at /ghost with it and GHOST_ADMIN_PASSWORD",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "GHOST_ADMIN_PASSWORD",
      "service": "Ghost",
      "description": "Password of the owner account (generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "database__connection__host",
      "service": "Ghost",
      "description": "MySQL over the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "database__connection__port",
      "service": "Ghost",
      "description": "MySQL port",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "database__connection__user",
      "service": "Ghost",
      "description": "MySQL user",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "database__connection__database",
      "service": "Ghost",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "database__connection__password",
      "service": "Ghost",
      "description": "MySQL password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "security__staffDeviceVerification",
      "service": "Ghost",
      "description": "Ghost emails a code for new staff devices; without mail set up that locks you out. Turn it on after configuring mail",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Database for Ghost",
      "secret": false,
      "strategy": "default",
      "default": "ghost"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "MySQL root password (generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ghost-1"
      }
    },
    "cli": "railway deploy --template ghost-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "93f1ed35-1f7b-4f76-9810-4e2981ead5fb",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1a4deab1-6c06-4648-b4f3-a987990bddb9": {
                  "icon": "https://raw.githubusercontent.com/TryGhost/Ghost/8d5bded685b9b2019d47e298dc4594a1c4049557/apps/admin/src/assets/img/apple-touch-icon.png",
                  "name": "Ghost",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "dektionstudio/railway-template-images",
                    "rootDirectory": "/ghost"
                  },
                  "variables": {
                    "url": {
                      "isOptional": false,
                      "description": "Public URL of the site. Change it when you add a custom domain",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes to",
                      "defaultValue": "2368"
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Production mode",
                      "defaultValue": "production"
                    },
                    "server__host": {
                      "isOptional": false,
                      "description": "Listen on all interfaces",
                      "defaultValue": "::"
                    },
                    "server__port": {
                      "isOptional": false,
                      "description": "Ghost port",
                      "defaultValue": "2368"
                    },
                    "GHOST_ADMIN_URL": {
                      "isOptional": false,
                      "description": "Admin panel",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/ghost"
                    },
                    "GHOST_SITE_TITLE": {
                      "isOptional": false,
                      "description": "Site title set at first start (change it later in Settings)",
                      "defaultValue": "My Ghost site"
                    },
                    "database__client": {
                      "isOptional": false,
                      "description": "MySQL",
                      "defaultValue": "mysql"
                    },
                    "GHOST_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email of the owner account, created on first start. Sign in at /ghost with it and GHOST_ADMIN_PASSWORD",
                      "defaultValue": "{{GHOST_ADMIN_EMAIL}}"
                    },
                    "GHOST_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password of the owner account (generated)",
                      "defaultValue": "{{GHOST_ADMIN_PASSWORD}}"
                    },
                    "database__connection__host": {
                      "isOptional": false,
                      "description": "MySQL over the private network",
                      "defaultValue": "${{MySQL.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "database__connection__port": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "3306"
                    },
                    "database__connection__user": {
                      "isOptional": false,
                      "description": "MySQL user",
                      "defaultValue": "root"
                    },
                    "database__connection__database": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{MySQL.MYSQL_DATABASE}}"
                    },
                    "database__connection__password": {
                      "isOptional": false,
                      "description": "MySQL password",
                      "defaultValue": "${{MySQL.MYSQL_ROOT_PASSWORD}}"
                    },
                    "security__staffDeviceVerification": {
                      "isOptional": false,
                      "description": "Ghost emails a code for new staff devices; without mail set up that locks you out. Turn it on after configuring mail",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:2368": {
                        "port": 2368
                      }
                    }
                  },
                  "volumeMounts": {
                    "76ddc389-7037-4eda-910b-713a2286639c": {
                      "mountPath": "/var/lib/ghost/content"
                    }
                  }
                },
                "8dad78ed-26fe-49d9-a7ef-4dc472929586": {
                  "icon": "https://devicons.railway.com/i/mysql.svg",
                  "name": "MySQL",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mysql:8.4"
                  },
                  "variables": {
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "description": "Database for Ghost",
                      "defaultValue": "ghost"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL root password (generated)",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "4eb68b86-cab5-4752-9611-889636ac2ba3": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T04:14:39.819Z",
  "generator_version": "0.1.0"
}
