[{"data":1,"prerenderedAt":500},["ShallowReactive",2],{"navigation":3,"-deploy-providers-render":234,"-deploy-providers-render-surround":495},[4,81,228],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Getting Started","/guide","1.guide/0.index",[9,11,16,21,26,31,36,41,46,51,56,61,66,71,76],{"title":5,"path":6,"stem":7,"icon":10},"ph:book-open-duotone",{"title":12,"path":13,"stem":14,"icon":15},"Migration Guide","/guide/migration","1.guide/00.migration","ri:arrow-right-up-line",{"title":17,"path":18,"stem":19,"icon":20},"Server Utils","/guide/utils","1.guide/1.utils","ri:tools-line",{"title":22,"path":23,"stem":24,"icon":25},"Tasks","/guide/tasks","1.guide/10.tasks","codicon:run-all",{"title":27,"path":28,"stem":29,"icon":30},"Server Routes","/guide/routing","1.guide/2.routing","ri:direction-line",{"title":32,"path":33,"stem":34,"icon":35},"WebSocket","/guide/websocket","1.guide/3.websocket","cib:socket-io",{"title":37,"path":38,"stem":39,"icon":40},"KV Storage","/guide/storage","1.guide/4.storage","carbon:datastore",{"title":42,"path":43,"stem":44,"icon":45},"SQL Database","/guide/database","1.guide/5.database","ri:database-2-line",{"title":47,"path":48,"stem":49,"icon":50},"Cache","/guide/cache","1.guide/6.cache","ri:speed-line",{"title":52,"path":53,"stem":54,"icon":55},"Fetch","/guide/fetch","1.guide/7.fetch","ri:global-line",{"title":57,"path":58,"stem":59,"icon":60},"Assets","/guide/assets","1.guide/8.assets","ri:image-2-line",{"title":62,"path":63,"stem":64,"icon":65},"Plugins","/guide/plugins","1.guide/9.plugins","ri:plug-line",{"title":67,"path":68,"stem":69,"icon":70},"Configuration","/guide/configuration","1.guide/97.configuration","ri:settings-3-line",{"title":72,"path":73,"stem":74,"icon":75},"TypeScript","/guide/typescript","1.guide/98.typescript","tabler:brand-typescript",{"title":77,"path":78,"stem":79,"icon":80},"Nightly Channel","/guide/nightly","1.guide/99.nightly","ri:moon-fill",{"title":82,"path":83,"stem":84,"children":85,"icon":87},"Overview","/deploy","2.deploy/0.index",[86,88,92,122,127],{"title":82,"path":83,"stem":84,"icon":87},"ri:upload-cloud-2-line",{"title":89,"path":90,"stem":91,"icon":55},"Edge Workers","/deploy/workers","2.deploy/1.workers",{"title":93,"path":94,"stem":95,"children":96,"page":121},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[97,102,106,111,116],{"title":98,"path":99,"stem":100,"icon":101},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":103,"path":104,"stem":105,"icon":25},"Dir","/deploy/runtimes/_dir","2.deploy/10.runtimes/_dir",{"title":107,"path":108,"stem":109,"icon":110},"WinterJS","/deploy/runtimes/_winterjs","2.deploy/10.runtimes/_winterjs","game-icons:cold-heart",{"title":112,"path":113,"stem":114,"icon":115},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":117,"path":118,"stem":119,"icon":120},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":123,"path":124,"stem":125,"icon":126},"Custom Preset","/deploy/custom-presets","2.deploy/2.custom-presets","ri:file-code-line",{"title":128,"path":129,"stem":130,"children":131,"page":121},"Providers","/deploy/providers","2.deploy/20.providers",[132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224],{"title":103,"path":133,"stem":134,"icon":135},"/deploy/providers/_dir","2.deploy/20.providers/_dir","tdesign:cloud",{"title":137,"path":138,"stem":139},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":141,"path":142,"stem":143},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":145,"path":146,"stem":147},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":149,"path":150,"stem":151},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":153,"path":154,"stem":155},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":157,"path":158,"stem":159},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":161,"path":162,"stem":163},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":165,"path":166,"stem":167},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":169,"path":170,"stem":171},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":173,"path":174,"stem":175},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":177,"path":178,"stem":179},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":181,"path":182,"stem":183},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":185,"path":186,"stem":187},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":189,"path":190,"stem":191},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":193,"path":194,"stem":195},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":197,"path":198,"stem":199},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":201,"path":202,"stem":203},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":205,"path":206,"stem":207},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":209,"path":210,"stem":211},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":213,"path":214,"stem":215},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":217,"path":218,"stem":219},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":221,"path":222,"stem":223},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":225,"path":226,"stem":227},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":229,"path":230,"stem":231,"children":232,"icon":70},"Config","/config","3.config/0.index",[233],{"title":229,"path":230,"stem":231,"icon":70},{"id":235,"title":209,"body":236,"description":489,"extension":490,"meta":491,"navigation":492,"path":210,"seo":493,"stem":211,"__hash__":494},"content/2.deploy/20.providers/render.md",{"type":237,"value":238,"toc":485},"minimark",[239,251,256,261,312,316,327,339,465,478,481],[240,241,242,246,247],"p",{},[243,244,245],"strong",{},"Preset:"," ",[248,249,250],"code",{},"render_com",[252,253],"read-more",{"title":254,"to":255},"render.com","https://render.com",[257,258,260],"h2",{"id":259},"set-up-application","Set up application",[262,263,265,276,279,285,309],"steps",{"level":264},"4",[266,267,268,275],"h4",{},[269,270,274],"a",{"href":271,"rel":272},"https://dashboard.render.com/select-repo?type=web",[273],"nofollow","Create a new Web Service"," and select the repository that contains your code.",[266,277,278],{},"Ensure the 'Node' environment is selected.",[266,280,281,282],{},"Update the start command to ",[248,283,284],{},"node .output/server/index.mjs",[266,286,287,288,291,292,294,295,298,299,302,303,308],{},"Click 'Advanced' and add an environment variable with ",[248,289,290],{},"NITRO_PRESET"," set to ",[248,293,250],{},". You may also need to add a ",[248,296,297],{},"NODE_VERSION"," environment variable set to ",[248,300,301],{},"18"," for the build to succeed (",[269,304,307],{"href":305,"rel":306},"https://render.com/docs/node-version",[273],"docs",").",[266,310,311],{},"Click 'Create Web Service'.",[257,313,315],{"id":314},"infrastructure-as-code-iac","Infrastructure as Code (IaC)",[317,318,319],"ol",{},[320,321,322,323,326],"li",{},"Create a file called ",[248,324,325],{},"render.yaml"," with following content at the root of your repository.",[328,329,330],"blockquote",{},[240,331,332,333,338],{},"This file followed by ",[269,334,337],{"href":335,"rel":336},"https://render.com/docs/infrastructure-as-code",[273],"Infrastructure as Code"," on Render",[340,341,346],"pre",{"className":342,"code":343,"language":344,"meta":345,"style":345},"language-yaml shiki shiki-themes github-light github-dark github-dark","services:\n  - type: web\n    name: \u003CPROJECTNAME>\n    env: node\n    branch: main\n    startCommand: node .output/server/index.mjs\n    buildCommand: npx nypm install && npm run build\n    envVars:\n    - key: NITRO_PRESET\n      value: render_com\n","yaml","",[248,347,348,361,377,388,399,410,421,432,440,454],{"__ignoreMap":345},[349,350,353,357],"span",{"class":351,"line":352},"line",1,[349,354,356],{"class":355},"sByVh","services",[349,358,360],{"class":359},"slsVL",":\n",[349,362,364,367,370,373],{"class":351,"line":363},2,[349,365,366],{"class":359},"  - ",[349,368,369],{"class":355},"type",[349,371,372],{"class":359},": ",[349,374,376],{"class":375},"sfrk1","web\n",[349,378,380,383,385],{"class":351,"line":379},3,[349,381,382],{"class":355},"    name",[349,384,372],{"class":359},[349,386,387],{"class":375},"\u003CPROJECTNAME>\n",[349,389,391,394,396],{"class":351,"line":390},4,[349,392,393],{"class":355},"    env",[349,395,372],{"class":359},[349,397,398],{"class":375},"node\n",[349,400,402,405,407],{"class":351,"line":401},5,[349,403,404],{"class":355},"    branch",[349,406,372],{"class":359},[349,408,409],{"class":375},"main\n",[349,411,413,416,418],{"class":351,"line":412},6,[349,414,415],{"class":355},"    startCommand",[349,417,372],{"class":359},[349,419,420],{"class":375},"node .output/server/index.mjs\n",[349,422,424,427,429],{"class":351,"line":423},7,[349,425,426],{"class":355},"    buildCommand",[349,428,372],{"class":359},[349,430,431],{"class":375},"npx nypm install && npm run build\n",[349,433,435,438],{"class":351,"line":434},8,[349,436,437],{"class":355},"    envVars",[349,439,360],{"class":359},[349,441,443,446,449,451],{"class":351,"line":442},9,[349,444,445],{"class":359},"    - ",[349,447,448],{"class":355},"key",[349,450,372],{"class":359},[349,452,453],{"class":375},"NITRO_PRESET\n",[349,455,457,460,462],{"class":351,"line":456},10,[349,458,459],{"class":355},"      value",[349,461,372],{"class":359},[349,463,464],{"class":375},"render_com\n",[317,466,467],{},[320,468,469,474,475,477],{},[269,470,473],{"href":471,"rel":472},"https://dashboard.render.com/select-repo?type=blueprint",[273],"Create a new Blueprint Instance"," and select the repository containing your ",[248,476,325],{}," file.",[240,479,480],{},"You should be good to go!",[482,483,484],"style",{},"html pre.shiki code .sByVh, html code.shiki .sByVh{--shiki-light:#22863A;--shiki-default:#85E89D;--shiki-dark:#85E89D}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":345,"searchDepth":363,"depth":363,"links":486},[487,488],{"id":259,"depth":363,"text":260},{"id":314,"depth":363,"text":315},"Deploy Nitro apps to Render.com.","md",{},{},{"title":209,"description":489},"Z3w33sLKpRNpDrUyLij6QqDXRvc7KrQotdF7g12VRqU",[496,498],{"title":205,"path":206,"stem":207,"description":497,"children":-1},"Deploy Nitro apps to platform.sh",{"title":213,"path":214,"stem":215,"description":499,"children":-1},"Deploy Nitro apps to StormKit.",1778145701754]