{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c5da2684-aed3-474b-8f9d-60fe2501bd3a",
    "slug": "directory-lister",
    "name": "Directory Lister",
    "description": "Application that Lists the Contents of Any Web-Accessible Directory",
    "url": "https://railway.com/deploy/directory-lister",
    "upstream": {
      "image": "directorylister/directorylister:latest"
    }
  },
  "services": [
    {
      "name": "directory-lister",
      "source": {
        "image": "directorylister/directorylister:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "directory-lister",
      "description": "service port",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "directory-lister"
      }
    },
    "cli": "railway deploy --template directory-lister",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c5da2684-aed3-474b-8f9d-60fe2501bd3a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "42afacff-696d-4eca-a430-b3f5f7cd38ac": {
                  "icon": "https://www.directorylister.com/images/directory-lister.svg",
                  "name": "directory-lister",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "directorylister/directorylister:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "service port",
                      "defaultValue": "8000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "42afacff-696d-4eca-a430-b3f5f7cd38ac": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-30T04:14:48.142Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-30T02:02:23.674Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_ef97ed5322e3446d9fc3",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "CRASHED"
      }
    ]
  }
}
