[{"data":1,"prerenderedAt":449},["ShallowReactive",2],{"navigation":3,"-deploy-providers-platform-sh":217,"-deploy-providers-platform-sh-surround":444},[4,83,208,214],{"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],{"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},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":209,"path":210,"stem":211,"children":212,"icon":36},"Config","/config","3.config/0.index",[213],{"title":209,"path":210,"stem":211,"icon":36},{"title":5,"path":215,"stem":216},"/","index",{"id":218,"title":185,"body":219,"description":438,"extension":439,"meta":440,"navigation":441,"path":186,"seo":442,"stem":187,"__hash__":443},"content/2.deploy/20.providers/platform-sh.md",{"type":220,"value":221,"toc":435},"minimark",[222,234,238,243,246,253,424,428,431],[223,224,225,229,230],"p",{},[226,227,228],"strong",{},"Preset:"," ",[231,232,233],"code",{},"platform_sh",[235,236],"read-more",{"to":237},"https://platform.sh",[239,240,242],"h2",{"id":241},"setup","Setup",[223,244,245],{},"First, create a new project on platform.sh and link it to the repository you want to auto-deploy with.",[223,247,248,249,252],{},"Then in repository create ",[231,250,251],{},".platform.app.yaml"," file:",[254,255,259],"pre",{"className":256,"code":257,"filename":251,"language":258,"meta":5,"style":5},"language-yaml shiki shiki-themes github-light github-dark github-dark","name: nitro-app\ntype: 'nodejs:18'\ndisk: 128\nweb:\n  commands:\n    start: \"node .output/server/index.mjs\"\nbuild:\n  flavor: none\nhooks:\n  build: |\n    corepack enable\n    npx nypm install\n    NITR_PRESET=platform_sh npm run build\nmounts:\n    '.data':\n        source: local\n        source_path: .data\n","yaml",[231,260,261,278,289,301,310,318,329,337,348,356,368,374,380,386,394,402,413],{"__ignoreMap":5},[262,263,266,270,274],"span",{"class":264,"line":265},"line",1,[262,267,269],{"class":268},"sByVh","name",[262,271,273],{"class":272},"slsVL",": ",[262,275,277],{"class":276},"sfrk1","nitro-app\n",[262,279,281,284,286],{"class":264,"line":280},2,[262,282,283],{"class":268},"type",[262,285,273],{"class":272},[262,287,288],{"class":276},"'nodejs:18'\n",[262,290,292,295,297],{"class":264,"line":291},3,[262,293,294],{"class":268},"disk",[262,296,273],{"class":272},[262,298,300],{"class":299},"suiK_","128\n",[262,302,304,307],{"class":264,"line":303},4,[262,305,306],{"class":268},"web",[262,308,309],{"class":272},":\n",[262,311,313,316],{"class":264,"line":312},5,[262,314,315],{"class":268},"  commands",[262,317,309],{"class":272},[262,319,321,324,326],{"class":264,"line":320},6,[262,322,323],{"class":268},"    start",[262,325,273],{"class":272},[262,327,328],{"class":276},"\"node .output/server/index.mjs\"\n",[262,330,332,335],{"class":264,"line":331},7,[262,333,334],{"class":268},"build",[262,336,309],{"class":272},[262,338,340,343,345],{"class":264,"line":339},8,[262,341,342],{"class":268},"  flavor",[262,344,273],{"class":272},[262,346,347],{"class":276},"none\n",[262,349,351,354],{"class":264,"line":350},9,[262,352,353],{"class":268},"hooks",[262,355,309],{"class":272},[262,357,359,362,364],{"class":264,"line":358},10,[262,360,361],{"class":268},"  build",[262,363,273],{"class":272},[262,365,367],{"class":366},"so5gQ","|\n",[262,369,371],{"class":264,"line":370},11,[262,372,373],{"class":276},"    corepack enable\n",[262,375,377],{"class":264,"line":376},12,[262,378,379],{"class":276},"    npx nypm install\n",[262,381,383],{"class":264,"line":382},13,[262,384,385],{"class":276},"    NITR_PRESET=platform_sh npm run build\n",[262,387,389,392],{"class":264,"line":388},14,[262,390,391],{"class":268},"mounts",[262,393,309],{"class":272},[262,395,397,400],{"class":264,"line":396},15,[262,398,399],{"class":276},"    '.data'",[262,401,309],{"class":272},[262,403,405,408,410],{"class":264,"line":404},16,[262,406,407],{"class":268},"        source",[262,409,273],{"class":272},[262,411,412],{"class":276},"local\n",[262,414,416,419,421],{"class":264,"line":415},17,[262,417,418],{"class":268},"        source_path",[262,420,273],{"class":272},[262,422,423],{"class":276},".data\n",[235,425],{"to":426,"title":427},"https://docs.platform.sh/create-apps/app-reference.html","Complete list of all available properties",[235,429],{"to":430,"title":427},"https://unjs.io/blog/2023-08-25-nitro-2.6#default-persistent-data-storage",[432,433,434],"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 pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}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":280,"depth":280,"links":436},[437],{"id":241,"depth":280,"text":242},"Deploy Nitro apps to platform.sh","md",{},{},{"title":185,"description":438},"sof8OubGL4izH4yTmMGkCk93W5AA45NiA_v8vt98To4",[445,447],{"title":181,"path":182,"stem":183,"description":446,"children":-1},"Deploy Nitro apps to Netlify functions or edge.",{"title":189,"path":190,"stem":191,"description":448,"children":-1},"Deploy Nitro apps to Render.com.",1764005910684]