{
  "manifest_version": "1.0.0",
  "template": {
    "id": "58fffdad-ac6d-40a4-910f-4a9f7af004a1",
    "slug": "seaweedfs-1",
    "name": "SeaweedFS",
    "description": "SeaweedFS 4.47: S3-compatible object storage with an admin UI.",
    "url": "https://railway.com/deploy/seaweedfs-1",
    "upstream": {
      "image": "chrislusf/seaweedfs:4.47"
    }
  },
  "services": [
    {
      "name": "seaweedfs",
      "source": {
        "image": "chrislusf/seaweedfs:4.47"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "seaweedfs",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8333"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "seaweedfs",
      "description": "Provide a value for AWS_ACCESS_KEY_ID.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEAWEEDFS_ADMIN_USER",
      "service": "seaweedfs",
      "description": "Provide a value for SEAWEEDFS_ADMIN_USER.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "seaweedfs",
      "description": "Provide a value for AWS_SECRET_ACCESS_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEAWEEDFS_ADMIN_PASSWORD",
      "service": "seaweedfs",
      "description": "Provide a value for SEAWEEDFS_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "seaweedfs",
      "description": "Provide a value for RAILWAY_DEPLOYMENT_DRAINING_SECONDS.",
      "secret": false,
      "strategy": "default",
      "default": "20"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "seaweedfs-1"
      }
    },
    "cli": "railway deploy --template seaweedfs-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "58fffdad-ac6d-40a4-910f-4a9f7af004a1",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a12bd968-3d49-4371-a057-fbf5d67320d6": {
                  "icon": "https://raw.githubusercontent.com/seaweedfs/seaweedfs/4.47/note/seaweedfs.png",
                  "name": "seaweedfs",
                  "deploy": {
                    "startCommand": "sh -c 'exec /entrypoint.sh mini \"-ip.bind=[::]\" -master.telemetry=false -admin.user=\"$SEAWEEDFS_ADMIN_USER\" -admin.password=\"$SEAWEEDFS_ADMIN_PASSWORD\"'",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "chrislusf/seaweedfs:4.47"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8333"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "defaultValue": "{{AWS_ACCESS_KEY_ID}}"
                    },
                    "SEAWEEDFS_ADMIN_USER": {
                      "isOptional": false,
                      "defaultValue": "admin"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{AWS_SECRET_ACCESS_KEY}}"
                    },
                    "SEAWEEDFS_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{SEAWEEDFS_ADMIN_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "defaultValue": "20"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8333": {
                        "port": 8333
                      },
                      "<hasDomain>:23646": {
                        "port": 23646
                      }
                    }
                  },
                  "volumeMounts": {
                    "a12bd968-3d49-4371-a057-fbf5d67320d6": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "seaweedfs",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-24T22:14:48.880Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-24T19:40:10.663Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5ff37fff5d8741f6bb87",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 77,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "seaweedfs"
  }
}
