{
  "manifest_version": "1.0.0",
  "template": {
    "id": "46f5bdcf-403d-47c3-83e3-a7e3ee01867e",
    "slug": "stirling-pdf-2",
    "name": "Stirling PDF",
    "description": "All in one PDF multitool, OCR, merge, sign. Demo for myownsuite.org",
    "url": "https://railway.com/deploy/stirling-pdf-2",
    "upstream": {
      "repo_url": "https://github.com/rpuls/my-own-suite"
    }
  },
  "services": [
    {
      "name": "Stirling",
      "source": {
        "repo": "https://github.com/rpuls/my-own-suite"
      },
      "needs_volume": true,
      "volume_mount_path": "/configs",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "Stirling",
      "description": "Provide a value for TZ.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "LANGS",
      "service": "Stirling",
      "description": "Provide a value for LANGS.",
      "secret": false,
      "strategy": "default",
      "default": "en_GB"
    },
    {
      "key": "SERVER_HOST",
      "service": "Stirling",
      "description": "Provide a value for SERVER_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SYSTEM_DISABLEPIXEL",
      "service": "Stirling",
      "description": "Disables analytics/tracking pixel behavior and related consent-prompt tracking hooks.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SYSTEM_ENABLEPOSTHOG",
      "service": "Stirling",
      "description": "Explicitly disables PostHog analytics/reporting if supported by the image/runtime.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SYSTEM_ENABLEANALYTICS",
      "service": "Stirling",
      "description": "Turns off Stirling PDF's built-in analytics collection.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "stirling-pdf-2"
      }
    },
    "cli": "railway deploy --template stirling-pdf-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "46f5bdcf-403d-47c3-83e3-a7e3ee01867e",
            "serializedConfig": {
              "services": {
                "1e64c3a5-7160-4de5-818e-99710e311b78": {
                  "icon": "https://res.cloudinary.com/hczpmiapo/image/upload/v1771971007/Static%20assets/Logos/stirling-pdf_lsy4s8.png",
                  "name": "Stirling",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "rpuls/my-own-suite",
                    "branch": "main",
                    "rootDirectory": "/apps/stirling-pdf"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "UTC"
                    },
                    "LANGS": {
                      "isOptional": false,
                      "defaultValue": "en_GB"
                    },
                    "SERVER_HOST": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SYSTEM_DISABLEPIXEL": {
                      "description": "Disables analytics/tracking pixel behavior and related consent-prompt tracking hooks.",
                      "defaultValue": "true"
                    },
                    "SYSTEM_ENABLEPOSTHOG": {
                      "description": "Explicitly disables PostHog analytics/reporting if supported by the image/runtime.",
                      "defaultValue": "false"
                    },
                    "SYSTEM_ENABLEANALYTICS": {
                      "description": "Turns off Stirling PDF's built-in analytics collection.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "1e64c3a5-7160-4de5-818e-99710e311b78": {
                      "mountPath": "/configs"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T23:46:23.658Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_799323d4c2b94c74b408",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 205,
    "typical_build_seconds": 102,
    "typical_start_seconds": 10,
    "slowest_service": "Stirling"
  }
}
