{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a0ec6ad8-c6c5-418e-80e9-9b457558b2cd",
    "slug": "octop",
    "name": "Octop",
    "description": "Self-hosted multi-user AI assistant with agents, knowledge base and cron",
    "url": "https://railway.com/deploy/octop",
    "upstream": {
      "repo_url": "https://github.com/RockinPaul/octop_railway_template"
    }
  },
  "services": [
    {
      "name": "octop",
      "source": {
        "repo": "https://github.com/RockinPaul/octop_railway_template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "octop",
      "description": "Port the service listens on; Railway's healthcheck and the public domain both use it. Leave it as it is.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "OCTOP_DEFAULT_PASSWORD",
      "service": "octop",
      "description": "First-run password for the 'admin' account. Generated for this deployment; read it from the service variables after deploying. Nothing to fill in.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "octop"
      }
    },
    "cli": "railway deploy --template octop",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a0ec6ad8-c6c5-418e-80e9-9b457558b2cd",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ff4078d4-feb8-45f5-8acb-072345d27a70": {
                  "icon": null,
                  "name": "octop",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/RockinPaul/octop_railway_template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the service listens on; Railway's healthcheck and the public domain both use it. Leave it as it is.",
                      "defaultValue": "8080"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Any model provider can also be configured in the dashboard after signing in.",
                      "defaultValue": ""
                    },
                    "OCTOP_DEFAULT_PASSWORD": {
                      "isOptional": false,
                      "description": "First-run password for the 'admin' account. Generated for this deployment; read it from the service variables after deploying. Nothing to fill in.",
                      "defaultValue": "{{OCTOP_DEFAULT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "ff4078d4-feb8-45f5-8acb-072345d27a70": {
                      "sizeMB": 5120,
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "octop",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-15T16:14:47.755Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-15T15:10:56.732Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cc1212a5238146348ad1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 139,
    "typical_build_seconds": 91,
    "typical_start_seconds": 30,
    "slowest_service": "octop"
  }
}
