{
  "manifest_version": "1.0.0",
  "template": {
    "id": "af72bac5-282a-4b78-b3fc-3d17a66f050a",
    "slug": "linux-desktop-arch",
    "name": "Linux Desktop | Arch Linux XFCE in the Cloud",
    "description": "Arch Linux XFCE desktop in your browser. Password-gated, persistent.",
    "url": "https://railway.com/deploy/linux-desktop-arch",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/webtop-arch-railway"
    }
  },
  "services": [
    {
      "name": "linux-desktop-arch",
      "source": {
        "repo": "https://github.com/nomideusz/webtop-arch-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "linux-desktop-arch",
      "description": "Time zone inside the desktop.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "linux-desktop-arch",
      "description": "Port for Railway healthcheck probing. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "TITLE",
      "service": "linux-desktop-arch",
      "description": "Browser tab title for the desktop.",
      "secret": false,
      "strategy": "default",
      "default": "Linux Desktop (Arch Linux XFCE)"
    },
    {
      "key": "PASSWORD",
      "service": "linux-desktop-arch",
      "description": "Login password for the desktop session. This gates a full Linux desktop with sudo - keep it strong.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CUSTOM_USER",
      "service": "linux-desktop-arch",
      "description": "Login username for the desktop session.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "linux-desktop-arch"
      }
    },
    "cli": "railway deploy --template linux-desktop-arch",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "af72bac5-282a-4b78-b3fc-3d17a66f050a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "570546ef-7172-4c62-ab99-9930693efaff": {
                  "icon": "https://devicons.railway.com/i/archlinux.svg",
                  "name": "linux-desktop-arch",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/webtop-arch-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Time zone inside the desktop.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port for Railway healthcheck probing. Do not change.",
                      "defaultValue": "3000"
                    },
                    "TITLE": {
                      "isOptional": true,
                      "description": "Browser tab title for the desktop.",
                      "defaultValue": "Linux Desktop (Arch Linux XFCE)"
                    },
                    "PASSWORD": {
                      "isOptional": false,
                      "description": "Login password for the desktop session. This gates a full Linux desktop with sudo - keep it strong.",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "CUSTOM_USER": {
                      "isOptional": false,
                      "description": "Login username for the desktop session.",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "570546ef-7172-4c62-ab99-9930693efaff": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "linux-desktop-arch",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-24T10:14:44.596Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-24T08:01:08.238Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e26291c5f99b4aa2a1c8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 263,
    "typical_build_seconds": 153,
    "typical_start_seconds": 30,
    "slowest_service": "linux-desktop-arch"
  }
}
