{
  "manifest_version": "1.0.0",
  "template": {
    "id": "33b250d5-4e07-4bbd-9c8f-5f488def4f84",
    "slug": "stirling-pdf-4",
    "name": "Stirling PDF",
    "description": "Private PDF editor. AI processing, OCR, classification, compression,...",
    "url": "https://railway.com/deploy/stirling-pdf-4",
    "upstream": {
      "image": "stirlingtools/stirling-pdf:latest"
    }
  },
  "services": [
    {
      "name": "Stirling PDF",
      "source": {
        "image": "stirlingtools/stirling-pdf:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/stirling-data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "UI_APPNAME",
      "service": "Stirling PDF",
      "description": "Display name in the Stirling PDF UI",
      "secret": false,
      "strategy": "default",
      "default": "Stirling PDF"
    },
    {
      "key": "METRICS_ENABLED",
      "service": "Stirling PDF",
      "description": "Expose Prometheus-style metrics endpoint",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "UI_APPNAMENAVBAR",
      "service": "Stirling PDF",
      "description": "Short name shown in the navbar",
      "secret": false,
      "strategy": "default",
      "default": "Stirling PDF"
    },
    {
      "key": "SYSTEM_BACKENDURL",
      "service": "Stirling PDF",
      "description": "Public backend URL — follows this service’s Railway domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "STIRLING_BASE_PATH",
      "service": "Stirling PDF",
      "description": "Persistent data root (must match the volume mount path)",
      "secret": false,
      "strategy": "default",
      "default": "/stirling-data"
    },
    {
      "key": "SYSTEM_FRONTENDURL",
      "service": "Stirling PDF",
      "description": "Public frontend URL — follows this service’s Railway domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SYSTEM_MAXFILESIZE",
      "service": "Stirling PDF",
      "description": "Max upload size in MB",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "UI_HOMEDESCRIPTION",
      "service": "Stirling PDF",
      "description": "Tagline on the home screen",
      "secret": false,
      "strategy": "default",
      "default": "Self-hosted PDF toolkit — merge, split, OCR, convert, and more"
    },
    {
      "key": "SECURITY_ENABLELOGIN",
      "service": "Stirling PDF",
      "description": "Require login before using tools",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SYSTEM_DEFAULTLOCALE",
      "service": "Stirling PDF",
      "description": "Default UI locale (e.g. en-US, nl-BE, fr-FR)",
      "secret": false,
      "strategy": "default",
      "default": "en-US"
    },
    {
      "key": "SYSTEM_GOOGLEVISIBILITY",
      "service": "Stirling PDF",
      "description": "Allow search engines to index the public URL (usually leave false)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "DISABLE_ADDITIONAL_FEATURES",
      "service": "Stirling PDF",
      "description": "Set true to turn off extra/optional Stirling features",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SECURITY_INITIALLOGIN_PASSWORD",
      "service": "Stirling PDF",
      "description": "Initial admin password — auto-generated per deploy; find it in Variables after deploy",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SECURITY_INITIALLOGIN_USERNAME",
      "service": "Stirling PDF",
      "description": "Initial admin username (change after first login if you want)",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "stirling-pdf-4"
      }
    },
    "cli": "railway deploy --template stirling-pdf-4",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "33b250d5-4e07-4bbd-9c8f-5f488def4f84",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "adb1f45a-b76a-4f5d-9613-47da1b65c5cd": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/stirling-pdf.svg",
                  "name": "Stirling PDF",
                  "deploy": {
                    "startCommand": "/bin/bash -c 'mkdir -p /stirling-data/configs /stirling-data/logs /stirling-data/customFiles /stirling-data/pipeline /stirling-data/storage && chown -R 1000:1000 /stirling-data 2>/dev/null; exec tini -- /scripts/init.sh'",
                    "healthcheckPath": "/api/v1/info/status",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "stirlingtools/stirling-pdf:latest"
                  },
                  "variables": {
                    "UI_APPNAME": {
                      "isOptional": false,
                      "description": "Display name in the Stirling PDF UI",
                      "defaultValue": "Stirling PDF"
                    },
                    "METRICS_ENABLED": {
                      "isOptional": false,
                      "description": "Expose Prometheus-style metrics endpoint",
                      "defaultValue": "true"
                    },
                    "UI_APPNAMENAVBAR": {
                      "isOptional": false,
                      "description": "Short name shown in the navbar",
                      "defaultValue": "Stirling PDF"
                    },
                    "SYSTEM_BACKENDURL": {
                      "isOptional": false,
                      "description": "Public backend URL — follows this service’s Railway domain",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "STIRLING_BASE_PATH": {
                      "isOptional": false,
                      "description": "Persistent data root (must match the volume mount path)",
                      "defaultValue": "/stirling-data"
                    },
                    "SYSTEM_FRONTENDURL": {
                      "isOptional": false,
                      "description": "Public frontend URL — follows this service’s Railway domain",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SYSTEM_MAXFILESIZE": {
                      "isOptional": false,
                      "description": "Max upload size in MB",
                      "defaultValue": "100"
                    },
                    "UI_HOMEDESCRIPTION": {
                      "isOptional": false,
                      "description": "Tagline on the home screen",
                      "defaultValue": "Self-hosted PDF toolkit — merge, split, OCR, convert, and more"
                    },
                    "SECURITY_ENABLELOGIN": {
                      "isOptional": false,
                      "description": "Require login before using tools",
                      "defaultValue": "true"
                    },
                    "SYSTEM_DEFAULTLOCALE": {
                      "isOptional": false,
                      "description": "Default UI locale (e.g. en-US, nl-BE, fr-FR)",
                      "defaultValue": "en-US"
                    },
                    "SYSTEM_GOOGLEVISIBILITY": {
                      "isOptional": false,
                      "description": "Allow search engines to index the public URL (usually leave false)",
                      "defaultValue": "false"
                    },
                    "DISABLE_ADDITIONAL_FEATURES": {
                      "isOptional": false,
                      "description": "Set true to turn off extra/optional Stirling features",
                      "defaultValue": "false"
                    },
                    "SECURITY_INITIALLOGIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Initial admin password — auto-generated per deploy; find it in Variables after deploy",
                      "defaultValue": "{{SECURITY_INITIALLOGIN_PASSWORD}}"
                    },
                    "SECURITY_INITIALLOGIN_USERNAME": {
                      "isOptional": false,
                      "description": "Initial admin username (change after first login if you want)",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "adb1f45a-b76a-4f5d-9613-47da1b65c5cd": {
                      "mountPath": "/stirling-data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Stirling PDF",
      "method": "GET",
      "path": "/api/v1/info/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-18T22:14:40.474Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T19:17:12.702Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_dc2338ea777d4ecc93c8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 48,
    "typical_build_seconds": 0,
    "typical_start_seconds": 31,
    "slowest_service": "Stirling PDF"
  }
}
