{
  "manifest_version": "1.0.0",
  "template": {
    "id": "af89a3c1-9077-4e6f-85ca-09900765a01a",
    "slug": "string-pdf-editor",
    "name": "PDF Editor - 50+ Tools| String PDF",
    "description": "Edit, sign, merge, split, and convert PDFs fast with String PDF.",
    "url": "https://railway.com/deploy/string-pdf-editor",
    "upstream": {
      "image": "stirlingtools/stirling-pdf:latest-fat"
    }
  },
  "services": [
    {
      "name": "stirling-pdf",
      "source": {
        "image": "stirlingtools/stirling-pdf:latest-fat"
      },
      "needs_volume": true,
      "volume_mount_path": "/stirling-data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "UI_APPNAME",
      "service": "stirling-pdf",
      "description": "Provide a value for UI_APPNAME.",
      "secret": false,
      "strategy": "default",
      "default": "PDF Editor"
    },
    {
      "key": "METRICS_ENABLED",
      "service": "stirling-pdf",
      "description": "Provide a value for METRICS_ENABLED.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "UI_APPNAMENAVBAR",
      "service": "stirling-pdf",
      "description": "Provide a value for UI_APPNAMENAVBAR.",
      "secret": false,
      "strategy": "default",
      "default": "PDF Editor"
    },
    {
      "key": "JAVA_TOOL_OPTIONS",
      "service": "stirling-pdf",
      "description": "Provide a value for JAVA_TOOL_OPTIONS.",
      "secret": false,
      "strategy": "default",
      "default": "-Xms512m -Xmx4g"
    },
    {
      "key": "SYSTEM_MAXFILESIZE",
      "service": "stirling-pdf",
      "description": "Provide a value for SYSTEM_MAXFILESIZE.",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "SECURITY_ENABLELOGIN",
      "service": "stirling-pdf",
      "description": "Provide a value for SECURITY_ENABLELOGIN.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SYSTEM_DEFAULTLOCALE",
      "service": "stirling-pdf",
      "description": "Provide a value for SYSTEM_DEFAULTLOCALE.",
      "secret": false,
      "strategy": "default",
      "default": "en-US"
    },
    {
      "key": "DOCKER_ENABLE_SECURITY",
      "service": "stirling-pdf",
      "description": "Provide a value for DOCKER_ENABLE_SECURITY.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SECURITY_CUSTOMGLOBALAPIKEY",
      "service": "stirling-pdf",
      "description": "Provide a value for SECURITY_CUSTOMGLOBALAPIKEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SECURITY_INITIALLOGIN_PASSWORD",
      "service": "stirling-pdf",
      "description": "Provide a value for SECURITY_INITIALLOGIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SECURITY_INITIALLOGIN_USERNAME",
      "service": "stirling-pdf",
      "description": "Provide a value for SECURITY_INITIALLOGIN_USERNAME.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "string-pdf-editor"
      }
    },
    "cli": "railway deploy --template string-pdf-editor",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "af89a3c1-9077-4e6f-85ca-09900765a01a",
            "serializedConfig": {
              "services": {
                "1474893c-7441-4414-8993-2817b3a0385c": {
                  "name": "stirling-pdf",
                  "source": {
                    "image": "stirlingtools/stirling-pdf:latest-fat"
                  },
                  "variables": {
                    "UI_APPNAME": {
                      "defaultValue": "PDF Editor"
                    },
                    "METRICS_ENABLED": {
                      "defaultValue": "true"
                    },
                    "UI_APPNAMENAVBAR": {
                      "defaultValue": "PDF Editor"
                    },
                    "JAVA_TOOL_OPTIONS": {
                      "defaultValue": "-Xms512m -Xmx4g"
                    },
                    "SYSTEM_MAXFILESIZE": {
                      "defaultValue": "100"
                    },
                    "SECURITY_ENABLELOGIN": {
                      "defaultValue": "false"
                    },
                    "SYSTEM_DEFAULTLOCALE": {
                      "defaultValue": "en-US"
                    },
                    "DOCKER_ENABLE_SECURITY": {
                      "defaultValue": "false"
                    },
                    "SECURITY_CUSTOMGLOBALAPIKEY": {
                      "defaultValue": "{{SECURITY_CUSTOMGLOBALAPIKEY}}"
                    },
                    "SECURITY_INITIALLOGIN_PASSWORD": {
                      "defaultValue": "{{SECURITY_INITIALLOGIN_PASSWORD}}"
                    },
                    "SECURITY_INITIALLOGIN_USERNAME": {
                      "defaultValue": "admin"
                    }
                  },
                  "volumeMounts": {
                    "1474893c-7441-4414-8993-2817b3a0385c": {
                      "mountPath": "/stirling-data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T22:14:40.433Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T19:27:28.035Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a6fb9c6ba2d14752af23",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 75,
    "typical_build_seconds": 0,
    "typical_start_seconds": 5,
    "slowest_service": "stirling-pdf"
  }
}
