{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ad790674-6ef4-4870-9489-3940bdd4665f",
    "slug": "chromium-browser",
    "name": "Chromium",
    "description": "Your private browser in the cloud, accessible from anywhere.",
    "url": "https://railway.com/deploy/chromium-browser",
    "upstream": {
      "image": "linuxserver/chromium:latest"
    }
  },
  "services": [
    {
      "name": "chromium",
      "source": {
        "image": "linuxserver/chromium:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "chromium",
      "description": "Container timezone",
      "secret": false,
      "strategy": "default",
      "default": "Asia/Jakarta"
    },
    {
      "key": "PGID",
      "service": "chromium",
      "description": "Group ID used internally by the LinuxServer container",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "PORT",
      "service": "chromium",
      "description": "Railway public service port for Chromium",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PUID",
      "service": "chromium",
      "description": "User ID used internally by the LinuxServer container",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "TITLE",
      "service": "chromium",
      "description": "Browser session title",
      "secret": false,
      "strategy": "default",
      "default": "Chromium Browser"
    },
    {
      "key": "PASSWORD",
      "service": "chromium",
      "description": "Strong generated password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CHROME_CLI",
      "service": "chromium",
      "description": "Optional Chromium startup URL or CLI options",
      "secret": false,
      "strategy": "default",
      "default": "https://www.google.com/"
    },
    {
      "key": "CUSTOM_USER",
      "service": "chromium",
      "description": "Username for Chromium web access",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "chromium",
      "description": "Ensure write access to the mounted /config volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "RAILWAY_SHM_SIZE_BYTES",
      "service": "chromium",
      "description": "Allocate 1 GiB shared memory for Chromium",
      "secret": false,
      "strategy": "default",
      "default": "1073741824"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "chromium-browser"
      }
    },
    "cli": "railway deploy --template chromium-browser",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ad790674-6ef4-4870-9489-3940bdd4665f",
            "serializedConfig": {
              "services": {
                "a7113e1f-d323-4791-a271-f81b52da6057": {
                  "icon": "https://www.chromium.org/_assets/icon-chromium-96.png",
                  "name": "chromium",
                  "source": {
                    "image": "linuxserver/chromium:latest"
                  },
                  "variables": {
                    "TZ": {
                      "description": "Container timezone",
                      "defaultValue": "Asia/Jakarta"
                    },
                    "PGID": {
                      "description": "Group ID used internally by the LinuxServer container",
                      "defaultValue": "1000"
                    },
                    "PORT": {
                      "description": "Railway public service port for Chromium",
                      "defaultValue": "3000"
                    },
                    "PUID": {
                      "description": "User ID used internally by the LinuxServer container",
                      "defaultValue": "1000"
                    },
                    "TITLE": {
                      "description": "Browser session title",
                      "defaultValue": "Chromium Browser"
                    },
                    "PASSWORD": {
                      "description": "Strong generated password",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "CHROME_CLI": {
                      "description": "Optional Chromium startup URL or CLI options",
                      "defaultValue": "https://www.google.com/"
                    },
                    "CUSTOM_USER": {
                      "description": "Username for Chromium web access",
                      "defaultValue": "admin"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Ensure write access to the mounted /config volume",
                      "defaultValue": "0"
                    },
                    "RAILWAY_SHM_SIZE_BYTES": {
                      "description": "Allocate 1 GiB shared memory for Chromium",
                      "defaultValue": "1073741824"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "a7113e1f-d323-4791-a271-f81b52da6057": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T14:53:44.225Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_02f73434e7ce4f30b27e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 75,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "chromium"
  }
}
