{
  "manifest_version": "1.0.0",
  "template": {
    "id": "702ffc89-624f-47a7-a6f5-0a0b7aea3f80",
    "slug": "copyparty-server",
    "name": "Copyparty",
    "description": "File server with a web browser UI, resumable uploads and WebDAV",
    "url": "https://railway.com/deploy/copyparty-server",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/copyparty-railway"
    }
  },
  "services": [
    {
      "name": "copyparty",
      "source": {
        "repo": "https://github.com/gridalpha/copyparty-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "copyparty",
      "description": "HTTP port the server listens on",
      "secret": false,
      "strategy": "default",
      "default": "3923"
    },
    {
      "key": "CP_DF",
      "service": "copyparty",
      "description": "Refuse uploads below this free space",
      "secret": false,
      "strategy": "default",
      "default": "256m"
    },
    {
      "key": "CP_PASSWORD",
      "service": "copyparty",
      "description": "Primary account password, required",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CP_USERNAME",
      "service": "copyparty",
      "description": "Primary account, holds admin rights",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "CP_SERVER_NAME",
      "service": "copyparty",
      "description": "Name shown in the web UI",
      "secret": false,
      "strategy": "default",
      "default": "copyparty"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "copyparty-server"
      }
    },
    "cli": "railway deploy --template copyparty-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "702ffc89-624f-47a7-a6f5-0a0b7aea3f80",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "87bb25b1-6223-4dcc-b60f-2dba6bb45929": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/copyparty.svg",
                  "name": "copyparty",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz/ok",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/copyparty-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port the server listens on",
                      "defaultValue": "3923"
                    },
                    "CP_DF": {
                      "isOptional": true,
                      "description": "Refuse uploads below this free space",
                      "defaultValue": "256m"
                    },
                    "CP_PASSWORD": {
                      "isOptional": false,
                      "description": "Primary account password, required",
                      "defaultValue": "{{CP_PASSWORD}}"
                    },
                    "CP_USERNAME": {
                      "isOptional": true,
                      "description": "Primary account, holds admin rights",
                      "defaultValue": "admin"
                    },
                    "CP_SERVER_NAME": {
                      "isOptional": true,
                      "description": "Name shown in the web UI",
                      "defaultValue": "copyparty"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3923": {
                        "port": 3923
                      }
                    }
                  },
                  "volumeMounts": {
                    "87bb25b1-6223-4dcc-b60f-2dba6bb45929": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "copyparty",
      "method": "GET",
      "path": "/healthz/ok",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T17:54:19.363Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T18:00:24.896Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_3e27610108804a35a286",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 64,
    "typical_build_seconds": 40,
    "typical_start_seconds": 10,
    "slowest_service": "copyparty"
  }
}
