{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6d73515b-8191-4ace-a0ee-a80bfd37fedb",
    "slug": "credential-protocol",
    "name": "Credential Protocol",
    "description": "Self-hosted signed membership cards for creators.",
    "url": "https://railway.com/deploy/credential-protocol",
    "upstream": {
      "repo_url": "https://github.com/shiver444/cred"
    }
  },
  "services": [
    {
      "name": "cred",
      "source": {
        "repo": "https://github.com/shiver444/cred"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DATA_DIR",
      "service": "cred",
      "description": "Where the app stores your members and keys on the attached storage Volume. Leave it as /data.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "ADMIN_SECRET",
      "service": "cred",
      "description": "Your admin password for the dashboard. Choose a long one.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SESSION_SECRET_KEY",
      "service": "cred",
      "description": "Secret used to keep you signed in to the dashboard. Generated automatically, leave it as it is.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "credential-protocol"
      }
    },
    "cli": "railway deploy --template credential-protocol",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6d73515b-8191-4ace-a0ee-a80bfd37fedb",
            "serializedConfig": {
              "services": {
                "f39606f3-a2e8-4062-8b19-74d1848e9441": {
                  "name": "cred",
                  "source": {
                    "repo": "shiver444/cred"
                  },
                  "variables": {
                    "DATA_DIR": {
                      "isOptional": false,
                      "description": "Where the app stores your members and keys on the attached storage Volume. Leave it as /data.",
                      "defaultValue": "/data"
                    },
                    "ADMIN_SECRET": {
                      "isOptional": false,
                      "description": "Your admin password for the dashboard. Choose a long one.",
                      "defaultValue": "{{ADMIN_SECRET}}"
                    },
                    "SESSION_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Secret used to keep you signed in to the dashboard. Generated automatically, leave it as it is.",
                      "defaultValue": "{{SESSION_SECRET_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "f39606f3-a2e8-4062-8b19-74d1848e9441": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-07T16:14:54.704Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-07T13:48:25.190Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_379118eefcfa46cc9091",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 91,
    "typical_build_seconds": 40,
    "typical_start_seconds": 0,
    "slowest_service": "cred"
  }
}
