{
  "manifest_version": "1.0.0",
  "template": {
    "id": "982c0cf9-1cea-4c7a-826d-1a663a17b31a",
    "slug": "tRFTHR",
    "name": "Turborepo Remote Cache",
    "description": "Open source implementation of the Turborepo custom remote cache server.",
    "url": "https://railway.com/deploy/tRFTHR",
    "upstream": {
      "image": "ducktors/turborepo-remote-cache"
    }
  },
  "services": [
    {
      "name": "Turborepo Remote Cache",
      "source": {
        "image": "ducktors/turborepo-remote-cache"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/storage",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TURBO_TOKEN",
      "service": "Turborepo Remote Cache",
      "description": "Your authentication token",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "STORAGE_PATH",
      "service": "Turborepo Remote Cache",
      "description": "Where the cache will be saved",
      "secret": false,
      "strategy": "default",
      "default": "/app/storage"
    },
    {
      "key": "TURBO_API_URL",
      "service": "Turborepo Remote Cache",
      "description": "The URL of the remote cache",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Turborepo Remote Cache",
      "description": "Runs container as root to prevent volume permission issues",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "STORAGE_PROVIDER",
      "service": "Turborepo Remote Cache",
      "description": "The type of storage. Possible values are `local`, `s3`, `google-cloud-storage` or `azure-blob-storage`",
      "secret": false,
      "strategy": "default",
      "default": "local"
    },
    {
      "key": "STORAGE_PATH_USE_TMP_FOLDER",
      "service": "Turborepo Remote Cache",
      "description": "Uses the system tmp folder as a prefix to `STORAGE_PATH`",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tRFTHR"
      }
    },
    "cli": "railway deploy --template tRFTHR",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "982c0cf9-1cea-4c7a-826d-1a663a17b31a",
            "serializedConfig": {
              "services": {
                "fcd0cd94-033b-47f3-9558-dabc42da24ef": {
                  "icon": "https://pub-be57d7e4de8e43cbb04106b33b260bf4.r2.dev/turborepo.svg",
                  "name": "Turborepo Remote Cache",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ducktors/turborepo-remote-cache"
                  },
                  "variables": {
                    "TURBO_TOKEN": {
                      "isOptional": false,
                      "description": "Your authentication token",
                      "defaultValue": "{{TURBO_TOKEN}}"
                    },
                    "STORAGE_PATH": {
                      "isOptional": false,
                      "description": "Where the cache will be saved",
                      "defaultValue": "/app/storage"
                    },
                    "TURBO_API_URL": {
                      "isOptional": false,
                      "description": "The URL of the remote cache",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Runs container as root to prevent volume permission issues",
                      "defaultValue": "0"
                    },
                    "STORAGE_PROVIDER": {
                      "isOptional": false,
                      "description": "The type of storage. Possible values are `local`, `s3`, `google-cloud-storage` or `azure-blob-storage`",
                      "defaultValue": "local"
                    },
                    "STORAGE_PATH_USE_TMP_FOLDER": {
                      "isOptional": false,
                      "description": "Uses the system tmp folder as a prefix to `STORAGE_PATH`",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "fcd0cd94-033b-47f3-9558-dabc42da24ef": {
                      "mountPath": "/app/storage"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T10:30:11.691Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_98a234de69b24592b0f6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 79,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Turborepo Remote Cache"
  }
}
