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