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