[{"data":1,"prerenderedAt":661},["ShallowReactive",2],{"navigation":3,"-deploy-providers-flightcontrol":225,"-deploy-providers-flightcontrol-surround":656},[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":164,"body":227,"description":650,"extension":651,"meta":652,"navigation":653,"path":165,"seo":654,"stem":166,"__hash__":655},"content/2.deploy/20.providers/flightcontrol.md",{"type":228,"value":229,"toc":643},"minimark",[230,242,247,261,266,269,302,307,328,334,349,623,629,639],[231,232,233,237,238],"p",{},[234,235,236],"strong",{},"Preset:"," ",[239,240,241],"code",{},"flightcontrol",[243,244],"read-more",{"to":245,"title":246},"https://flightcontrol.dev?ref=nitro","flightcontrol.dev",[248,249,250],"note",{},[231,251,252,253,260],{},"Flightcontrol has zero config support for ",[254,255,259],"a",{"href":256,"rel":257},"https://nuxt.com/",[258],"nofollow","Nuxt"," projects.",[262,263,265],"h2",{"id":264},"set-up-your-flightcontrol-account","Set Up your flightcontrol account",[231,267,268],{},"On a high level, the steps you will need to follow to deploy a project for the first time are:",[270,271,273,281,289,292,295],"steps",{"level":272},"4",[274,275,276,277],"h4",{},"Create an account at ",[254,278,164],{"href":279,"rel":280},"https://app.flightcontrol.dev/signup?ref=nitro",[258],[274,282,276,283,288],{},[254,284,287],{"href":285,"rel":286},"https://portal.aws.amazon.com/billing/signup",[258],"AWS"," (if you don't already have one)",[274,290,291],{},"Link your AWS account to the Flightcontrol",[274,293,294],{},"Authorize the Flightcontrol GitHub App to access your chosen repositories, public or private.",[274,296,297,298,301],{},"Create a Flightcontrol project with configuration via the Dashboard or with configuration via ",[239,299,300],{},"flightcontrol.json",".",[303,304,306],"h3",{"id":305},"create-a-project-with-configuration-via-the-dashboard","Create a project with configuration via the dashboard",[270,308,309,312,319,322,325],{"level":272},[274,310,311],{},"Create a Flightcontrol project from the Dashboard. Select a repository for the source.",[274,313,314,315,318],{},"Select the ",[239,316,317],{},"GUI"," config type.",[274,320,321],{},"Select the Nuxt preset. This preset will also work for any Nitro-based applications.",[274,323,324],{},"Select your preferred AWS server size.",[274,326,327],{},"Submit the new project form.",[303,329,331,332],{"id":330},"create-a-project-with-configuration-via-flightcontroljson","Create a project with configuration via ",[239,333,300],{},[270,335,336,339,343],{"level":272},[274,337,338],{},"Create a Flightcontrol project from your dashboard. Select a repository for the source.",[274,340,314,341,318],{},[239,342,300],{},[274,344,345,346,348],{},"Add a new file at the root of your repository called ",[239,347,300],{},". Here is an example configuration that creates an AWS fargate service for your app:",[350,351,356],"pre",{"className":352,"code":353,"filename":300,"language":354,"meta":355,"style":355},"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","",[239,357,358,367,384,393,399,412,425,438,447,458,464,472,478,491,504,517,530,543,556,569,582,593,599,605,611,617],{"__ignoreMap":355},[359,360,363],"span",{"class":361,"line":362},"line",1,[359,364,366],{"class":365},"slsVL","{\n",[359,368,370,374,377,381],{"class":361,"line":369},2,[359,371,373],{"class":372},"suiK_","  \"$schema\"",[359,375,376],{"class":365},": ",[359,378,380],{"class":379},"sfrk1","\"https://app.flightcontrol.dev/schema.json\"",[359,382,383],{"class":365},",\n",[359,385,387,390],{"class":361,"line":386},3,[359,388,389],{"class":372},"  \"environments\"",[359,391,392],{"class":365},": [\n",[359,394,396],{"class":361,"line":395},4,[359,397,398],{"class":365},"    {\n",[359,400,402,405,407,410],{"class":361,"line":401},5,[359,403,404],{"class":372},"      \"id\"",[359,406,376],{"class":365},[359,408,409],{"class":379},"\"production\"",[359,411,383],{"class":365},[359,413,415,418,420,423],{"class":361,"line":414},6,[359,416,417],{"class":372},"      \"name\"",[359,419,376],{"class":365},[359,421,422],{"class":379},"\"Production\"",[359,424,383],{"class":365},[359,426,428,431,433,436],{"class":361,"line":427},7,[359,429,430],{"class":372},"      \"region\"",[359,432,376],{"class":365},[359,434,435],{"class":379},"\"us-west-2\"",[359,437,383],{"class":365},[359,439,441,444],{"class":361,"line":440},8,[359,442,443],{"class":372},"      \"source\"",[359,445,446],{"class":365},": {\n",[359,448,450,453,455],{"class":361,"line":449},9,[359,451,452],{"class":372},"        \"branch\"",[359,454,376],{"class":365},[359,456,457],{"class":379},"\"main\"\n",[359,459,461],{"class":361,"line":460},10,[359,462,463],{"class":365},"      },\n",[359,465,467,470],{"class":361,"line":466},11,[359,468,469],{"class":372},"      \"services\"",[359,471,392],{"class":365},[359,473,475],{"class":361,"line":474},12,[359,476,477],{"class":365},"        {\n",[359,479,481,484,486,489],{"class":361,"line":480},13,[359,482,483],{"class":372},"          \"id\"",[359,485,376],{"class":365},[359,487,488],{"class":379},"\"nitro\"",[359,490,383],{"class":365},[359,492,494,497,499,502],{"class":361,"line":493},14,[359,495,496],{"class":372},"          \"buildType\"",[359,498,376],{"class":365},[359,500,501],{"class":379},"\"nixpacks\"",[359,503,383],{"class":365},[359,505,507,510,512,515],{"class":361,"line":506},15,[359,508,509],{"class":372},"          \"name\"",[359,511,376],{"class":365},[359,513,514],{"class":379},"\"My Nitro site\"",[359,516,383],{"class":365},[359,518,520,523,525,528],{"class":361,"line":519},16,[359,521,522],{"class":372},"          \"type\"",[359,524,376],{"class":365},[359,526,527],{"class":379},"\"fargate\"",[359,529,383],{"class":365},[359,531,533,536,538,541],{"class":361,"line":532},17,[359,534,535],{"class":372},"          \"domain\"",[359,537,376],{"class":365},[359,539,540],{"class":379},"\"www.yourdomain.com\"",[359,542,383],{"class":365},[359,544,546,549,551,554],{"class":361,"line":545},18,[359,547,548],{"class":372},"          \"outputDirectory\"",[359,550,376],{"class":365},[359,552,553],{"class":379},"\".output\"",[359,555,383],{"class":365},[359,557,559,562,564,567],{"class":361,"line":558},19,[359,560,561],{"class":372},"          \"startCommand\"",[359,563,376],{"class":365},[359,565,566],{"class":379},"\"node .output/server/index.mjs\"",[359,568,383],{"class":365},[359,570,572,575,577,580],{"class":361,"line":571},20,[359,573,574],{"class":372},"          \"cpu\"",[359,576,376],{"class":365},[359,578,579],{"class":372},"0.25",[359,581,383],{"class":365},[359,583,585,588,590],{"class":361,"line":584},21,[359,586,587],{"class":372},"          \"memory\"",[359,589,376],{"class":365},[359,591,592],{"class":372},"0.5\n",[359,594,596],{"class":361,"line":595},22,[359,597,598],{"class":365},"        }\n",[359,600,602],{"class":361,"line":601},23,[359,603,604],{"class":365},"      ]\n",[359,606,608],{"class":361,"line":607},24,[359,609,610],{"class":365},"    }\n",[359,612,614],{"class":361,"line":613},25,[359,615,616],{"class":365},"  ]\n",[359,618,620],{"class":361,"line":619},26,[359,621,622],{"class":365},"}\n",[624,625,626],"ol",{"start":395},[627,628,327],"li",{},[243,630,632],{"to":631},"https://www.flightcontrol.dev/docs?ref=nitro",[231,633,634,635,301],{},"Learn more about Flightcontrol's ",[254,636,638],{"href":631,"rel":637},[258],"configuration",[640,641,642],"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":355,"searchDepth":369,"depth":369,"links":644},[645],{"id":264,"depth":369,"text":265,"children":646},[647,648],{"id":305,"depth":386,"text":306},{"id":330,"depth":386,"text":649},"Create a project with configuration via flightcontrol.json","Deploy Nitro apps to AWS via Flightcontrol.","md",{},{},{"title":164,"description":650},"EZIOSyJ1CRIUlNkTMLy8SVxgtdOAFyta_7XUJaBRwvc",[657,659],{"title":160,"path":161,"stem":162,"description":658,"children":-1},"Deploy Nitro apps to Firebase.",{"title":168,"path":169,"stem":170,"description":660,"children":-1},"Deploy Nitro apps to Genezio.",1775119639883]