{
  "manifest_version": "1.0.0",
  "template": {
    "id": "25bdef0a-6678-4a42-b217-ca5b11e26e16",
    "slug": "jupyterlab-or-just-updated-notebooks-and",
    "name": "JupyterLab | (Just Updated) Notebooks and pip Installs Survive Redeploys",
    "description": "Hosted JupyterLab whose notebooks and pip installs survive every redeploy",
    "url": "https://railway.com/deploy/jupyterlab-or-just-updated-notebooks-and",
    "upstream": {
      "image": "ghcr.io/bon5co/jupyterlab-railway:2026.09.03"
    }
  },
  "services": [
    {
      "name": "jupyterlab",
      "source": {
        "image": "ghcr.io/bon5co/jupyterlab-railway:2026.09.03"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/jovyan",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "JUPYTER_PASSWORD",
      "service": "jupyterlab",
      "description": "Provide a value for JUPYTER_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "jupyterlab-or-just-updated-notebooks-and"
      }
    },
    "cli": "railway deploy --template jupyterlab-or-just-updated-notebooks-and",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "25bdef0a-6678-4a42-b217-ca5b11e26e16",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0b34ba9b-eee7-476c-b6a6-bff3bcd63e17": {
                  "icon": null,
                  "name": "jupyterlab",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/jupyterlab-railway:2026.09.03"
                  },
                  "variables": {
                    "JUPYTER_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{JUPYTER_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "0b34ba9b-eee7-476c-b6a6-bff3bcd63e17": {
                      "mountPath": "/home/jovyan"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "jupyterlab",
      "method": "GET",
      "path": "/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T19:47:29.209Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_de57b2e85edb4caf91e3",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 82,
    "typical_build_seconds": 0,
    "typical_start_seconds": 30,
    "slowest_service": "jupyterlab"
  }
}
