{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9f72d32b-863e-4bb1-98e5-964a95a9fb82",
    "slug": "MAnG6f",
    "name": "clamav",
    "description": "Open-source antivirus engine.",
    "url": "https://railway.com/deploy/MAnG6f",
    "upstream": {
      "repo_url": "https://github.com/half0wl/railway-clamav"
    }
  },
  "services": [
    {
      "name": "railway-clamav",
      "source": {
        "repo": "https://github.com/half0wl/railway-clamav"
      },
      "needs_volume": false,
      "tcp_ports": [
        3310
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "CLAMAV_NO_MILTERD",
      "service": "railway-clamav",
      "description": "Enable or disable clamav-milter, a mail scanning engine. This MUST be disabled on Railway as it is unsupported.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CLAMD_CONF_TCPAddr",
      "service": "railway-clamav",
      "description": "Default TCP listening address.",
      "secret": false,
      "strategy": "default",
      "default": "::1"
    },
    {
      "key": "CLAMD_CONF_StreamMaxLength",
      "service": "railway-clamav",
      "description": "Maximum (file) size over remote TCP connections. Defaults to 10M.",
      "secret": false,
      "strategy": "default",
      "default": "10M"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "MAnG6f"
      }
    },
    "cli": "railway deploy --template MAnG6f",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9f72d32b-863e-4bb1-98e5-964a95a9fb82",
            "serializedConfig": {
              "services": {
                "589e61c8-cf86-4902-9dfe-ad7bbd5a67c8": {
                  "name": "railway-clamav",
                  "source": {
                    "repo": "half0wl/railway-clamav",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "CLAMAV_NO_MILTERD": {
                      "isOptional": true,
                      "description": "Enable or disable clamav-milter, a mail scanning engine. This MUST be disabled on Railway as it is unsupported.",
                      "defaultValue": "true"
                    },
                    "CLAMD_CONF_TCPAddr": {
                      "isOptional": true,
                      "description": "Default TCP listening address.",
                      "defaultValue": "::1"
                    },
                    "CLAMD_CONF_StreamMaxLength": {
                      "isOptional": true,
                      "description": "Maximum (file) size over remote TCP connections. Defaults to 10M.",
                      "defaultValue": "10M"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "3310": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T11:53:13.666Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_00a366e4adc3420bb6cd",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 122,
    "typical_build_seconds": 20,
    "typical_start_seconds": 5,
    "slowest_service": "railway-clamav"
  }
}
