{
  "manifest_version": "1.0.0",
  "template": {
    "id": "17b35978-a4a0-42b0-bb65-73fb76f50301",
    "slug": "octop-1",
    "name": "Octop",
    "description": "",
    "url": "https://railway.com/deploy/octop-1",
    "upstream": {
      "image": "ghcr.io/hmseeb/octop-railway:1.0.0-r2"
    }
  },
  "services": [
    {
      "name": "octop",
      "source": {
        "image": "ghcr.io/hmseeb/octop-railway:1.0.0-r2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data/octop",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOME",
      "service": "octop",
      "description": "Provide a value for HOME.",
      "secret": false,
      "strategy": "default",
      "default": "/data/octop"
    },
    {
      "key": "PORT",
      "service": "octop",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "OCTOP_PORT",
      "service": "octop",
      "description": "Provide a value for OCTOP_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "OCTOP_BIND_HOST",
      "service": "octop",
      "description": "Provide a value for OCTOP_BIND_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "OCTOP_ADMIN_USERNAME",
      "service": "octop",
      "description": "Username of the admin account created on first boot.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "OCTOP_DEFAULT_PASSWORD",
      "service": "octop",
      "description": "Password of the admin account created on first boot. Change it after logging in.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "octop-1"
      }
    },
    "cli": "railway deploy --template octop-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "17b35978-a4a0-42b0-bb65-73fb76f50301",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8f21cce7-c5b7-49c3-8e85-21f10ce97b8c": {
                  "icon": "https://raw.githubusercontent.com/hmseeb/octop-railway/ea78288db80ac804a11a543847064d0ce96a0e86/assets/octop-icon.svg",
                  "name": "octop",
                  "deploy": {
                    "startCommand": "/usr/local/bin/docker-entrypoint.sh",
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/hmseeb/octop-railway:1.0.0-r2"
                  },
                  "variables": {
                    "HOME": {
                      "isOptional": false,
                      "defaultValue": "/data/octop"
                    },
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8088"
                    },
                    "OCTOP_PORT": {
                      "isOptional": false,
                      "defaultValue": "8088"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Any OpenAI-compatible key gets you chatting; more providers can be added in the dashboard."
                    },
                    "OCTOP_BIND_HOST": {
                      "isOptional": false,
                      "defaultValue": "::"
                    },
                    "OCTOP_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Username of the admin account created on first boot.",
                      "defaultValue": "admin"
                    },
                    "OCTOP_DEFAULT_PASSWORD": {
                      "isOptional": false,
                      "description": "Password of the admin account created on first boot. Change it after logging in.",
                      "defaultValue": "{{OCTOP_DEFAULT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8088": {
                        "port": 8088
                      }
                    }
                  },
                  "volumeMounts": {
                    "8f21cce7-c5b7-49c3-8e85-21f10ce97b8c": {
                      "mountPath": "/data/octop"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "octop",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-18T22:14:40.474Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T21:54:33.392Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_695c1c04eea74b9b8db1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 48,
    "typical_build_seconds": 0,
    "typical_start_seconds": 30,
    "slowest_service": "octop"
  }
}
