{
  "manifest_version": "1.0.0",
  "template": {
    "id": "bc2bf276-6c55-4bd0-9155-14488c04e0f5",
    "slug": "opera-browser",
    "name": "Opera | Your Browser in the Cloud",
    "description": "Desktop Opera streamed to any device. Password-gated, persistent.",
    "url": "https://railway.com/deploy/opera-browser",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/opera-railway"
    }
  },
  "services": [
    {
      "name": "opera",
      "source": {
        "repo": "https://github.com/nomideusz/opera-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "opera",
      "description": "Time zone inside the browser session.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "opera",
      "description": "Port for Railway healthcheck probing. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PASSWORD",
      "service": "opera",
      "description": "Login password for the browser session. Keep it strong - this gates who can use your cloud Opera.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPERA_CLI",
      "service": "opera",
      "description": "Extra flags. --disable-dev-shm-usage is required on Railway (small /dev/shm). Append URLs or more flags space-separated.",
      "secret": false,
      "strategy": "default",
      "default": "--disable-dev-shm-usage"
    },
    {
      "key": "CUSTOM_USER",
      "service": "opera",
      "description": "Login username for the browser session.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "opera-browser"
      }
    },
    "cli": "railway deploy --template opera-browser",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "bc2bf276-6c55-4bd0-9155-14488c04e0f5",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a666efd9-7622-4c40-ac39-804958c854b4": {
                  "icon": "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/opera-icon.png",
                  "name": "opera",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/opera-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 Opera.",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "OPERA_CLI": {
                      "isOptional": false,
                      "description": "Extra flags. --disable-dev-shm-usage is required on Railway (small /dev/shm). Append URLs or 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": {
                    "a666efd9-7622-4c40-ac39-804958c854b4": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "opera",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-05T19:33:00.611Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f29de467cf0542ac875d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 195,
    "typical_build_seconds": 72,
    "typical_start_seconds": 31,
    "slowest_service": "opera"
  }
}
