{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b601cc69-46d8-4de5-a99d-702acf751f3a",
    "slug": "docker-registry-or-private-password-requ",
    "name": "Docker Registry | Private, Password Required, Images on a Volume",
    "description": "Private Docker registry on Railway — password required, images on a volume.",
    "url": "https://railway.com/deploy/docker-registry-or-private-password-requ",
    "upstream": {
      "repo_url": "https://github.com/ak40u/docker-registry-railway-starter"
    }
  },
  "services": [
    {
      "name": "Registry",
      "source": {
        "repo": "https://github.com/ak40u/docker-registry-railway-starter"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/registry",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Registry",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "AUTH_PASSWORD",
      "service": "Registry",
      "description": "Provide a value for AUTH_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "AUTH_USERNAME",
      "service": "Registry",
      "description": "Provide a value for AUTH_USERNAME.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "docker-registry-or-private-password-requ"
      }
    },
    "cli": "railway deploy --template docker-registry-or-private-password-requ",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b601cc69-46d8-4de5-a99d-702acf751f3a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ff846c50-b6cb-4c49-9078-b7f818c59ed7": {
                  "icon": null,
                  "name": "Registry",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/ak40u/docker-registry-railway-starter",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "5000"
                    },
                    "AUTH_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{AUTH_PASSWORD}}"
                    },
                    "AUTH_USERNAME": {
                      "isOptional": false,
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5000": {
                        "port": 5000
                      }
                    }
                  },
                  "volumeMounts": {
                    "ff846c50-b6cb-4c49-9078-b7f818c59ed7": {
                      "mountPath": "/var/lib/registry"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-04T16:14:45.452Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-04T12:02:38.637Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_55ab621b4ca443bc990d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 47,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "Registry"
  }
}
