{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7a84d73b-4103-4834-be8f-8b457a3bcf37",
    "slug": "open-seo",
    "name": "OpenSEO",
    "description": "Open-source SEO platform for keyword research and site audits",
    "url": "https://railway.com/deploy/open-seo",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/openseo-railway"
    }
  },
  "services": [
    {
      "name": "gateway",
      "source": {
        "repo": "https://github.com/gridalpha/openseo-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "open-seo",
      "source": {
        "repo": "https://github.com/gridalpha/openseo-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "gateway",
      "description": "Public HTTP port for the proxy",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "GATEWAY_PASSWORD",
      "service": "gateway",
      "description": "Password you sign in with. This is the deployment's only credential.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "GATEWAY_USERNAME",
      "service": "gateway",
      "description": "Username you sign in with",
      "secret": false,
      "strategy": "default",
      "default": "openseo"
    },
    {
      "key": "OPENSEO_UPSTREAM",
      "service": "gateway",
      "description": "Private address of the OpenSEO app service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "gateway",
      "description": "Selects the gateway's Dockerfile in the shared repository",
      "secret": false,
      "strategy": "default",
      "default": "gateway/Dockerfile"
    },
    {
      "key": "PORT",
      "service": "open-seo",
      "description": "HTTP port the app serves on",
      "secret": false,
      "strategy": "default",
      "default": "3001"
    },
    {
      "key": "ALLOWED_HOST",
      "service": "open-seo",
      "description": "Host allow-list; a leading dot covers subdomains. Set your own domain in the same form if you attach one.",
      "secret": false,
      "strategy": "default",
      "default": ".railway.app"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "open-seo",
      "description": "First-boot health check window, in seconds",
      "secret": false,
      "strategy": "default",
      "default": "900"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "open-seo",
      "description": "Clean shutdown window, in seconds",
      "secret": false,
      "strategy": "default",
      "default": "15"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "open-seo"
      }
    },
    "cli": "railway deploy --template open-seo",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7a84d73b-4103-4834-be8f-8b457a3bcf37",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "dbc2dd50-e27b-4a19-a698-887213ca81fa": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "gateway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/openseo-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Public HTTP port for the proxy",
                      "defaultValue": "8080"
                    },
                    "GATEWAY_PASSWORD": {
                      "isOptional": false,
                      "description": "Password you sign in with. This is the deployment's only credential.",
                      "defaultValue": "{{GATEWAY_PASSWORD}}"
                    },
                    "GATEWAY_USERNAME": {
                      "isOptional": false,
                      "description": "Username you sign in with",
                      "defaultValue": "openseo"
                    },
                    "OPENSEO_UPSTREAM": {
                      "isOptional": false,
                      "description": "Private address of the OpenSEO app service",
                      "defaultValue": "${{open-seo.RAILWAY_PRIVATE_DOMAIN}}:3001"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Selects the gateway's Dockerfile in the shared repository",
                      "defaultValue": "gateway/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "f3676a3b-9dd8-4ed3-8761-24db293c3b46": {
                  "icon": "https://raw.githubusercontent.com/every-app/open-seo/main/public/android-chrome-512x512.png",
                  "name": "open-seo",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/openseo-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port the app serves on",
                      "defaultValue": "3001"
                    },
                    "ALLOWED_HOST": {
                      "isOptional": false,
                      "description": "Host allow-list; a leading dot covers subdomains. Set your own domain in the same form if you attach one.",
                      "defaultValue": ".railway.app"
                    },
                    "DATAFORSEO_API_KEY": {
                      "isOptional": true,
                      "description": "base64 of your DataForSEO login:password. Keyword, backlink, domain and rank data stay unavailable until it is set; site audits work without it.",
                      "defaultValue": ""
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "Set this only if you want SAM, the in-app SEO agent.",
                      "defaultValue": ""
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "First-boot health check window, in seconds",
                      "defaultValue": "900"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window, in seconds",
                      "defaultValue": "15"
                    }
                  },
                  "volumeMounts": {
                    "f3676a3b-9dd8-4ed3-8761-24db293c3b46": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "gateway",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-05T04:58:37.904Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b7996d154ef04cab9775",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 214,
    "typical_build_seconds": 11,
    "typical_start_seconds": 10,
    "slowest_service": "gateway"
  }
}
