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