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