{
  "manifest_version": "1.0.0",
  "template": {
    "id": "98190619-401d-4106-b5e8-1abf0a7e3b16",
    "slug": "umbraco",
    "name": "Umbraco",
    "description": ".NET content management system for building and editing websites",
    "url": "https://railway.com/deploy/umbraco",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/umbraco-railway"
    }
  },
  "services": [
    {
      "name": "umbraco",
      "source": {
        "repo": "https://github.com/gridalpha/umbraco-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "umbraco",
      "description": "Port Railway health-checks",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DATA_DIR",
      "service": "umbraco",
      "description": "Volume mount path used by the entrypoint",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "ASPNETCORE_HTTP_PORTS",
      "service": "umbraco",
      "description": "Kestrel listening port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "umbraco",
      "description": "Window for the first-boot install",
      "secret": false,
      "strategy": "default",
      "default": "900"
    },
    {
      "key": "Umbraco__CMS__Imaging__HMACSecretKey",
      "service": "umbraco",
      "description": "Signs generated image URLs",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "Umbraco__CMS__Hosting__MachineIdentifier",
      "service": "umbraco",
      "description": "Stable instance id, keeps search indexes",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "Umbraco__CMS__Unattended__UnattendedUserName",
      "service": "umbraco",
      "description": "First backoffice user's display name",
      "secret": false,
      "strategy": "default",
      "default": "Administrator"
    },
    {
      "key": "Umbraco__CMS__Unattended__UnattendedUserEmail",
      "service": "umbraco",
      "description": "First backoffice user's email",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "Umbraco__CMS__WebRouting__UmbracoApplicationUrl",
      "service": "umbraco",
      "description": "Public base URL, required in production mode",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "Umbraco__CMS__Unattended__UnattendedUserPassword",
      "service": "umbraco",
      "description": "First backoffice user's password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "umbraco"
      }
    },
    "cli": "railway deploy --template umbraco",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "98190619-401d-4106-b5e8-1abf0a7e3b16",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "2e32b790-75e9-4148-8864-8ba0328354ed": {
                  "icon": "https://cdn.simpleicons.org/umbraco/ffffff.svg",
                  "name": "umbraco",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/umbraco-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks",
                      "defaultValue": "8080"
                    },
                    "DATA_DIR": {
                      "isOptional": false,
                      "description": "Volume mount path used by the entrypoint",
                      "defaultValue": "/data"
                    },
                    "ASPNETCORE_HTTP_PORTS": {
                      "isOptional": false,
                      "description": "Kestrel listening port",
                      "defaultValue": "8080"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": true,
                      "description": "Window for the first-boot install",
                      "defaultValue": "900"
                    },
                    "Umbraco__CMS__Imaging__HMACSecretKey": {
                      "isOptional": false,
                      "description": "Signs generated image URLs",
                      "defaultValue": "{{Umbraco__CMS__Imaging__HMACSecretKey}}"
                    },
                    "Umbraco__CMS__Hosting__MachineIdentifier": {
                      "isOptional": true,
                      "description": "Stable instance id, keeps search indexes",
                      "defaultValue": "railway"
                    },
                    "Umbraco__CMS__Unattended__UnattendedUserName": {
                      "isOptional": false,
                      "description": "First backoffice user's display name",
                      "defaultValue": "Administrator"
                    },
                    "Umbraco__CMS__Unattended__UnattendedUserEmail": {
                      "isOptional": false,
                      "description": "First backoffice user's email",
                      "defaultValue": "admin@example.com"
                    },
                    "Umbraco__CMS__WebRouting__UmbracoApplicationUrl": {
                      "isOptional": false,
                      "description": "Public base URL, required in production mode",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "Umbraco__CMS__Unattended__UnattendedUserPassword": {
                      "isOptional": false,
                      "description": "First backoffice user's password",
                      "defaultValue": "{{Umbraco__CMS__Unattended__UnattendedUserPassword}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "2e32b790-75e9-4148-8864-8ba0328354ed": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "umbraco",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T05:44:27.711Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T05:43:32.367Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_9a5aa51a987847b083d9",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 148,
    "typical_workflow_seconds": 6,
    "typical_queue_seconds": 0,
    "typical_init_seconds": 0,
    "typical_build_seconds": 40,
    "typical_deploy_seconds": 20,
    "typical_healthcheck_lag_seconds": 0,
    "slowest_service": "umbraco"
  }
}
