{
  "manifest_version": "1.0.0",
  "template": {
    "id": "88fe1096-a3ae-4de4-9146-99e32fb785b7",
    "slug": "seaweedfs",
    "name": "SeaweedFS | Open Source S3, MinIO Alternative",
    "description": "Self Host SeaweedFS. Object storage with S3 compatibility & full S3 API",
    "url": "https://railway.com/deploy/seaweedfs",
    "upstream": {
      "image": "chrislusf/seaweedfs:4.22"
    }
  },
  "services": [
    {
      "name": "SeaweedFS",
      "source": {
        "image": "chrislusf/seaweedfs:4.22"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "SeaweedFS",
      "description": "S3 gateway listening port",
      "secret": false,
      "strategy": "default",
      "default": "8333"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "SeaweedFS",
      "description": "S3 authentication access key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_SECRET_KEY",
      "service": "SeaweedFS",
      "description": "S3 authentication secret key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "SeaweedFS",
      "description": "Run as root for volume permissions",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "seaweedfs"
      }
    },
    "cli": "railway deploy --template seaweedfs",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "88fe1096-a3ae-4de4-9146-99e32fb785b7",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "06cfdd5c-4e89-41a1-971f-f4c0a0e15cf5": {
                  "icon": "https://raw.githubusercontent.com/seaweedfs/seaweedfs/master/note/seaweedfs.png",
                  "name": "SeaweedFS",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'weed server -s3 -dir=/data -ip.bind=0.0.0.0 -master.volumeSizeLimitMB=1024 & sleep 30 && echo \"s3.configure -access_key=$S3_ACCESS_KEY -secret_key=$S3_SECRET_KEY -user admin -actions Admin,Read,Write,List,Tagging -apply\" | weed shell; wait'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "chrislusf/seaweedfs:4.22"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "S3 gateway listening port",
                      "defaultValue": "8333"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "S3 authentication access key",
                      "defaultValue": "{{S3_ACCESS_KEY}}"
                    },
                    "S3_SECRET_KEY": {
                      "isOptional": false,
                      "description": "S3 authentication secret key",
                      "defaultValue": "{{S3_SECRET_KEY}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Run as root for volume permissions",
                      "defaultValue": "0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "06cfdd5c-4e89-41a1-971f-f4c0a0e15cf5": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-23T10:14:44.639Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-22T23:34:06.989Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1650a57aa9f44e6684c4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 87,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "SeaweedFS"
  }
}
