{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6a1ba9ba-fcb0-4085-90dd-bdf142c180e5",
    "slug": "openseo",
    "name": "OpenSEO",
    "description": "Deploy OpenSEO with a persistent volume on Railway.",
    "url": "https://railway.com/deploy/openseo",
    "upstream": {
      "repo_url": "https://github.com/Lukem121/openseo"
    }
  },
  "services": [
    {
      "name": "Auth Gate",
      "source": {
        "repo": "https://github.com/Lukem121/openseo"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "OpenSEO",
      "source": {
        "image": "ghcr.io/every-app/open-seo:v0.1.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/.wrangler",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "UPSTREAM_URL",
      "service": "Auth Gate",
      "description": "The OpenSEO upstream URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SITE_PASSWORD",
      "service": "Auth Gate",
      "description": "Your unlock password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "OpenSEO",
      "description": "The OpenSEO port number",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "AUTH_MODE",
      "service": "OpenSEO",
      "description": "Keep local_noauth for Docker self-host. WARNING: the public URL has no app login — gate it yourself.",
      "secret": false,
      "strategy": "default",
      "default": "local_noauth"
    },
    {
      "key": "ALLOWED_HOST",
      "service": "OpenSEO",
      "description": "The auth gateway host URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "OpenSEO",
      "description": "Random string to encrypt stored tokens",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATAFORSEO_API_KEY",
      "service": "OpenSEO",
      "description": "Base64 of your DataForSEO email:password. See https://app.dataforseo.com/?aff=310140 and https://github.com/every-app/open-seo/blob/main/docs/DATAFORSEO_API_KEY.md",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "VITE_SHOW_DEVTOOLS",
      "service": "OpenSEO",
      "description": "Keep false in production.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "CLOUDFLARE_INCLUDE_PROCESS_ENV",
      "service": "OpenSEO",
      "description": "Leave true so process env is exposed as Worker bindings in Docker/Miniflare mode.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openseo"
      }
    },
    "cli": "railway deploy --template openseo",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6a1ba9ba-fcb0-4085-90dd-bdf142c180e5",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "4b4c1e9d-7adf-40c6-a882-304e542ce468": {
                  "name": "Auth Gate",
                  "deploy": {
                    "healthcheckPath": "/__gate/health"
                  },
                  "source": {
                    "repo": "Lukem121/openseo",
                    "branch": null,
                    "rootDirectory": "auth-gateway"
                  },
                  "variables": {
                    "UPSTREAM_URL": {
                      "isOptional": false,
                      "description": "The OpenSEO upstream URL.",
                      "defaultValue": "http://${{OpenSEO.RAILWAY_PRIVATE_DOMAIN}}:${{OpenSEO.PORT}}"
                    },
                    "SITE_PASSWORD": {
                      "isOptional": false,
                      "description": "Your unlock password",
                      "defaultValue": "{{SITE_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "d8715a8b-8be7-45a4-bf3e-ac370c2af7e4": {
                  "icon": null,
                  "name": "OpenSEO",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/every-app/open-seo:v0.1.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "The OpenSEO port number",
                      "defaultValue": "8080"
                    },
                    "AUTH_MODE": {
                      "isOptional": false,
                      "description": "Keep local_noauth for Docker self-host. WARNING: the public URL has no app login — gate it yourself.",
                      "defaultValue": "local_noauth"
                    },
                    "ALLOWED_HOST": {
                      "isOptional": false,
                      "description": "The auth gateway host URL",
                      "defaultValue": "${{\"Auth Gate\".RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Your Google client ID. Read: https://github.com/every-app/open-seo/blob/main/docs/SELF_HOSTING_GOOGLE_SEARCH_CONSOLE.md",
                      "defaultValue": ""
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": true,
                      "description": "Random string to encrypt stored tokens",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "DATAFORSEO_API_KEY": {
                      "isOptional": false,
                      "description": "Base64 of your DataForSEO email:password. See https://app.dataforseo.com/?aff=310140 and https://github.com/every-app/open-seo/blob/main/docs/DATAFORSEO_API_KEY.md",
                      "defaultValue": "{{DATAFORSEO_API_KEY}}"
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "OpenSEO's in-app AI agent, needs an OpenRouter API key. https://openrouter.ai/settings/keys",
                      "defaultValue": ""
                    },
                    "VITE_SHOW_DEVTOOLS": {
                      "isOptional": false,
                      "description": "Keep false in production.",
                      "defaultValue": "false"
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Your Google client secret. Read: https://github.com/every-app/open-seo/blob/main/docs/SELF_HOSTING_GOOGLE_SEARCH_CONSOLE.md",
                      "defaultValue": ""
                    },
                    "CLOUDFLARE_INCLUDE_PROCESS_ENV": {
                      "isOptional": false,
                      "description": "Leave true so process env is exposed as Worker bindings in Docker/Miniflare mode.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {},
                  "volumeMounts": {
                    "d8715a8b-8be7-45a4-bf3e-ac370c2af7e4": {
                      "mountPath": "/app/.wrangler",
                      "backupSchedules": [
                        "DAILY",
                        "WEEKLY",
                        "WEEKLY",
                        "WEEKLY",
                        "MONTHLY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Auth Gate",
      "method": "GET",
      "path": "/__gate/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T22:14:43.398Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T00:37:28.151Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_20c8ca879fb641bd8e9b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 91,
    "typical_build_seconds": 0,
    "typical_start_seconds": 30,
    "slowest_service": "OpenSEO"
  }
}
