{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b0a2d900-caad-4398-bb73-b6f2afa4f205",
    "slug": "keen-green",
    "name": "keen-green",
    "description": "Self-hosted video & photo vault — save, stream, and browse media.",
    "url": "https://railway.com/deploy/keen-green",
    "upstream": {
      "repo_url": "https://github.com/RandyN31son/media-vault"
    }
  },
  "services": [
    {
      "name": "media-vault",
      "source": {
        "repo": "https://github.com/RandyN31son/media-vault"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MEDIA_DIR",
      "service": "media-vault",
      "description": "Directory on the persistent volume where uploaded and downloaded media files are stored",
      "secret": false,
      "strategy": "default",
      "default": "/data/media"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "keen-green"
      }
    },
    "cli": "railway deploy --template keen-green",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b0a2d900-caad-4398-bb73-b6f2afa4f205",
            "serializedConfig": {
              "services": {
                "ec9db080-1f41-4d8e-bbee-0e3fffd74a80": {
                  "icon": "https://devicons.railway.com/i/nodejs.svg",
                  "name": "media-vault",
                  "deploy": {
                    "healthcheckPath": "/"
                  },
                  "source": {
                    "repo": "RandyN31son/media-vault"
                  },
                  "variables": {
                    "MEDIA_DIR": {
                      "isOptional": false,
                      "description": "Directory on the persistent volume where uploaded and downloaded media files are stored",
                      "defaultValue": "/data/media"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "ec9db080-1f41-4d8e-bbee-0e3fffd74a80": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "media-vault",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "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-21T21:56:13.072Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0d2324d110d14bf9a5e2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 118,
    "typical_build_seconds": 81,
    "typical_start_seconds": 20,
    "slowest_service": "media-vault"
  }
}
