{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0f8383d8-1475-417d-a86e-9b51d37347a8",
    "slug": "octop-2",
    "name": "Octop",
    "description": "Self-hosted multi-agent AI assistant with your own LLM provider",
    "url": "https://railway.com/deploy/octop-2",
    "upstream": {
      "image": "ghcr.io/youssefsiam38/octop-railway:1.0.0@sha256:a6f8770ecf0d833b3967af1fd80f2d108052d445481839af011cbbc11dc23830"
    }
  },
  "services": [
    {
      "name": "app",
      "source": {
        "image": "ghcr.io/youssefsiam38/octop-railway:1.0.0@sha256:a6f8770ecf0d833b3967af1fd80f2d108052d445481839af011cbbc11dc23830"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "app",
      "description": "Port Railway routes traffic and health checks to (the Caddy front door; keep it 8080).",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "FORWARD_PROTO",
      "service": "app",
      "description": "Scheme the front door reports to Octop (keep it https on Railway).",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "OCTOP_ADMIN_LOCALE",
      "service": "app",
      "description": "Admin language set on first boot (en or zh); also the language of the default assistant.",
      "secret": false,
      "strategy": "default",
      "default": "en"
    },
    {
      "key": "OCTOP_ADMIN_USERNAME",
      "service": "app",
      "description": "Username of the admin account created on first boot.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "OCTOP_DEFAULT_PASSWORD",
      "service": "app",
      "description": "Initial admin password, generated. Copy it to sign in, then change it in the app. Only used on the first boot.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "LANGFUSE_TRACING_ENABLED",
      "service": "app",
      "description": "Langfuse tracing (off unless you add LANGFUSE_PUBLIC_KEY / LANGFUSE_SECRET_KEY / LANGFUSE_BASE_URL).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "app",
      "description": "Give the first start room to pull the image and initialise the database.",
      "secret": false,
      "strategy": "default",
      "default": "300"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "octop-2"
      }
    },
    "cli": "railway deploy --template octop-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0f8383d8-1475-417d-a86e-9b51d37347a8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c8a0002f-b631-4a86-b5f4-116f87a29302": {
                  "icon": null,
                  "name": "app",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/octop-railway:1.0.0@sha256:a6f8770ecf0d833b3967af1fd80f2d108052d445481839af011cbbc11dc23830"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes traffic and health checks to (the Caddy front door; keep it 8080).",
                      "defaultValue": "8080"
                    },
                    "FORWARD_PROTO": {
                      "isOptional": false,
                      "description": "Scheme the front door reports to Octop (keep it https on Railway).",
                      "defaultValue": "https"
                    },
                    "OCTOP_ADMIN_LOCALE": {
                      "isOptional": false,
                      "description": "Admin language set on first boot (en or zh); also the language of the default assistant.",
                      "defaultValue": "en"
                    },
                    "OCTOP_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Username of the admin account created on first boot.",
                      "defaultValue": "admin"
                    },
                    "OCTOP_DEFAULT_PASSWORD": {
                      "isOptional": false,
                      "description": "Initial admin password, generated. Copy it to sign in, then change it in the app. Only used on the first boot.",
                      "defaultValue": "{{OCTOP_DEFAULT_PASSWORD}}"
                    },
                    "LANGFUSE_TRACING_ENABLED": {
                      "isOptional": false,
                      "description": "Langfuse tracing (off unless you add LANGFUSE_PUBLIC_KEY / LANGFUSE_SECRET_KEY / LANGFUSE_BASE_URL).",
                      "defaultValue": "false"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "Give the first start room to pull the image and initialise the database.",
                      "defaultValue": "300"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "c8a0002f-b631-4a86-b5f4-116f87a29302": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "app",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-07T10:14:36.716Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-07T08:36:27.133Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_4fef064f6ae14ff68943",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 57,
    "typical_build_seconds": 0,
    "typical_start_seconds": 40,
    "slowest_service": "app"
  }
}
