[{"data":1,"prerenderedAt":800},["ShallowReactive",2],{"navigation":3,"-deploy-providers-flightcontrol":377,"-deploy-providers-flightcontrol-surround":795},[4,83,212,218,374],{"title":5,"path":6,"stem":7,"children":8,"icon":82},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":53,"path":54,"stem":55,"icon":56},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":58,"path":59,"stem":60,"icon":61},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":63,"path":64,"stem":65,"icon":66},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":68,"path":69,"stem":70,"icon":71},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":73,"path":74,"stem":75,"icon":76},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":78,"path":79,"stem":80,"icon":81},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":84,"path":85,"stem":86,"children":87,"icon":89},"Deploy","/deploy","2.deploy/0.index",[88,90,111],{"title":84,"path":85,"stem":86,"icon":89},"ri:upload-cloud-2-line",{"title":91,"path":92,"stem":93,"children":94,"page":110},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[95,100,105],{"title":96,"path":97,"stem":98,"icon":99},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":101,"path":102,"stem":103,"icon":104},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":106,"path":107,"stem":108,"icon":109},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":112,"path":113,"stem":114,"children":115,"page":110},"Providers","/deploy/providers","2.deploy/20.providers",[116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208],{"title":117,"path":118,"stem":119},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":121,"path":122,"stem":123},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":125,"path":126,"stem":127},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":129,"path":130,"stem":131},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":133,"path":134,"stem":135},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":137,"path":138,"stem":139},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":141,"path":142,"stem":143},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":145,"path":146,"stem":147},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":149,"path":150,"stem":151},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":153,"path":154,"stem":155},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":157,"path":158,"stem":159},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":161,"path":162,"stem":163},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":165,"path":166,"stem":167},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":169,"path":170,"stem":171},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":173,"path":174,"stem":175},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":177,"path":178,"stem":179},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":181,"path":182,"stem":183},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":185,"path":186,"stem":187},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":189,"path":190,"stem":191},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":193,"path":194,"stem":195},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":197,"path":198,"stem":199},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":201,"path":202,"stem":203},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":205,"path":206,"stem":207},"Zephyr Cloud","/deploy/providers/zephyr","2.deploy/20.providers/zephyr",{"title":209,"path":210,"stem":211},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":213,"path":214,"stem":215,"children":216,"icon":36},"Config","/config","3.config/0.index",[217],{"title":213,"path":214,"stem":215,"icon":36},{"title":219,"path":220,"stem":221,"children":222,"icon":224},"Examples","/examples","4.examples/0.index",[223,225,230,235,240,245,249,254,259,264,269,274,279,283,288,292,296,301,306,311,316,321,326,331,336,341,345,350,355,359,364,369],{"title":219,"path":220,"stem":221,"icon":224},"i-lucide-folder-code",{"title":226,"path":227,"stem":228,"icon":229},"API Routes","/examples/api-routes","4.examples/api-routes","i-lucide-route",{"title":231,"path":232,"stem":233,"icon":234},"Auto Imports","/examples/auto-imports","4.examples/auto-imports","i-lucide-import",{"title":236,"path":237,"stem":238,"icon":239},"Cached Handler","/examples/cached-handler","4.examples/cached-handler","i-lucide-clock",{"title":241,"path":242,"stem":243,"icon":244},"Custom Error Handler","/examples/custom-error-handler","4.examples/custom-error-handler","i-lucide-alert-circle",{"title":38,"path":246,"stem":247,"icon":248},"/examples/database","4.examples/database","i-lucide-database",{"title":250,"path":251,"stem":252,"icon":253},"Elysia","/examples/elysia","4.examples/elysia","i-skill-icons-elysia-dark",{"title":255,"path":256,"stem":257,"icon":258},"Express","/examples/express","4.examples/express","i-simple-icons-express",{"title":260,"path":261,"stem":262,"icon":263},"Fastify","/examples/fastify","4.examples/fastify","i-simple-icons-fastify",{"title":265,"path":266,"stem":267,"icon":268},"Hello World","/examples/hello-world","4.examples/hello-world","i-lucide-sparkles",{"title":270,"path":271,"stem":272,"icon":273},"Hono","/examples/hono","4.examples/hono","i-logos-hono",{"title":275,"path":276,"stem":277,"icon":278},"Import Alias","/examples/import-alias","4.examples/import-alias","i-lucide-at-sign",{"title":280,"path":281,"stem":282,"icon":46},"Middleware","/examples/middleware","4.examples/middleware",{"title":284,"path":285,"stem":286,"icon":287},"Mono JSX","/examples/mono-jsx","4.examples/mono-jsx","i-lucide-brackets",{"title":289,"path":290,"stem":291,"icon":287},"Nano JSX","/examples/nano-jsx","4.examples/nano-jsx",{"title":48,"path":293,"stem":294,"icon":295},"/examples/plugins","4.examples/plugins","i-lucide-plug",{"title":297,"path":298,"stem":299,"icon":300},"Custom Renderer","/examples/renderer","4.examples/renderer","i-lucide-code",{"title":302,"path":303,"stem":304,"icon":305},"Runtime Config","/examples/runtime-config","4.examples/runtime-config","i-lucide-settings",{"title":307,"path":308,"stem":309,"icon":310},"Server Fetch","/examples/server-fetch","4.examples/server-fetch","i-lucide-arrow-right-left",{"title":312,"path":313,"stem":314,"icon":315},"Shiki","/examples/shiki","4.examples/shiki","i-lucide-highlighter",{"title":317,"path":318,"stem":319,"icon":320},"Virtual Routes","/examples/virtual-routes","4.examples/virtual-routes","i-lucide-box",{"title":322,"path":323,"stem":324,"icon":325},"Vite Nitro Plugin","/examples/vite-nitro-plugin","4.examples/vite-nitro-plugin","i-logos-vitejs",{"title":327,"path":328,"stem":329,"icon":330},"Vite RSC","/examples/vite-rsc","4.examples/vite-rsc","i-logos-react",{"title":332,"path":333,"stem":334,"icon":335},"Vite SSR HTML","/examples/vite-ssr-html","4.examples/vite-ssr-html","i-logos-html-5",{"title":337,"path":338,"stem":339,"icon":340},"SSR with Preact","/examples/vite-ssr-preact","4.examples/vite-ssr-preact","i-logos-preact",{"title":342,"path":343,"stem":344,"icon":330},"SSR with React","/examples/vite-ssr-react","4.examples/vite-ssr-react",{"title":346,"path":347,"stem":348,"icon":349},"SSR with SolidJS","/examples/vite-ssr-solid","4.examples/vite-ssr-solid","i-logos-solidjs-icon",{"title":351,"path":352,"stem":353,"icon":354},"SSR with TanStack Router","/examples/vite-ssr-tsr-react","4.examples/vite-ssr-tsr-react","i-simple-icons-tanstack",{"title":356,"path":357,"stem":358,"icon":354},"SSR with TanStack Start","/examples/vite-ssr-tss-react","4.examples/vite-ssr-tss-react",{"title":360,"path":361,"stem":362,"icon":363},"SSR with Vue Router","/examples/vite-ssr-vue-router","4.examples/vite-ssr-vue-router","i-logos-vue",{"title":365,"path":366,"stem":367,"icon":368},"Vite + tRPC","/examples/vite-trpc","4.examples/vite-trpc","i-simple-icons-trpc",{"title":370,"path":371,"stem":372,"icon":373},"WebSocket","/examples/websocket","4.examples/websocket","i-lucide-radio",{"title":5,"path":375,"stem":376},"/","index",{"id":378,"title":153,"body":379,"description":789,"extension":790,"meta":791,"navigation":792,"path":154,"seo":793,"stem":155,"__hash__":794},"content/2.deploy/20.providers/flightcontrol.md",{"type":380,"value":381,"toc":782},"minimark",[382,394,399,404,407,442,447,468,474,489,762,768,778],[383,384,385,389,390],"p",{},[386,387,388],"strong",{},"Preset:"," ",[391,392,393],"code",{},"flightcontrol",[395,396],"read-more",{"to":397,"title":398},"https://flightcontrol.dev?ref=nitro","flightcontrol.dev",[400,401,403],"h2",{"id":402},"set-up-your-flightcontrol-account","Set Up your flightcontrol account",[383,405,406],{},"On a high level, the steps you will need to follow to deploy a project for the first time are:",[408,409,411,421,429,432,435],"steps",{"level":410},"4",[412,413,414,415],"h4",{},"Create an account at ",[416,417,153],"a",{"href":418,"rel":419},"https://app.flightcontrol.dev/signup?ref=nitro",[420],"nofollow",[412,422,414,423,428],{},[416,424,427],{"href":425,"rel":426},"https://portal.aws.amazon.com/billing/signup",[420],"AWS"," (if you don't already have one)",[412,430,431],{},"Link your AWS account to the Flightcontrol",[412,433,434],{},"Authorize the Flightcontrol GitHub App to access your chosen repositories, public or private.",[412,436,437,438,441],{},"Create a Flightcontrol project with configuration via the Dashboard or with configuration via ",[391,439,440],{},"flightcontrol.json",".",[443,444,446],"h3",{"id":445},"create-a-project-with-configuration-via-the-dashboard","Create a project with configuration via the dashboard",[408,448,449,452,459,462,465],{"level":410},[412,450,451],{},"Create a Flightcontrol project from the Dashboard. Select a repository for the source.",[412,453,454,455,458],{},"Select the ",[391,456,457],{},"GUI"," config type.",[412,460,461],{},"Select the Nuxt preset. This preset will also work for any Nitro-based applications.",[412,463,464],{},"Select your preferred AWS server size.",[412,466,467],{},"Submit the new project form.",[443,469,471,472],{"id":470},"create-a-project-with-configuration-via-flightcontroljson","Create a project with configuration via ",[391,473,440],{},[408,475,476,479,483],{"level":410},[412,477,478],{},"Create a Flightcontrol project from your dashboard. Select a repository for the source.",[412,480,454,481,458],{},[391,482,440],{},[412,484,485,486,488],{},"Add a new file at the root of your repository called ",[391,487,440],{},". Here is an example configuration that creates an AWS fargate service for your app:",[490,491,495],"pre",{"className":492,"code":493,"filename":440,"language":494,"meta":5,"style":5},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"$schema\": \"https://app.flightcontrol.dev/schema.json\",\n  \"environments\": [\n    {\n      \"id\": \"production\",\n      \"name\": \"Production\",\n      \"region\": \"us-west-2\",\n      \"source\": {\n        \"branch\": \"main\"\n      },\n      \"services\": [\n        {\n          \"id\": \"nitro\",\n          \"buildType\": \"nixpacks\",\n          \"name\": \"My Nitro site\",\n          \"type\": \"fargate\",\n          \"domain\": \"www.yourdomain.com\",\n          \"outputDirectory\": \".output\",\n          \"startCommand\": \"node .output/server/index.mjs\",\n          \"cpu\": 0.25,\n          \"memory\": 0.5\n        }\n      ]\n    }\n  ]\n}\n","json",[391,496,497,506,523,532,538,551,564,577,586,597,603,611,617,630,643,656,669,682,695,708,721,732,738,744,750,756],{"__ignoreMap":5},[498,499,502],"span",{"class":500,"line":501},"line",1,[498,503,505],{"class":504},"slsVL","{\n",[498,507,509,513,516,520],{"class":500,"line":508},2,[498,510,512],{"class":511},"suiK_","  \"$schema\"",[498,514,515],{"class":504},": ",[498,517,519],{"class":518},"sfrk1","\"https://app.flightcontrol.dev/schema.json\"",[498,521,522],{"class":504},",\n",[498,524,526,529],{"class":500,"line":525},3,[498,527,528],{"class":511},"  \"environments\"",[498,530,531],{"class":504},": [\n",[498,533,535],{"class":500,"line":534},4,[498,536,537],{"class":504},"    {\n",[498,539,541,544,546,549],{"class":500,"line":540},5,[498,542,543],{"class":511},"      \"id\"",[498,545,515],{"class":504},[498,547,548],{"class":518},"\"production\"",[498,550,522],{"class":504},[498,552,554,557,559,562],{"class":500,"line":553},6,[498,555,556],{"class":511},"      \"name\"",[498,558,515],{"class":504},[498,560,561],{"class":518},"\"Production\"",[498,563,522],{"class":504},[498,565,567,570,572,575],{"class":500,"line":566},7,[498,568,569],{"class":511},"      \"region\"",[498,571,515],{"class":504},[498,573,574],{"class":518},"\"us-west-2\"",[498,576,522],{"class":504},[498,578,580,583],{"class":500,"line":579},8,[498,581,582],{"class":511},"      \"source\"",[498,584,585],{"class":504},": {\n",[498,587,589,592,594],{"class":500,"line":588},9,[498,590,591],{"class":511},"        \"branch\"",[498,593,515],{"class":504},[498,595,596],{"class":518},"\"main\"\n",[498,598,600],{"class":500,"line":599},10,[498,601,602],{"class":504},"      },\n",[498,604,606,609],{"class":500,"line":605},11,[498,607,608],{"class":511},"      \"services\"",[498,610,531],{"class":504},[498,612,614],{"class":500,"line":613},12,[498,615,616],{"class":504},"        {\n",[498,618,620,623,625,628],{"class":500,"line":619},13,[498,621,622],{"class":511},"          \"id\"",[498,624,515],{"class":504},[498,626,627],{"class":518},"\"nitro\"",[498,629,522],{"class":504},[498,631,633,636,638,641],{"class":500,"line":632},14,[498,634,635],{"class":511},"          \"buildType\"",[498,637,515],{"class":504},[498,639,640],{"class":518},"\"nixpacks\"",[498,642,522],{"class":504},[498,644,646,649,651,654],{"class":500,"line":645},15,[498,647,648],{"class":511},"          \"name\"",[498,650,515],{"class":504},[498,652,653],{"class":518},"\"My Nitro site\"",[498,655,522],{"class":504},[498,657,659,662,664,667],{"class":500,"line":658},16,[498,660,661],{"class":511},"          \"type\"",[498,663,515],{"class":504},[498,665,666],{"class":518},"\"fargate\"",[498,668,522],{"class":504},[498,670,672,675,677,680],{"class":500,"line":671},17,[498,673,674],{"class":511},"          \"domain\"",[498,676,515],{"class":504},[498,678,679],{"class":518},"\"www.yourdomain.com\"",[498,681,522],{"class":504},[498,683,685,688,690,693],{"class":500,"line":684},18,[498,686,687],{"class":511},"          \"outputDirectory\"",[498,689,515],{"class":504},[498,691,692],{"class":518},"\".output\"",[498,694,522],{"class":504},[498,696,698,701,703,706],{"class":500,"line":697},19,[498,699,700],{"class":511},"          \"startCommand\"",[498,702,515],{"class":504},[498,704,705],{"class":518},"\"node .output/server/index.mjs\"",[498,707,522],{"class":504},[498,709,711,714,716,719],{"class":500,"line":710},20,[498,712,713],{"class":511},"          \"cpu\"",[498,715,515],{"class":504},[498,717,718],{"class":511},"0.25",[498,720,522],{"class":504},[498,722,724,727,729],{"class":500,"line":723},21,[498,725,726],{"class":511},"          \"memory\"",[498,728,515],{"class":504},[498,730,731],{"class":511},"0.5\n",[498,733,735],{"class":500,"line":734},22,[498,736,737],{"class":504},"        }\n",[498,739,741],{"class":500,"line":740},23,[498,742,743],{"class":504},"      ]\n",[498,745,747],{"class":500,"line":746},24,[498,748,749],{"class":504},"    }\n",[498,751,753],{"class":500,"line":752},25,[498,754,755],{"class":504},"  ]\n",[498,757,759],{"class":500,"line":758},26,[498,760,761],{"class":504},"}\n",[763,764,765],"ol",{"start":534},[766,767,467],"li",{},[395,769,771],{"to":770},"https://www.flightcontrol.dev/docs?ref=nitro",[383,772,773,774,441],{},"Learn more about Flightcontrol's ",[416,775,777],{"href":770,"rel":776},[420],"configuration",[779,780,781],"style",{},"html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}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":5,"searchDepth":508,"depth":508,"links":783},[784],{"id":402,"depth":508,"text":403,"children":785},[786,787],{"id":445,"depth":525,"text":446},{"id":470,"depth":525,"text":788},"Create a project with configuration via flightcontrol.json","Deploy Nitro apps to AWS via Flightcontrol.","md",{},{},{"title":153,"description":789},"GMb7cNlNs9-JV9rXWmy2tvQ89Wfi_3ADfdJezTchfSQ",[796,798],{"title":149,"path":150,"stem":151,"description":797,"children":-1},"Deploy Nitro apps to Firebase.",{"title":157,"path":158,"stem":159,"description":799,"children":-1},"Deploy Nitro apps to Genezio.",1773242046349]