{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a3e66ad4-eb4a-4151-9b0b-f04d20b35a61",
    "slug": "convertx-updated",
    "name": "ConvertX",
    "description": "Self-hosted online file converter. Supports 1000+ formats",
    "url": "https://railway.com/deploy/convertx-updated",
    "upstream": {
      "image": "c4illin/convertx:latest"
    }
  },
  "services": [
    {
      "name": "convertx",
      "source": {
        "image": "c4illin/convertx:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "convertx",
      "description": "Used to help Railway auto-detect the port; not changeable.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "LANGUAGE",
      "service": "convertx",
      "description": "Language to format date strings in, specified as a BCP 47 language tag",
      "secret": false,
      "strategy": "default",
      "default": "en"
    },
    {
      "key": "JWT_SECRET",
      "service": "convertx",
      "description": "A long and secret string used to sign the JSON Web Token",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "HIDE_HISTORY",
      "service": "convertx",
      "description": "Hide the history page",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "MAX_CONVERT_PROCESS",
      "service": "convertx",
      "description": "Maximum parallel conversion processes.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "ACCOUNT_REGISTRATION",
      "service": "convertx",
      "description": "Allow users to register accounts",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ALLOW_UNAUTHENTICATED",
      "service": "convertx",
      "description": "Allow unauthenticated users to use the service, only set this to true locally",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "AUTO_DELETE_EVERY_N_HOURS",
      "service": "convertx",
      "description": "Checks every n hours for files older then n hours and deletes them, set to 0 to disable",
      "secret": false,
      "strategy": "default",
      "default": "24"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "convertx-updated"
      }
    },
    "cli": "railway deploy --template convertx-updated",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a3e66ad4-eb4a-4151-9b0b-f04d20b35a61",
            "serializedConfig": {
              "services": {
                "e10da7ac-a848-4637-89a6-19bdcf4e375f": {
                  "name": "convertx",
                  "source": {
                    "image": "c4illin/convertx:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Used to help Railway auto-detect the port; not changeable.",
                      "defaultValue": "3000"
                    },
                    "LANGUAGE": {
                      "description": "Language to format date strings in, specified as a BCP 47 language tag",
                      "defaultValue": "en"
                    },
                    "JWT_SECRET": {
                      "description": "A long and secret string used to sign the JSON Web Token",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "HIDE_HISTORY": {
                      "description": "Hide the history page",
                      "defaultValue": "false"
                    },
                    "MAX_CONVERT_PROCESS": {
                      "description": "Maximum parallel conversion processes.",
                      "defaultValue": "2"
                    },
                    "ACCOUNT_REGISTRATION": {
                      "description": "Allow users to register accounts",
                      "defaultValue": "false"
                    },
                    "ALLOW_UNAUTHENTICATED": {
                      "description": "Allow unauthenticated users to use the service, only set this to true locally",
                      "defaultValue": "false"
                    },
                    "AUTO_DELETE_EVERY_N_HOURS": {
                      "description": "Checks every n hours for files older then n hours and deletes them, set to 0 to disable",
                      "defaultValue": "24"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "e10da7ac-a848-4637-89a6-19bdcf4e375f": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T14:03:45.857Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_69091765c7704ea4a434",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 59,
    "typical_build_seconds": 0,
    "typical_start_seconds": 41,
    "slowest_service": "convertx"
  }
}
