{
  "manifest_version": "1.0.0",
  "template": {
    "id": "53a2d15c-0ef7-41c1-8434-b818af8c4592",
    "slug": "dufs-1",
    "name": "Dufs",
    "description": "Password-protected file server with upload, search and WebDAV",
    "url": "https://railway.com/deploy/dufs-1",
    "upstream": {
      "image": "sigoden/dufs:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Dufs",
      "source": {
        "image": "sigoden/dufs:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DUFS_AUTH",
      "service": "Dufs",
      "description": "Provide a value for DUFS_AUTH.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DUFS_PASSWORD",
      "service": "Dufs",
      "description": "Provide a value for DUFS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DUFS_ALLOW_ALL",
      "service": "Dufs",
      "description": "Provide a value for DUFS_ALLOW_ALL.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DUFS_SERVE_PATH",
      "service": "Dufs",
      "description": "Provide a value for DUFS_SERVE_PATH.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dufs-1"
      }
    },
    "cli": "railway deploy --template dufs-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "53a2d15c-0ef7-41c1-8434-b818af8c4592",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "b9d11c93-f316-4797-9557-daf1009e9940": {
                  "icon": null,
                  "name": "Dufs",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "sigoden/dufs:latest"
                  },
                  "variables": {
                    "DUFS_AUTH": {
                      "isOptional": false,
                      "defaultValue": "admin:${{DUFS_PASSWORD}}@/:rw"
                    },
                    "DUFS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{DUFS_PASSWORD}}"
                    },
                    "DUFS_ALLOW_ALL": {
                      "isOptional": false,
                      "defaultValue": "{{DUFS_ALLOW_ALL}}"
                    },
                    "DUFS_SERVE_PATH": {
                      "isOptional": false,
                      "defaultValue": "{{DUFS_SERVE_PATH}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5000": {
                        "port": 5000
                      }
                    }
                  },
                  "volumeMounts": {
                    "b9d11c93-f316-4797-9557-daf1009e9940": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-26T22:14:46.852Z",
  "generator_version": "0.1.0"
}
