{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8b4b25a5-1b4e-4195-a9dd-f120710f4bc6",
    "slug": "WpjhAn",
    "name": "JupyterLab",
    "description": "JupyterLab Is A Next-Generation Notebook Interface",
    "url": "https://railway.com/deploy/WpjhAn",
    "upstream": {
      "image": "quay.io/jupyter/scipy-notebook"
    }
  },
  "services": [
    {
      "name": "JupyterLab",
      "source": {
        "image": "quay.io/jupyter/scipy-notebook"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/jovyan/work",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "JupyterLab",
      "description": "The port that jupyter runs on",
      "secret": false,
      "strategy": "default",
      "default": "8888"
    },
    {
      "key": "RESTARTABLE",
      "service": "JupyterLab",
      "description": "Runs Jupyter in a loop so that quitting Jupyter does not cause the container to exit. This may be useful when installing extensions that require restarting Jupyter.",
      "secret": false,
      "strategy": "default",
      "default": "yes"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "JupyterLab",
      "description": "Run the container as root to allow for writing to the volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "JUPYTER_PASSWORD",
      "service": "JupyterLab",
      "description": "Password used to log into Jupyter",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "WpjhAn"
      }
    },
    "cli": "railway deploy --template WpjhAn",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8b4b25a5-1b4e-4195-a9dd-f120710f4bc6",
            "serializedConfig": {
              "services": {
                "32f130bd-af02-44c5-90a7-a3d52009edc5": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1704862022/main-logo_ou52za.svg",
                  "name": "JupyterLab",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"(echo ${JUPYTER_PASSWORD}; echo ${JUPYTER_PASSWORD}) | jupyter server password 2>&1 && chown ${NB_UID} /home/jovyan/.jupyter/jupyter_server_config.json && rm -rf ${RAILWAY_VOLUME_MOUNT_PATH}/lost+found && chown -R ${NB_UID} ${RAILWAY_VOLUME_MOUNT_PATH} && start.sh run-one-constantly jupyter lab 2>&1\"",
                    "healthcheckPath": "/login"
                  },
                  "source": {
                    "image": "quay.io/jupyter/scipy-notebook",
                    "rootDirectory": ""
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port that jupyter runs on",
                      "defaultValue": "8888"
                    },
                    "RESTARTABLE": {
                      "isOptional": false,
                      "description": "Runs Jupyter in a loop so that quitting Jupyter does not cause the container to exit. This may be useful when installing extensions that require restarting Jupyter.",
                      "defaultValue": "yes"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Run the container as root to allow for writing to the volume",
                      "defaultValue": "0"
                    },
                    "JUPYTER_PASSWORD": {
                      "isOptional": false,
                      "description": "Password used to log into Jupyter",
                      "defaultValue": "{{JUPYTER_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "32f130bd-af02-44c5-90a7-a3d52009edc5": {
                      "mountPath": "/home/jovyan/work"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "JupyterLab",
      "method": "GET",
      "path": "/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T18:12:26.894Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6508f412631b41a4ae59",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 76,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "JupyterLab"
  }
}
