{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1aea3d23-677f-4aa5-853c-c68ef9084fd4",
    "slug": "chromium",
    "name": "Chromium | Your Browser in the Cloud",
    "description": "Full desktop Chromium in your browser: private, persistent cloud browsing.",
    "url": "https://railway.com/deploy/chromium",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/chromium-railway"
    }
  },
  "services": [
    {
      "name": "chromium",
      "source": {
        "repo": "https://github.com/nomideusz/chromium-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "chromium",
      "description": "Time zone inside the browser session.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "chromium",
      "description": "Port for Railway healthcheck probing. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PASSWORD",
      "service": "chromium",
      "description": "Login password for the browser session. Keep it strong — this gates who can use your cloud browser.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CHROME_CLI",
      "service": "chromium",
      "description": "Extra Chromium flags. --disable-dev-shm-usage is required on Railway (small /dev/shm). Append more flags space-separated.",
      "secret": false,
      "strategy": "default",
      "default": "--disable-dev-shm-usage"
    },
    {
      "key": "CUSTOM_USER",
      "service": "chromium",
      "description": "Login username for the browser session.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "chromium"
      }
    },
    "cli": "railway deploy --template chromium",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1aea3d23-677f-4aa5-853c-c68ef9084fd4",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "81fba333-d0db-4866-8dc4-b5359a864481": {
                  "icon": "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/chromium-logo.png",
                  "name": "chromium",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/chromium-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Time zone inside the browser session.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port for Railway healthcheck probing. Do not change.",
                      "defaultValue": "3000"
                    },
                    "PASSWORD": {
                      "isOptional": false,
                      "description": "Login password for the browser session. Keep it strong — this gates who can use your cloud browser.",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "CHROME_CLI": {
                      "isOptional": false,
                      "description": "Extra Chromium flags. --disable-dev-shm-usage is required on Railway (small /dev/shm). Append more flags space-separated.",
                      "defaultValue": "--disable-dev-shm-usage"
                    },
                    "CUSTOM_USER": {
                      "isOptional": false,
                      "description": "Login username for the browser session.",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "81fba333-d0db-4866-8dc4-b5359a864481": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "chromium",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-11T22:14:37.124Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T23:07:25.501Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_40e50dda9b89452e9c17",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 221,
    "typical_build_seconds": 71,
    "typical_start_seconds": 40,
    "slowest_service": "chromium"
  }
}
