A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.
This is a runbook for moving one Netlify site onto a Levelrail instance you run yourself. It covers only features that exist in this repository today. Where something has no equivalent, it says so. There is no Netlify importer, so every step is manual.
Some areas are still beta (see feature status), including Forms. Keep the Netlify site live as your rollback path until the new one has run clean for a while.
1. Inventory what Netlify holds
Collect this before you touch Levelrail. Much of it lives in the Netlify dashboard, not in your repo.
Build command, publish directory and base directory (Site configuration, Build and deploy).
Environment variables, and which deploy contexts they apply to.
netlify.toml, _redirects and _headers.
Forms, with their notification settings.
Build hooks and scheduled functions.
Domains, DNS provider and current TTLs. Note whether the domain uses Netlify DNS.
Use of Functions, Edge Functions, Identity, Blobs, Image CDN and Analytics. Section 5 covers each.
2. Create the site
Connect the git provider in the dashboard, then check it with levelrail-cli git-providers.
Create the app from the Git repository card in the New wizard, or from a spec file:
levelrail-cli apps create --name my-site --file app.yaml --service web \ --repo https://github.com/you/site.git --ref main
To change the build later, use the app’s Source tab, or:
levelrail-cli apps git-source set my-site --build-type static --build-command "pnpm build" --publish-dir buildlevelrail-cli apps git-source set my-site --build-type static --infer-build
--infer-build detects the framework and fills whichever of the command and publish directory you leave out.
The build runs in a Node based container. It installs dependencies with the package manager that matches your lockfile, then runs your command. For Hugo, Jekyll or another generator, set APP_STATIC_BUILD_IMAGE to an image that has the tool and a shell, or build elsewhere and serve the committed output. The output is capped at APP_STATIC_BUILD_MAX_MB (default 2048). See Static pages.Leave domains: out of the first deploy so nothing competes with Netlify for the real hostname. Check the result with levelrail-cli static-sites list.
3. Map netlify.toml
Only the keys below map. Everything else in netlify.toml is ignored.
netlify.toml
Levelrail
Notes
build.command
build.command
Static services only
build.publish
build.publish
Relative to the base directory
build.base
build.baseDirectory
The project root inside the repo
build.environment
build.args
Build time variables for a static build. They end up in public output, so no secrets
[context.deploy-preview]
contexts: deploy-preview
Env, build.command, build.publish, build.args
[context.branch-deploy]
contexts: branch-deploy
Same fields
[context.branch-name]
contexts: "branch:<pattern>"
An exact name or a glob such as release/*
[context.production]
The app’s own settings
Production takes no overrides
[[redirects]]
routes: in app.yaml, or _redirects
from, to, status, force, query. Conditions are not supported
[[headers]]
headers: in app.yaml, or _headers
path, values, remove
[[redirects]] with a proxy 200 to another site
Not supported
Use a path forwarder, see below
build.ignore
Not supported
Git source path filters are a different mechanism
[functions], [[edge_functions]]
Not supported
See section 5
[[plugins]] (build plugins)
Not supported
[dev]
Not supported
[build.processing] (asset optimization)
Not supported
Redirects and headers
Copy _redirects and _headers into the published directory unchanged. They are compiled at deploy time and removed from the served files. Single page app fallback, clean URLs, trailing slash and the 404 page are set under static: in app.yaml:
A rule that is not forced is skipped when a file exists at that path. Add ! (or force: true) where you relied on a redirect winning over a file.
Country=, Language=, Role= and Cookie= conditions are skipped and reported. These need an edge runtime.
A 200 rewrite must point at a path on the same site. Proxying to another origin is not available in static routing. A path forwarder on the domain can send a path to an external URL or another app.
Limits apply: 1000 rules, 100 header blocks and 256 KiB per file by default. See Static routing.
4. Settings around the site
Environment variables and deploy contexts
Static build env goes in build.args. For different values on previews and branches, set a context:
levelrail-cli apps contexts set my-site --context deploy-preview --env API_URL=https://staging.example.comlevelrail-cli apps contexts set my-site --context "branch:release/*" --build-command "npm run build:rc" --publish distlevelrail-cli apps contexts show my-site --context branch-deploy --branch release/1.2
Context env is stored as plain values. Put secrets in branch env overrides (apps branch-env set ... --secret) or app secrets. Production deploys use the app’s own settings only. See Deploy contexts.
Branch deploys
Off by default. Turn them on for the branches you want:
Each branch gets a stable URL and rebuilds on every push. Removal happens when the branch is deleted or after APP_BRANCH_DEPLOY_TTL (default 336h). At most 10 live branch deploys per app by default.
Deploy previews
Pull request previews are a separate feature, enabled per app with levelrail-cli apps previews enable my-site. They need a pull request and a primary domain on the control plane. See Preview environments. The docs do not say whether pull request previews cover static sites specifically, so try one on a test pull request before relying on it. Branch deploys are documented for static sites.
Forms
Netlify finds forms in your HTML. Levelrail does not. Create each form and paste its snippet:
levelrail-cli forms create my-site contact --redirect-url https://example.com/thankslevelrail-cli forms snippet my-site contact
The endpoint takes URL encoded, multipart and JSON posts. The bot-field input is the default spam trap, so a honeypot named bot-field can stay. Submissions have an inbox, search, CSV export and notifications to your existing alert channels. File uploads are not stored, there is no CAPTCHA check, and no confirmation goes back to the visitor. Forms are beta. Export old submissions from Netlify yourself, since there is no importer. See Forms.
Build hooks
levelrail-cli apps build-hooks create my-site --name "cms publish" --branch main
The URL is shown once. Point your CMS webhook at it. A POST answers 202 and builds the latest commit on the branch. Triggers are limited to 6 per hook per minute by default. See Build hooks.
Scheduled functions
A Netlify scheduled function runs on a clock. Here the clock calls a path on a container app, and wakes it if it is asleep. A static site has no server to call, so move the handler to a Functions app or another container app, then:
levelrail-cli jobs create web digest --mode http --http-path /cron/digest --schedule "@hourly" --retries 3
Add --background for work that outlives a request. Http jobs cannot be declared in app.yaml yet, and the call carries no custom headers. See Scheduled functions.
Lock deploys
Netlify’s lock publishing maps to the publish lock. Builds still run, then wait as held builds until you publish them. Manual deploys and rollbacks still go live, as do safety rollbacks. Use the lock control on the app page, levelrail-cli apps lock <app> and levelrail-cli apps unlock <app>, or PUT and DELETE on /api/v1/apps/{name}/publish-lock. Publish a held build with levelrail-cli apps publish <app> <deploy-id>. See Publish lock.
Split testing
Split testing works for static sites and container apps that have an explicit domain. On a static site you split production against retained deploys, and a variant can be promoted live. See Split testing.
No build runs. What you drop is what is served. See Drop deploy.
5. Where Netlify is ahead, and what has no equivalent
Netlify feature
On Levelrail
Netlify Functions
Functions are container apps that sleep when idle, with a cold start of a container start. Rewrite the handler as a small HTTP server. Not an edge runtime
Background functions
An http job with --background, which the control plane waits on for up to 15 minutes by default
Edge Functions
Not offered. A stated non-goal. Logic that depends on the edge runtime has to move into your app or a CDN
Identity
No equivalent. Use a separate auth service or build login into an app. See Integrations
Blobs
No equivalent. Managed Postgres and Redis exist, and S3-compatible storage is used for backups only
Image CDN
Not offered. Pre-generate sizes at build time
Analytics
No browser-side analytics. Server-side request rate, errors and latency percentiles per app are built in
Global CDN and edge network
Not provided. Files are served from the node or nodes you run
Automatic form detection
Not supported. Forms are created explicitly
Static split testing
Supported, needs an explicit domain
Redirect conditions (country, language, role)
Not supported
Proxy rewrites to external URLs in _redirects
Not supported there. Use a path forwarder
Build plugins
Not supported
6. Domains and DNS cutover
Lower TTLs first. At least one old TTL period before the cutover, set the TTL on the relevant records to 60 to 300 seconds.
If the domain uses Netlify DNS, recreate the zone at a DNS host you control before you move anything, and copy every record, not only the site’s.
Add the domains: levelrail-cli domains add my-site example.com www.example.com. Set the redirect between them with levelrail-cli domains redirect set my-site www.example.com --target https://example.com.
Get a certificate ready. HTTPS is self-signed until Let’s Encrypt is enabled, and issuance needs the domain to already point at the server. See Domains and ingress.
Test before DNS changes: curl --resolve example.com:443:<server-ip> https://example.com/ (add -k while the certificate is self-signed).
Cut over. Point the A and AAAA records at the Levelrail server. Keep the site on Netlify untouched.
Watch dig +short example.com from outside your network and the app’s request metrics.
To roll back, restore the old records. Write the old values down first. A bad release on Levelrail is a different case: levelrail-cli apps deploys rollback-to my-site DEPLOY_ID, or the Rollback button on the deploy.
Raise TTLs again only after a clean run.
Checklist
Build command, publish directory and base directory match Netlify, and the site builds.
_redirects and _headers pass routes lint, and key URLs behave the same under routes test.
SPA fallback, clean URLs and the 404 page behave as before.
Env vars are set, with preview and branch values in contexts.
Branch deploys are on for the branches you use.
Every form exists, its snippet is in the HTML, and a test post reaches the inbox and a notification channel.
Build hooks are recreated and the CMS points at the new URLs.
Scheduled work runs against a container app, and each job ran once.
Every use of Functions, Edge Functions, Identity, Blobs, Image CDN and Analytics has an answer.
Domains are added, the certificate is ready, and the TTLs were lowered.
A rollback to the previous deploy works.
Decommission the Netlify site only after this passes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Levelrail","description":"Self-hosted deployment platform. Push to git, get a running app with TLS, logs, metrics and rollback. One Go binary, no Kubernetes.","colors":{"primary":"#107292","light":"#2FB3DC","dark":"#084F67"},"logo":{"light":"https://mintcdn.com/levelrail/a4MSf60PirRimFDK/assets/brand/levelrail-nav-light.svg?fit=max\u0026auto=format\u0026n=a4MSf60PirRimFDK\u0026q=85\u0026s=85fecbe3270b3cd3ad95eb0dc1ae132f","dark":"https://mintcdn.com/levelrail/a4MSf60PirRimFDK/assets/brand/levelrail-nav-dark.svg?fit=max\u0026auto=format\u0026n=a4MSf60PirRimFDK\u0026q=85\u0026s=448fe8c8352caeec81718c14801447e7","href":"https://levelrail.com"},"favicon":"https://mintcdn.com/levelrail/zPhEnShTGkGFCjPc/public/favicon.svg?fit=max\u0026auto=format\u0026n=zPhEnShTGkGFCjPc\u0026q=85\u0026s=65f3143dd7539d4b1d34090204f05be0","appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#ffffff","dark":"#000000"}},"navbar":{"links":[{"icon":"globe","href":"https://levelrail.com","label":"Website"},{"icon":"clock-rotate-left","href":"/changelog","label":"Changelog"},{"icon":"github","href":"https://github.com/glincker/levelrail","label":"GitHub"}],"primary":{"type":"button","label":"Get started","href":"/getting-started"}},"footer":{"socials":{"github":"https://github.com/glincker/levelrail","x":"https://x.com/thegdsks","website":"https://levelrail.com"}},"search":{"prompt":"Search docs, CLI, API, guides"},"seo":{"metatags":{"og:site_name":"Levelrail Docs","og:type":"website","og:image":"https://docs.levelrail.com/public/og/default.png","og:image:width":"1200","og:image:height":"630","twitter:card":"summary_large_image","twitter:image":"https://docs.levelrail.com/public/og/default.png","twitter:site":"@thegdsks","keywords":"self-hosted PaaS, Coolify alternative, Docker deployment platform, self-hosted deploys, Levelrail"},"indexing":"navigable"},"fonts":{"heading":{"family":"Geist","weight":500},"body":{"family":"Geist"}},"styling":{"codeblocks":"dark","latex":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"This page moved or never existed. Try the [quickstart](/getting-started), the [all pages index](/all-pages) or search above."}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"levelrail","hasAudioNarration":false,"actualSubdomain":"levelrail","customDomains":["docs.levelrail.com"],"gitSource":{"type":"github","owner":"glincker","repo":"levelrail","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":"","_id":"6b1103579ffae5051c41ec11"},"entitlements":{},"buildId":"6b14943bd1f46b6774dd62b3","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Self-host gallery","count":647},{"language":"default","tag":"How-to guides","count":280},{"language":"default","tag":"Productivity","count":96},{"language":"default","tag":"Developer Tools","count":90},{"language":"default","tag":"Get started","count":61},{"language":"default","tag":"Media","count":60},{"language":"default","tag":"Deploying","count":59},{"language":"default","tag":"Monitoring","count":55},{"language":"default","tag":"Database Tools","count":51},{"language":"default","tag":"AI","count":51}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--lr-live: #2fb3dc;--lr-soft: #58b1ce;--lr-teal: #107292;--lr-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--lr-r: 12px;--lr-face: #0e0f11;--lr-face-2: #141617;--lr-text: #cfcfd3;--lr-link: #58b1ce;--lr-line: rgba(255, 255, 255, 0.08);--lr-ring: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.06));--lr-ring-hot: linear-gradient(180deg, rgba(47, 179, 220, 0.55), rgba(47, 179, 220, 0.12) 45%, rgba(47, 179, 220, 0.2));--lr-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));--lr-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 1px rgba(0, 0, 0, 0.5), 0 8px 16px -4px rgba(0, 0, 0, 0.55), 0 24px 48px -12px rgba(0, 0, 0, 0.65);--lr-glow-op: 1;--lr-grain: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 9 0 0 0 -4.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\")}html:not(.dark){--lr-face: #ffffff;--lr-face-2: #f6f6f7;--lr-text: #3a3d40;--lr-link: #107292;--lr-line: rgba(14, 15, 17, 0.1);--lr-ring: linear-gradient(180deg, rgba(14, 15, 17, 0.2), rgba(14, 15, 17, 0.08) 40%, rgba(14, 15, 17, 0.1));--lr-ring-hot: linear-gradient(180deg, rgba(16, 114, 146, 0.6), rgba(16, 114, 146, 0.18) 45%, rgba(16, 114, 146, 0.26));--lr-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));--lr-shadow: 0 1px 1px rgba(14, 15, 17, 0.06), 0 8px 16px -6px rgba(14, 15, 17, 0.1);--lr-glow-op: 0.35}html.dark body{background-color:#000}body{position:relative;font-feature-settings:\"cv11\", \"ss03\";-webkit-font-smoothing:antialiased}body::before,body::after{content:\"\";position:absolute;inset:0 0 auto 0;height:440px;z-index:-1;pointer-events:none;background:radial-gradient(54% 92% at 50% 0%, rgba(47, 179, 220, 0.42), transparent 72%),\n radial-gradient(38% 78% at 10% 0%, rgba(31, 200, 176, 0.3), transparent 72%),\n radial-gradient(36% 70% at 92% 0%, rgba(108, 125, 255, 0.3), transparent 72%)}body::before{opacity:calc(0.4 * var(--lr-glow-op))}body::after{opacity:calc(0.9 * var(--lr-glow-op));filter:saturate(1.2) brightness(1.25);-webkit-mask-image:var(--lr-grain), linear-gradient(to bottom, #000 0%, transparent 88%);-webkit-mask-size:220px 220px, 100% 100%;-webkit-mask-composite:source-in;mask-image:var(--lr-grain), linear-gradient(to bottom, #000 0%, transparent 88%);mask-size:220px 220px, 100% 100%;mask-composite:intersect}html{isolation:isolate}#content-area,#content-container{color:var(--lr-text)}#page-title{font-weight:300;letter-spacing:-0.03em;line-height:1.08;text-wrap:balance}#content-area h2{font-weight:300;letter-spacing:-0.025em}#content-area h3,#content-area h4{font-weight:500;letter-spacing:-0.02em}#header p,#content-area p{text-wrap:pretty}#header>div>div:first-child:not(:has(h1)){font-family:var(--lr-mono);font-size:0.75rem;letter-spacing:0.08em;text-transform:uppercase;color:#8d8d96}#content-area a:not(.card):not([data-component-part]){color:var(--lr-link)}#content-area a[href]:not(.card){text-decoration-color:color-mix(in srgb, var(--lr-link) 40%, transparent)}#content-area a[href]:not(.card):hover{text-decoration-color:currentColor}code,pre,kbd,samp{font-family:var(--lr-mono)!important;font-feature-settings:\"calt\" 0}#content-area :not(pre)>code{background:var(--lr-face-2);border:1px solid var(--lr-line);border-radius:6px;padding:0.1em 0.4em;font-size:0.875em;color:inherit}html.dark #content-area :not(pre)>code{color:#e4e4e7}.code-block{border-radius:var(--lr-r);border:1px solid transparent;box-shadow:var(--lr-shadow);background:var(--lr-sheen) padding-box, linear-gradient(#08090a, #08090a) padding-box, var(--lr-ring) border-box}.code-block-background,.code-block>div{border-radius:var(--lr-r);background-color:transparent}.code-block [data-component-part=\"code-block-root\"],.code-block pre{background:transparent}.code-block code{font-size:0.8125rem;line-height:1.7}.card,.accordion,.accordion-group,.callout{border:1px solid transparent;border-radius:var(--lr-r);box-shadow:var(--lr-shadow);background:var(--lr-sheen) padding-box, linear-gradient(var(--lr-face), var(--lr-face)) padding-box, var(--lr-ring) border-box}.card{transition:box-shadow 0.2s, transform 0.2s}.card:hover{transform:translateY(-1px)}html.dark .card:hover{border-color:rgba(47, 179, 220, 0.45)}.card [data-component-part=\"card-title\"]{font-weight:500;letter-spacing:-0.01em}.card [data-component-part=\"card-icon\"]{color:var(--lr-live)}html:not(.dark) .card [data-component-part=\"card-icon\"]{color:#107292}.accordion{margin-bottom:0.75rem;overflow:hidden}.accordion-group{overflow:hidden}.callout{padding:1rem 1.25rem}.callout[class*=\"border-yellow\"],.callout[class*=\"border-green\"],.callout[class*=\"border-blue\"],.callout[class*=\"border-red\"],.callout[class*=\"border-sky\"]{background:var(--lr-sheen) padding-box, linear-gradient(var(--lr-face), var(--lr-face)) padding-box, var(--lr-ring) border-box}@media (prefers-reduced-motion: reduce){.card{transition:none}.card:hover{transform:none}}#content-area table{border-collapse:separate;border-spacing:0;border:1px solid var(--lr-line);border-radius:var(--lr-r);overflow:hidden;box-shadow:var(--lr-shadow)}#content-area thead th{font-family:var(--lr-mono);font-size:0.75rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;color:#8d8d96;background:var(--lr-face-2)}#content-area tbody td,#content-area thead th{border-bottom:1px solid var(--lr-line)}#content-area tbody tr:last-child td{border-bottom:0}#navbar>div.absolute,#navbar>div>div.absolute{background:color-mix(in srgb, var(--lr-face) 38%, transparent);border-bottom-color:var(--lr-line);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3)}#sidebar .sticky.pointer-events-none{background:none}#navbar .nav-tabs-item[data-active=\"true\"]{color:var(--lr-live)}html:not(.dark) #navbar .nav-tabs-item[data-active=\"true\"]{color:#107292}#navbar .nav-tabs-item[data-active=\"true\"]>div,#navbar .nav-tabs-item[data-active=\"true\"]::after{background:var(--lr-live)}html:not(.dark) #navbar .nav-tabs-item[data-active=\"true\"]>div,html:not(.dark) #navbar .nav-tabs-item[data-active=\"true\"]::after{background:#107292}#topbar-cta-button a>span.absolute{border-radius:50px;background:var(--lr-live);border:1px solid rgba(255, 255, 255, 0.35);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 6px 14px -6px rgba(47, 179, 220, 0.45)}#topbar-cta-button a{padding-left:1rem;padding-right:0.75rem}#topbar-cta-button a .text-white,#topbar-cta-button a svg{color:#000!important}html:not(.dark) #topbar-cta-button a>span.absolute{background:#06232c;border-color:transparent;box-shadow:0 1px 1px rgba(14, 15, 17, 0.3)}html:not(.dark) #topbar-cta-button a .text-white,html:not(.dark) #topbar-cta-button a svg{color:#2fb3dc!important}#search-bar-entry{border-radius:50px;border:1px solid transparent;box-shadow:var(--lr-shadow);background:var(--lr-sheen) padding-box, linear-gradient(var(--lr-face-2), var(--lr-face-2)) padding-box, var(--lr-ring) border-box}#search-bar-entry:hover{background:var(--lr-sheen) padding-box, linear-gradient(var(--lr-face-2), var(--lr-face-2)) padding-box, var(--lr-ring-hot) border-box}#sidebar .sidebar-group-header{font-family:var(--lr-mono);font-size:0.6875rem;letter-spacing:0.08em;text-transform:uppercase;font-weight:500;color:#8d8d96}#sidebar a[aria-current=\"page\"]{border-radius:50px;color:var(--lr-live);background:rgba(47, 179, 220, 0.08);box-shadow:inset 0 0 0 1px rgba(47, 179, 220, 0.2)}html:not(.dark) #sidebar a[aria-current=\"page\"]{color:#084f67;background:rgba(16, 114, 146, 0.09);box-shadow:inset 0 0 0 1px rgba(16, 114, 146, 0.25)}#sidebar a:not([aria-current=\"page\"]):hover{border-radius:50px}#table-of-contents a[data-active=\"true\"],#table-of-contents .toc-item[data-active=\"true\"]{color:var(--lr-live)}html:not(.dark) #table-of-contents a[data-active=\"true\"]{color:#107292}#footer{border-top:1px solid var(--lr-line)}#content-area table th,#content-area table td{padding:0.75rem 1rem;vertical-align:top}#content-area table td:first-child{font-weight:500}#sidebar a[aria-current=\"page\"] img[src*=\"/assets/icons/\"],#navbar .nav-tabs-item[data-active=\"true\"] img[src*=\"/assets/icons/\"]{filter:brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(237%) hue-rotate(148deg) brightness(81%) contrast(149%)}html:not(.dark) #sidebar a[aria-current=\"page\"] img[src*=\"/assets/icons/\"],html:not(.dark) #navbar .nav-tabs-item[data-active=\"true\"] img[src*=\"/assets/icons/\"]{filter:brightness(0) saturate(100%) invert(28%) sepia(90%) saturate(323%) hue-rotate(148deg) brightness(118%) contrast(123%)}"}]}
{"page":{"pagePath":"migrating-from-netlify","slug":"/migrating-from-netlify","pageMetadata":{"title":"Migrating a static site from Netlify","description":"A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.","og:url":"https://docs.levelrail.com/migrating-from-netlify","href":"/migrating-from-netlify"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,input:`input`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This is a runbook for moving one Netlify site onto a Levelrail instance you run yourself. It covers only features that exist in this repository today. Where something has no equivalent, it says so. There is no Netlify importer, so every step is manual.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Some areas are still beta (see `,_jsx(_components.a,{href:`/feature-status`,children:`feature status`}),`), including `,_jsx(_components.a,{href:`/forms`,children:`Forms`}),`. Keep the Netlify site live as your rollback path until the new one has run clean for a while.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`1-inventory-what-netlify-holds`,children:`1. Inventory what Netlify holds`}),`\n`,_jsx(_components.p,{children:`Collect this before you touch Levelrail. Much of it lives in the Netlify dashboard, not in your repo.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Build command, publish directory and base directory (Site configuration, Build and deploy).`}),`\n`,_jsx(_components.li,{children:`Environment variables, and which deploy contexts they apply to.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`netlify.toml`}),`, `,_jsx(_components.code,{children:`_redirects`}),` and `,_jsx(_components.code,{children:`_headers`}),`.`]}),`\n`,_jsx(_components.li,{children:`Forms, with their notification settings.`}),`\n`,_jsx(_components.li,{children:`Build hooks and scheduled functions.`}),`\n`,_jsx(_components.li,{children:`Domains, DNS provider and current TTLs. Note whether the domain uses Netlify DNS.`}),`\n`,_jsx(_components.li,{children:`Use of Functions, Edge Functions, Identity, Blobs, Image CDN and Analytics. Section 5 covers each.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`2-create-the-site`,children:`2. Create the site`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Connect the git provider in the dashboard, then check it with `,_jsx(_components.code,{children:`levelrail-cli git-providers`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Create the app from the Git repository card in the `,_jsx(_components.strong,{children:`New`}),` wizard, or from a spec file:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`version`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`services`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` web`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` build`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`static`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` baseDirectory`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`apps/web`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` command`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`npm run build`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` publish`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`dist`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` domains`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`www.example.com`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --file`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` app.yaml`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --service`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` web`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --repo`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` https://github.com/you/site.git`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --ref`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` main`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`To change the build later, use the app’s `,_jsx(_components.strong,{children:`Source`}),` tab, or:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` git-source`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --build-type`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` static`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --build-command`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"pnpm build\"`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --publish-dir`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` build`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` git-source`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --build-type`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` static`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --infer-build`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--infer-build`}),` detects the framework and fills whichever of the command and publish directory you leave out.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The build runs in a Node based container. It installs dependencies with the package manager that matches your lockfile, then runs your command. For Hugo, Jekyll or another generator, set `,_jsx(_components.code,{children:`APP_STATIC_BUILD_IMAGE`}),` to an image that has the tool and a shell, or build elsewhere and serve the committed output. The output is capped at `,_jsx(_components.code,{children:`APP_STATIC_BUILD_MAX_MB`}),` (default 2048). See `,_jsx(_components.a,{href:`/pages`,children:`Static pages`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Leave `,_jsx(_components.code,{children:`domains:`}),` out of the first deploy so nothing competes with Netlify for the real hostname. Check the result with `,_jsx(_components.code,{children:`levelrail-cli static-sites list`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-map-netlify-toml`,children:`3. Map netlify.toml`}),`\n`,_jsxs(_components.p,{children:[`Only the keys below map. Everything else in `,_jsx(_components.code,{children:`netlify.toml`}),` is ignored.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`netlify.toml`}),_jsx(_components.th,{children:`Levelrail`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`build.command`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`build.command`})}),_jsx(_components.td,{children:`Static services only`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`build.publish`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`build.publish`})}),_jsx(_components.td,{children:`Relative to the base directory`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`build.base`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`build.baseDirectory`})}),_jsx(_components.td,{children:`The project root inside the repo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`build.environment`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`build.args`})}),_jsx(_components.td,{children:`Build time variables for a static build. They end up in public output, so no secrets`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[context.deploy-preview]`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`contexts: deploy-preview`})}),_jsxs(_components.td,{children:[`Env, `,_jsx(_components.code,{children:`build.command`}),`, `,_jsx(_components.code,{children:`build.publish`}),`, `,_jsx(_components.code,{children:`build.args`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[context.branch-deploy]`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`contexts: branch-deploy`})}),_jsx(_components.td,{children:`Same fields`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[context.branch-name]`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`contexts: \"branch:\u003cpattern>\"`})}),_jsxs(_components.td,{children:[`An exact name or a glob such as `,_jsx(_components.code,{children:`release/*`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[context.production]`})}),_jsx(_components.td,{children:`The app’s own settings`}),_jsx(_components.td,{children:`Production takes no overrides`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[redirects]]`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`routes:`}),` in `,_jsx(_components.code,{children:`app.yaml`}),`, or `,_jsx(_components.code,{children:`_redirects`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`force`}),`, `,_jsx(_components.code,{children:`query`}),`. Conditions are not supported`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[headers]]`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`headers:`}),` in `,_jsx(_components.code,{children:`app.yaml`}),`, or `,_jsx(_components.code,{children:`_headers`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`path`}),`, `,_jsx(_components.code,{children:`values`}),`, `,_jsx(_components.code,{children:`remove`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`[[redirects]]`}),` with a proxy `,_jsx(_components.code,{children:`200`}),` to another site`]}),_jsx(_components.td,{children:`Not supported`}),_jsx(_components.td,{children:`Use a path forwarder, see below`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`build.ignore`})}),_jsx(_components.td,{children:`Not supported`}),_jsx(_components.td,{children:`Git source path filters are a different mechanism`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`[functions]`}),`, `,_jsx(_components.code,{children:`[[edge_functions]]`})]}),_jsx(_components.td,{children:`Not supported`}),_jsx(_components.td,{children:`See section 5`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`[[plugins]]`}),` (build plugins)`]}),_jsx(_components.td,{children:`Not supported`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[dev]`})}),_jsx(_components.td,{children:`Not supported`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`[build.processing]`}),` (asset optimization)`]}),_jsx(_components.td,{children:`Not supported`}),_jsx(_components.td,{})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`redirects-and-headers`,children:`Redirects and headers`}),`\n`,_jsxs(_components.p,{children:[`Copy `,_jsx(_components.code,{children:`_redirects`}),` and `,_jsx(_components.code,{children:`_headers`}),` into the published directory unchanged. They are compiled at deploy time and removed from the served files. Single page app fallback, clean URLs, trailing slash and the 404 page are set under `,_jsx(_components.code,{children:`static:`}),` in `,_jsx(_components.code,{children:`app.yaml`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`static`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` spa`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` cleanUrls`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` trailingSlash`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`remove`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` notFound`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`404.html`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Check the files before you deploy, and test a URL against the live rules:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` static-sites`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` routes`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` lint`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --redirects`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ./public/_redirects`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --headers`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ./public/_headers`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` static-sites`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` routes`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` test`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` /old`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --request-query`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"ref=x\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Differences to expect:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A rule that is not forced is skipped when a file exists at that path. Add `,_jsx(_components.code,{children:`!`}),` (or `,_jsx(_components.code,{children:`force: true`}),`) where you relied on a redirect winning over a file.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Country=`}),`, `,_jsx(_components.code,{children:`Language=`}),`, `,_jsx(_components.code,{children:`Role=`}),` and `,_jsx(_components.code,{children:`Cookie=`}),` conditions are skipped and reported. These need an edge runtime.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.code,{children:`200`}),` rewrite must point at a path on the same site. Proxying to another origin is not available in static routing. A `,_jsx(_components.a,{href:`/domain-traffic-controls#path-forwarders`,children:`path forwarder`}),` on the domain can send a path to an external URL or another app.`]}),`\n`,_jsxs(_components.li,{children:[`Limits apply: 1000 rules, 100 header blocks and 256 KiB per file by default. See `,_jsx(_components.a,{href:`/static-routing`,children:`Static routing`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`4-settings-around-the-site`,children:`4. Settings around the site`}),`\n`,_jsx(Heading,{level:`3`,id:`environment-variables-and-deploy-contexts`,children:`Environment variables and deploy contexts`}),`\n`,_jsxs(_components.p,{children:[`Static build env goes in `,_jsx(_components.code,{children:`build.args`}),`. For different values on previews and branches, set a context:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` contexts`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --context`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` deploy-preview`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --env`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` API_URL=https://staging.example.com`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` contexts`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --context`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"branch:release/*\"`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --build-command`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"npm run build:rc\"`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --publish`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` dist`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` contexts`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` show`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --context`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` branch-deploy`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --branch`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` release/1.2`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Context env is stored as plain values. Put secrets in branch env overrides (`,_jsx(_components.code,{children:`apps branch-env set ... --secret`}),`) or app secrets. Production deploys use the app’s own settings only. See `,_jsx(_components.a,{href:`/deploy-contexts`,children:`Deploy contexts`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`branch-deploys`,children:`Branch deploys`}),`\n`,_jsx(_components.p,{children:`Off by default. Turn them on for the branches you want:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` branch-deploys`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --mode`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` patterns`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --branch`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` staging`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --branch`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"feature/*\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Each branch gets a stable URL and rebuilds on every push. Removal happens when the branch is deleted or after `,_jsx(_components.code,{children:`APP_BRANCH_DEPLOY_TTL`}),` (default 336h). At most 10 live branch deploys per app by default.`]}),`\n`,_jsx(Heading,{level:`3`,id:`deploy-previews`,children:`Deploy previews`}),`\n`,_jsxs(_components.p,{children:[`Pull request previews are a separate feature, enabled per app with `,_jsx(_components.code,{children:`levelrail-cli apps previews enable my-site`}),`. They need a pull request and a primary domain on the control plane. See `,_jsx(_components.a,{href:`/preview-environments`,children:`Preview environments`}),`. The docs do not say whether pull request previews cover static sites specifically, so try one on a test pull request before relying on it. Branch deploys are documented for static sites.`]}),`\n`,_jsx(Heading,{level:`3`,id:`forms`,children:`Forms`}),`\n`,_jsx(_components.p,{children:`Netlify finds forms in your HTML. Levelrail does not. Create each form and paste its snippet:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` forms`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` contact`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --redirect-url`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` https://example.com/thanks`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` forms`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` snippet`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` contact`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The endpoint takes URL encoded, multipart and JSON posts. The `,_jsx(_components.code,{children:`bot-field`}),` input is the default spam trap, so a honeypot named `,_jsx(_components.code,{children:`bot-field`}),` can stay. Submissions have an inbox, search, CSV export and notifications to your existing alert channels. File uploads are not stored, there is no CAPTCHA check, and no confirmation goes back to the visitor. Forms are beta. Export old submissions from Netlify yourself, since there is no importer. See `,_jsx(_components.a,{href:`/forms`,children:`Forms`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`build-hooks`,children:`Build hooks`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` build-hooks`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` my-site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"cms publish\"`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --branch`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` main`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The URL is shown once. Point your CMS webhook at it. A POST answers `,_jsx(_components.code,{children:`202`}),` and builds the latest commit on the branch. Triggers are limited to 6 per hook per minute by default. See `,_jsx(_components.a,{href:`/build-hooks`,children:`Build hooks`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`scheduled-functions`,children:`Scheduled functions`}),`\n`,_jsxs(_components.p,{children:[`A Netlify scheduled function runs on a clock. Here the clock calls a path on a container app, and wakes it if it is asleep. A static site has no server to call, so move the handler to a `,_jsx(_components.a,{href:`/functions`,children:`Functions`}),` app or another container app, then:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` jobs`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` web`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` digest`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --mode`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --http-path`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` /cron/digest`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --schedule`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"@hourly\"`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --retries`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 3`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Add `,_jsx(_components.code,{children:`--background`}),` for work that outlives a request. Http jobs cannot be declared in `,_jsx(_components.code,{children:`app.yaml`}),` yet, and the call carries no custom headers. See `,_jsx(_components.a,{href:`/scheduled-functions`,children:`Scheduled functions`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`lock-deploys`,children:`Lock deploys`}),`\n`,_jsxs(_components.p,{children:[`Netlify’s lock publishing maps to the publish lock. Builds still run, then wait as held builds until you publish them. Manual deploys and rollbacks still go live, as do safety rollbacks. Use the lock control on the app page, `,_jsx(_components.code,{children:`levelrail-cli apps lock \u003capp>`}),` and `,_jsx(_components.code,{children:`levelrail-cli apps unlock \u003capp>`}),`, or `,_jsx(_components.code,{children:`PUT`}),` and `,_jsx(_components.code,{children:`DELETE`}),` on `,_jsx(_components.code,{children:`/api/v1/apps/{name}/publish-lock`}),`. Publish a held build with `,_jsx(_components.code,{children:`levelrail-cli apps publish \u003capp> \u003cdeploy-id>`}),`. See `,_jsx(_components.a,{href:`/publish-lock`,children:`Publish lock`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`split-testing`,children:`Split testing`}),`\n`,_jsxs(_components.p,{children:[`Split testing works for static sites and container apps that have an explicit domain. On a static site you split production against retained deploys, and a variant can be promoted live. See `,_jsx(_components.a,{href:`/split-testing`,children:`Split testing`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`drop-deploy`,children:`Drop deploy`}),`\n`,_jsx(_components.p,{children:`For a site you build by hand, with no git:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` deploy`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ./site`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --static`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`levelrail-cli`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` deploy`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` site.zip`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`No build runs. What you drop is what is served. See `,_jsx(_components.a,{href:`/drop-deploy`,children:`Drop deploy`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`5-where-netlify-is-ahead-and-what-has-no-equivalent`,children:`5. Where Netlify is ahead, and what has no equivalent`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Netlify feature`}),_jsx(_components.th,{children:`On Levelrail`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Netlify Functions`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/functions`,children:`Functions`}),` are container apps that sleep when idle, with a cold start of a container start. Rewrite the handler as a small HTTP server. Not an edge runtime`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Background functions`}),_jsxs(_components.td,{children:[`An http job with `,_jsx(_components.code,{children:`--background`}),`, which the control plane waits on for up to 15 minutes by default`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Edge Functions`}),_jsx(_components.td,{children:`Not offered. A stated non-goal. Logic that depends on the edge runtime has to move into your app or a CDN`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Identity`}),_jsxs(_components.td,{children:[`No equivalent. Use a separate auth service or build login into an app. See `,_jsx(_components.a,{href:`/integrations`,children:`Integrations`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Blobs`}),_jsx(_components.td,{children:`No equivalent. Managed Postgres and Redis exist, and S3-compatible storage is used for backups only`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Image CDN`}),_jsx(_components.td,{children:`Not offered. Pre-generate sizes at build time`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Analytics`}),_jsx(_components.td,{children:`No browser-side analytics. Server-side request rate, errors and latency percentiles per app are built in`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Global CDN and edge network`}),_jsx(_components.td,{children:`Not provided. Files are served from the node or nodes you run`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Automatic form detection`}),_jsx(_components.td,{children:`Not supported. Forms are created explicitly`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Static split testing`}),_jsx(_components.td,{children:`Supported, needs an explicit domain`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Redirect conditions (country, language, role)`}),_jsx(_components.td,{children:`Not supported`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Proxy rewrites to external URLs in `,_jsx(_components.code,{children:`_redirects`})]}),_jsx(_components.td,{children:`Not supported there. Use a path forwarder`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Build plugins`}),_jsx(_components.td,{children:`Not supported`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`6-domains-and-dns-cutover`,children:`6. Domains and DNS cutover`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Lower TTLs first. At least one old TTL period before the cutover, set the TTL on the relevant records to 60 to 300 seconds.`}),`\n`,_jsx(_components.li,{children:`If the domain uses Netlify DNS, recreate the zone at a DNS host you control before you move anything, and copy every record, not only the site’s.`}),`\n`,_jsxs(_components.li,{children:[`Add the domains: `,_jsx(_components.code,{children:`levelrail-cli domains add my-site example.com www.example.com`}),`. Set the redirect between them with `,_jsx(_components.code,{children:`levelrail-cli domains redirect set my-site www.example.com --target https://example.com`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Get a certificate ready. HTTPS is self-signed until Let’s Encrypt is enabled, and issuance needs the domain to already point at the server. See `,_jsx(_components.a,{href:`/domains-and-ingress#tls-whats-actually-shipped-today`,children:`Domains and ingress`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Test before DNS changes: `,_jsx(_components.code,{children:`curl --resolve example.com:443:\u003cserver-ip> https://example.com/`}),` (add `,_jsx(_components.code,{children:`-k`}),` while the certificate is self-signed).`]}),`\n`,_jsx(_components.li,{children:`Cut over. Point the A and AAAA records at the Levelrail server. Keep the site on Netlify untouched.`}),`\n`,_jsxs(_components.li,{children:[`Watch `,_jsx(_components.code,{children:`dig +short example.com`}),` from outside your network and the app’s request metrics.`]}),`\n`,_jsxs(_components.li,{children:[`To roll back, restore the old records. Write the old values down first. A bad release on Levelrail is a different case: `,_jsx(_components.code,{children:`levelrail-cli apps deploys rollback-to my-site DEPLOY_ID`}),`, or the Rollback button on the deploy.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Raise TTLs again only after a clean run.`}),`\n`,_jsx(Heading,{level:`2`,id:`checklist`,children:`Checklist`}),`\n`,_jsxs(_components.ul,{className:`contains-task-list`,children:[`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Build command, publish directory and base directory match Netlify, and the site builds.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,_jsx(_components.code,{children:`_redirects`}),` and `,_jsx(_components.code,{children:`_headers`}),` pass `,_jsx(_components.code,{children:`routes lint`}),`, and key URLs behave the same under `,_jsx(_components.code,{children:`routes test`}),`.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`SPA fallback, clean URLs and the 404 page behave as before.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Env vars are set, with preview and branch values in contexts.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Branch deploys are on for the branches you use.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Every form exists, its snippet is in the HTML, and a test post reaches the inbox and a notification channel.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Build hooks are recreated and the CMS points at the new URLs.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Scheduled work runs against a container app, and each job ran once.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Every use of Functions, Edge Functions, Identity, Blobs, Image CDN and Analytics has an answer.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Domains are added, the certificate is ready, and the TTLs were lowered.`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`A rollback to the previous deploy works.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Decommission the Netlify site only after this passes.`}),`\n`,_jsx(Heading,{level:`2`,id:`see-also`,children:`See also`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/netlify-alternative`,children:`Netlify alternative`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/pages`,children:`Static pages`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/static-routing`,children:`Static site routing rules`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/domains-and-ingress`,children:`Domains and ingress`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/migrating-from-vercel`,children:`Migrating from Vercel`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Migrating a static site from Netlify","description":"A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.","og:url":"https://docs.levelrail.com/migrating-from-netlify","href":"/migrating-from-netlify"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Inventory what Netlify holds","slug":"1-inventory-what-netlify-holds","depth":2,"children":[]},{"title":"2. Create the site","slug":"2-create-the-site","depth":2,"children":[]},{"title":"3. Map netlify.toml","slug":"3-map-netlify-toml","depth":2,"children":[{"title":"Redirects and headers","slug":"redirects-and-headers","depth":3,"children":[]}]},{"title":"4. Settings around the site","slug":"4-settings-around-the-site","depth":2,"children":[{"title":"Environment variables and deploy contexts","slug":"environment-variables-and-deploy-contexts","depth":3,"children":[]},{"title":"Branch deploys","slug":"branch-deploys","depth":3,"children":[]},{"title":"Deploy previews","slug":"deploy-previews","depth":3,"children":[]},{"title":"Forms","slug":"forms","depth":3,"children":[]},{"title":"Build hooks","slug":"build-hooks","depth":3,"children":[]},{"title":"Scheduled functions","slug":"scheduled-functions","depth":3,"children":[]},{"title":"Lock deploys","slug":"lock-deploys","depth":3,"children":[]},{"title":"Split testing","slug":"split-testing","depth":3,"children":[]},{"title":"Drop deploy","slug":"drop-deploy","depth":3,"children":[]}]},{"title":"5. Where Netlify is ahead, and what has no equivalent","slug":"5-where-netlify-is-ahead-and-what-has-no-equivalent","depth":2,"children":[]},{"title":"6. Domains and DNS cutover","slug":"6-domains-and-dns-cutover","depth":2,"children":[]},{"title":"Checklist","slug":"checklist","depth":2,"children":[]},{"title":"See also","slug":"see-also","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/levelrail/34332f0f5f6180ce/public/deploy.js"],"subdomain":"levelrail","siteName":"Levelrail","title":"Migrating a static site from Netlify - Levelrail","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T21:01:48.245Z","gitLastModified":"2026-11-20T21:01:06.000Z","originalFileLocation":"migrating-from-netlify.md"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.\">\u003cmeta data-mint-head name=\"keywords\" content=\"self-hosted PaaS, Coolify alternative, Docker deployment platform, self-hosted deploys, Levelrail\">\u003cmeta data-mint-head name=\"application-name\" content=\"Levelrail\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Migrating a static site from Netlify - Levelrail\">\u003cmeta data-mint-head property=\"og:description\" content=\"A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Levelrail Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.levelrail.com/migrating-from-netlify\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.levelrail.com/public/og/default.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Migrating a static site from Netlify - Levelrail\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.levelrail.com/public/og/default.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Levelrail\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#107292\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.levelrail.com/migrating-from-netlify\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/migrating-from-netlify.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.levelrail.com/#organization\",\"name\":\"Levelrail\",\"url\":\"https://docs.levelrail.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/levelrail/a4MSf60PirRimFDK/assets/brand/levelrail-nav-light.svg?fit=max\u0026auto=format\u0026n=a4MSf60PirRimFDK\u0026q=85\u0026s=85fecbe3270b3cd3ad95eb0dc1ae132f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.levelrail.com#website\",\"name\":\"Levelrail\",\"url\":\"https://docs.levelrail.com\",\"publisher\":{\"@id\":\"https://docs.levelrail.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.levelrail.com/migrating-from-netlify#webpage\",\"url\":\"https://docs.levelrail.com/migrating-from-netlify\",\"name\":\"Migrating a static site from Netlify\",\"description\":\"A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.\",\"dateModified\":\"2026-11-20T21:01:06.000Z\",\"isPartOf\":{\"@id\":\"https://docs.levelrail.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.levelrail.com/migrating-from-netlify#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.levelrail.com/migrating-from-netlify#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Migrate\",\"item\":\"https://docs.levelrail.com/migrate-to-levelrail\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Migrating a static site from Netlify\",\"item\":\"https://docs.levelrail.com/migrating-from-netlify\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.levelrail.com/migrating-from-netlify#article\",\"headline\":\"Migrating a static site from Netlify\",\"name\":\"Migrating a static site from Netlify\",\"description\":\"A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.\",\"url\":\"https://docs.levelrail.com/migrating-from-netlify\",\"mainEntityOfPage\":{\"@id\":\"https://docs.levelrail.com/migrating-from-netlify#webpage\"},\"image\":\"https://docs.levelrail.com/public/og/default.png\",\"dateModified\":\"2026-11-20T21:01:06.000Z\",\"publisher\":{\"@id\":\"https://docs.levelrail.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.levelrail.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Levelrail\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Levelrail\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/migrating-from-netlify.md","siteName":"Levelrail","nav":{"global":null,"tabs":[{"tab":"Get started","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/rocket-launch.svg","pages":[{"title":"Get started","href":""}]},{"tab":"How-to guides","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/book-open.svg","groups":[{"group":"Essentials","pages":[{"title":"Doctor and import from the command line","sidebarTitle":"Doctor and import CLI","href":"/doctor-and-import"},{"title":"Email notifications","href":"/email-notifications"},{"title":"Email templates and messages","href":"/email-templates"},{"title":"Alerts","sidebarTitle":"Alerts","href":"/alerts"},{"title":"Alert inbox","href":"/alert-inbox"},{"title":"Event webhooks","href":"/event-webhooks"},{"title":"Off-host heartbeat","href":"/heartbeat"},{"title":"Attention center","href":"/attention-center"},{"title":"Token expiry and rotation","href":"/token-expiry-and-rotation"}]},{"group":"Deploying","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/cloud-arrow-up.svg","pages":[{"title":"Deploying and managing apps","sidebarTitle":"Deploying apps","href":"/deploying-apps"},{"title":"Deploy from your computer","sidebarTitle":"Deploy from CLI","href":"/deploy-from-cli"},{"title":"Drop deploy for static sites","sidebarTitle":"Drop deploy","href":"/drop-deploy"},{"title":"Compose apps","href":"/compose-apps"},{"title":"Runtime options","href":"/runtime-options"},{"title":"App files","href":"/app-files"},{"title":"UDP published ports","href":"/udp-ports"},{"title":"New app wizard","href":"/new-app-wizard"},{"title":"Importing apps","href":"/importing-apps"},{"title":"Connect a Git source to an existing app","href":"/connect-git-source"},{"title":"Static pages","sidebarTitle":"Pages","href":"/pages"},{"title":"Static site routing rules","sidebarTitle":"Static routing","href":"/static-routing"},{"title":"Deploy safety","href":"/deploy-safety"},{"title":"Publish lock","href":"/publish-lock"},{"title":"Deploy failures","href":"/deploy-failures"},{"title":"Status reasons","href":"/status-reasons"},{"title":"Deploying through git host outages","href":"/git-host-outages"},{"title":"Deploy trace","href":"/deploy-trace"},{"title":"Deploy event timeline","href":"/deploy-event-timeline"},{"title":"Build performance","href":"/build-performance"},{"title":"Host protection","href":"/host-protection"},{"title":"Build center","href":"/build-center"},{"title":"Deployment hub","href":"/deployment-hub"},{"title":"Scheduled deploys","href":"/scheduled-deploys"},{"title":"Pull request comment commands","href":"/pr-comment-commands"},{"title":"Scheduled jobs","href":"/scheduled-jobs"},{"title":"Scheduled and background functions","href":"/scheduled-functions"},{"title":"Jobs","href":"/jobs"},{"title":"Image auto-update","href":"/image-auto-update"},{"title":"Build hooks","href":"/build-hooks"},{"title":"Sleep when idle","href":"/sleep-when-idle"},{"title":"Functions","href":"/functions"},{"title":"Canary deploys","href":"/canary-deploys"},{"title":"Split testing","href":"/split-testing"},{"title":"Deployments page","href":"/deployments-page"},{"title":"Images","href":"/images"},{"title":"Deploy previews","href":"/deploy-previews"},{"title":"Preview domains","href":"/preview-domains"},{"title":"Framework presets","href":"/frameworks"},{"title":"Deploy a Next.js app","sidebarTitle":"Next.js","href":"/nextjs"},{"title":"Next.js image cache volume","href":"/nextjs-image-cache"},{"title":"Next.js shared cache for multiple replicas","href":"/nextjs-shared-cache"},{"title":"Next.js skew protection, deploy side","href":"/nextjs-skew-protection"},{"title":"Deploy URLs","href":"/deploy-urls"},{"title":"Deploy links and badge","href":"/deploy-link"},{"title":"Deploy timeline","href":"/deploy-timeline"},{"title":"Deploy receipts","href":"/deploy-receipts"},{"title":"Preview environments per pull request","sidebarTitle":"Preview environments","href":"/previews"},{"title":"Chat-interactive deploy approvals","sidebarTitle":"Chat approvals","href":"/chat-deploy-approvals"},{"title":"Supply chain visibility","href":"/supply-chain"},{"title":"Secret scanning","href":"/secret-scanning"},{"title":"Deploy status badge","href":"/deploy-status-badge"},{"title":"Dashboard screenshots","href":"/screenshots"},{"title":"Running Levelrail in Docker","href":"/docker"},{"title":"Zero-downtime deploys with Docker: readiness-gated cutover and rollback","href":"/zero-downtime-deploys"},{"title":"Rollout control","href":"/rollout-control"},{"title":"Staged agent update waves","sidebarTitle":"Agent update waves","href":"/agent-update-waves"},{"title":"Preview environments","href":"/preview-environments"},{"title":"Deploy contexts: env and build settings per kind of deploy","href":"/deploy-contexts"}]},{"group":"Networking and multi-node","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/globe-hemisphere-west.svg","pages":[{"title":"Standalone domains","href":"/standalone-domains"},{"title":"Domain setup stepper","href":"/domains"},{"title":"Dynamic DNS","href":"/dynamic-dns"},{"title":"DNS zones and records","href":"/dns"},{"title":"DNS zones and nameserver delegation","href":"/dns-zones"},{"title":"DNS query visibility (beta)","href":"/dns-visibility"},{"title":"Egress dry run (beta)","href":"/egress-dry-run"},{"title":"Mesh DNS on the bridge gateways (beta)","href":"/mesh-dns"},{"title":"Mail DNS","tag":"Experimental","href":"/mail-dns"},{"title":"Mail server template","tag":"Experimental","href":"/mail-template"},{"title":"Mailboxes, aliases and the mail queue","tag":"Experimental","href":"/mail-mailboxes"},{"title":"Mail backup and restore","href":"/mail-backup"},{"title":"Mail storage","href":"/mail-storage"},{"title":"Diagnose a domain","href":"/domain-diagnosis"},{"title":"Domain traffic controls","href":"/domain-traffic-controls"},{"title":"Ingress abuse defense","href":"/abuse-defense"},{"title":"CDN and caching","href":"/cdn-and-caching"},{"title":"Forms","tag":"Beta","href":"/forms"},{"title":"Firewall","href":"/firewall"},{"title":"Verifying real ACME issuance against a live domain","href":"/acme-verification-runbook"},{"title":"Multi-node: adding and managing nodes","tag":"Beta","href":"/multi-node"},{"title":"Server patching","href":"/server-patching"},{"title":"Update center","href":"/update-center"},{"title":"Add a node anywhere","tag":"Beta","sidebarTitle":"Add a node anywhere","href":"/add-node-anywhere"},{"title":"Add a server over SSH","tag":"Beta","sidebarTitle":"Add a server over SSH","href":"/add-node-over-ssh"},{"title":"Run a node on macOS","tag":"Beta","sidebarTitle":"macOS node agent","href":"/macos-agent"},{"title":"macOS runtime","tag":"Beta","sidebarTitle":"macOS runtime","href":"/macos-runtime"},{"title":"Run Levelrail on home hardware","sidebarTitle":"Home hardware","href":"/home-hardware"},{"title":"Device fleets","sidebarTitle":"Device fleets","href":"/iot-fleet"},{"title":"Resource-aware placement","tag":"Beta","href":"/resource-aware-placement"},{"title":"Node scheduling: taints, tolerations, affinity and score mode","tag":"Beta","href":"/node-scheduling"},{"title":"Autoscaling","tag":"Beta","href":"/autoscaling"},{"title":"Node provisioning","href":"/node-provisioning"},{"title":"Multi-cloud provisioning quickstart","href":"/multi-cloud-provisioning"},{"title":"Network topology view","href":"/network-topology"},{"title":"Private app tunnel","href":"/app-tunnel"},{"title":"Project topology graph","href":"/service-topology-graph"},{"title":"Service map","href":"/service-map"},{"title":"Canvas","href":"/canvas"},{"title":"Build node routing","href":"/build-node-routing"}]},{"group":"Databases and storage","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/database.svg","pages":[{"title":"Managing databases","href":"/managing-databases"},{"title":"Database branch per pull request","sidebarTitle":"Database branch per PR","href":"/database-branch-per-pull-request"},{"title":"Managed databases from the command line","sidebarTitle":"Managed databases","href":"/managed-databases"},{"title":"Postgres connection pooler","href":"/postgres-pooler"},{"title":"Database upgrades","href":"/database-upgrades"},{"title":"Database version catalog","href":"/database-version-catalog"},{"title":"External databases","href":"/external-databases"},{"title":"Connecting apps to databases","href":"/connecting-apps-to-databases"},{"title":"Backup targets, registry credentials and volumes","sidebarTitle":"Backups and storage","href":"/backups-and-storage"},{"title":"Backup copies","href":"/backup-copies"},{"title":"Backup target fields","href":"/backup-target-fields"},{"title":"Log drain fields","href":"/log-drain-fields"},{"title":"Volume files","href":"/volume-files"},{"title":"Prove your backups work","href":"/prove-your-backups-work"},{"title":"Object storage","href":"/object-storage"},{"title":"Network shares","href":"/network-shares"},{"title":"Log explorer","href":"/log-explorer"},{"title":"Custom dashboards","href":"/custom-dashboards"},{"title":"Tracing","href":"/tracing"},{"title":"OTLP logs and metrics ingest","href":"/otlp-ingest"},{"title":"Error tracking","href":"/error-tracking"},{"title":"Loki-compatible log API","href":"/loki-api"},{"title":"Log pipelines","href":"/log-pipelines"},{"title":"Log volume budgets","href":"/log-budgets"},{"title":"Collapse repeated log lines","href":"/log-collapse"},{"title":"Data export","href":"/data-export"},{"title":"Traffic export","href":"/traffic-export"},{"title":"Audit event schema","href":"/audit-event-schema"},{"title":"Audit log","href":"/audit-log"},{"title":"Control plane backup and restore","sidebarTitle":"Control plane backup","href":"/control-plane-backup"},{"title":"Whole-server recovery","href":"/whole-server-recovery"},{"title":"Archives","href":"/archives"},{"title":"Disaster recovery","href":"/disaster-recovery"},{"title":"Control plane recovery","href":"/control-plane-recovery"},{"title":"Upgrade safely","href":"/upgrade-safely"},{"title":"Database access and network","href":"/database-access"},{"title":"Private networks and allow rules","href":"/private-networks"},{"title":"Database explorer and fleet overview","href":"/database-explorer"},{"title":"Database viewer","href":"/database-viewer"}]},{"group":"CI/CD and automation","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/git-branch.svg","pages":[{"title":"Deploying from GitHub Actions","href":"/github-actions"},{"title":"Use any CI","href":"/use-any-ci"},{"title":"Pipelines","href":"/pipelines"},{"title":"Pipelines: OIDC federation","href":"/pipelines-oidc"},{"title":"Pipelines: import from other CI","sidebarTitle":"Import from other CI","href":"/pipelines-import"},{"title":"Git integrations","href":"/git-integrations"},{"title":"Azure DevOps","href":"/azure-devops"},{"title":"Git reliability","href":"/git-reliability"},{"title":"Wait for CI before deploying","href":"/ci-gate"},{"title":"Deploy with git push","href":"/git-push-deploy"},{"title":"Import a repository","sidebarTitle":"Import a repo","href":"/import-a-repo"},{"title":"Monorepos","href":"/monorepos"}]},{"group":"Security and access","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/shield-check.svg","pages":[{"title":"Sign-in engine","href":"/auth-engine"},{"title":"Host firewall","href":"/host-firewall"},{"title":"Exposure audit","href":"/exposure-audit"},{"title":"Security center","href":"/security-center"},{"title":"Compliance evidence","href":"/compliance-evidence"},{"title":"Emergency access","href":"/emergency-access"},{"title":"Master key rotation","href":"/master-key-rotation"},{"title":"Secret rotation policies","href":"/secret-rotation"},{"title":"Vault and OpenBao secret references","href":"/vault-secret-references"},{"title":"Your account","href":"/account"},{"title":"Access control","href":"/access-control"},{"title":"Labels and namespaces","href":"/labels"},{"title":"Teams and roles","href":"/teams-and-roles"},{"title":"Team and project quotas","href":"/team-and-project-quotas"},{"title":"Environments","href":"/environments"},{"title":"Promotions and release notes","href":"/promotions-and-releases"},{"title":"Identity and access: users, roles, and IAM policies","href":"/identity-and-access"},{"title":"SAML single sign-on","href":"/sso-saml"},{"title":"OAuth and OIDC single sign-on","href":"/sso-oidc"},{"title":"SCIM provisioning","href":"/scim"},{"title":"Session policy","href":"/session-policy"},{"title":"Projects, organizations, and environments","href":"/projects-and-organizations"}]},{"group":"Scale and operations","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/chart-line-up.svg","pages":[{"title":"Managing apps at scale","href":"/managing-apps-at-scale"},{"title":"Tags","href":"/tags"},{"title":"Resource console","href":"/resource-console"},{"title":"Command palette","href":"/command-palette"},{"title":"Keyboard shortcuts","href":"/keyboard"},{"title":"Lower infrastructure cost","href":"/lower-infrastructure-cost"},{"title":"Running on a small server","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/gear-six.svg","sidebarTitle":"Small servers","href":"/low-scale"},{"title":"Cost estimate","href":"/cost-estimate"},{"title":"Usage and cost","href":"/usage-and-cost"},{"title":"Cost explorer and budgets","href":"/cost-explorer"},{"title":"Spend caps","href":"/spend-caps"},{"title":"Integrations","href":"/integrations"},{"title":"Cloud integrations","href":"/cloud-integrations"},{"title":"Rolling back the control plane","href":"/rollback"},{"title":"Pre-deploy database snapshots","href":"/predeploy-snapshot"},{"title":"Resilience: what survives a control plane crash","href":"/resilience"},{"title":"Resilience, in short","href":"/resilience-summary"},{"title":"Host pressure guard (beta)","href":"/host-pressure"},{"title":"Chaos test coverage","href":"/chaos-coverage"},{"title":"Observability: metrics, logs, and alerts","href":"/observability"},{"title":"Traffic observability: rate, errors and duration","href":"/traffic-observability"},{"title":"Traffic analytics: page views, API calls and bots","href":"/traffic-analytics"},{"title":"Prometheus scrape endpoint","href":"/prometheus-scrape"},{"title":"Web vitals","href":"/web-vitals"},{"title":"Public status page","href":"/status-page"},{"title":"Monitors","href":"/monitors"},{"title":"External monitoring","href":"/external-monitoring"},{"title":"Scheduled maintenance","href":"/scheduled-maintenance"},{"title":"Deploy policies","href":"/deploy-policies"},{"title":"What's new panel","href":"/whats-new-panel"}]},{"group":"AI and agents","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/sparkle.svg","pages":[{"title":"Working with AI agents","href":"/agents"},{"title":"AI control","href":"/ai-control"}]},{"group":"Templates and catalog","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/squares-four.svg","pages":[{"title":"Service template catalog","tag":"Beta","href":"/templates-and-registry"},{"title":"Private registries","href":"/private-registries"},{"title":"Docker Hub connection","href":"/docker-hub-connection"},{"title":"Template upgrades","href":"/template-upgrades"},{"title":"Template catalog","href":"/template-catalog"},{"title":"Deploy to Levelrail button","href":"/deploy-button"},{"title":"Template status","href":"/templates-status"},{"title":"Catalog index","href":"/catalog-index"},{"title":"Add a template","href":"/add-a-template"},{"title":"Arm64 compatibility","href":"/arm-compatibility"},{"title":"Template capabilities","href":"/template-capabilities"},{"title":"Starter kit templates","href":"/templates"}]},{"group":"Migrate","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/arrows-left-right.svg","pages":[{"title":"Migrate to Levelrail","sidebarTitle":"Migration overview","href":"/migrate-to-levelrail"},{"title":"Migration wizard","sidebarTitle":"Migration wizard","href":"/migration-wizard"},{"title":"Migrate from Coolify","sidebarTitle":"From Coolify","href":"/migrate-from-coolify"},{"title":"Coolify exit gap report","sidebarTitle":"Coolify exit gaps","href":"/coolify-exit-gap-report"},{"title":"Move a Coolify one-click service to a Compose app","sidebarTitle":"Service to Compose","href":"/coolify-service-to-compose"},{"title":"Migrate from Dokploy","sidebarTitle":"From Dokploy","href":"/migrate-from-dokploy"},{"title":"Migrate from CapRover","sidebarTitle":"From CapRover","href":"/migrate-from-caprover"},{"title":"Migrate from Dokku","sidebarTitle":"From Dokku","href":"/migrate-from-dokku"},{"title":"Migrate from Docker Compose","sidebarTitle":"From Docker Compose","href":"/migrate-from-docker-compose"},{"title":"Import Kubernetes manifests","href":"/import-kubernetes"},{"title":"Connect and deploy to an existing Kubernetes cluster","sidebarTitle":"Kubernetes clusters","href":"/kubernetes-clusters"},{"title":"Migration reference","sidebarTitle":"Reference","href":"/migration-reference"},{"title":"Migrating from Coolify, Dokploy, or CapRover","sidebarTitle":"Moved: migration guides","href":"/migrating-from-coolify-dokploy-and-caprover"},{"title":"Migration agent threat model","sidebarTitle":"Migration agent threat model","href":"/migration-agent-threat-model"},{"title":"Migrate on the same server","href":"/migrate-same-server"},{"title":"Preview adopting an existing Docker host","href":"/adopt-docker-host"},{"title":"Move a domain with no downtime","href":"/move-a-domain-with-no-downtime"},{"title":"Migrate over SSH","sidebarTitle":"Migrate over SSH","href":"/migrate-over-ssh"},{"title":"Migrate a project from Vercel","href":"/migrate-from-vercel"},{"title":"Migrating a Next.js app from Vercel","description":"A runbook for moving a Vercel Next.js app to Levelrail: inventory, concept mapping, a DNS cutover and rollback plan, gaps with no equivalent and a shadow run.","href":"/migrating-from-vercel"},{"title":"Migrating a static site from Netlify","href":"/migrating-from-netlify"},{"title":"Migrating from Render","description":"A runbook for moving Render services to Levelrail: the import command, concept mapping, environment variables, disks, databases, cron jobs, a DNS cutover and what has no equivalent.","href":"/migrating-from-render"},{"title":"Migrating a service from Cloud Run","href":"/migrating-from-cloud-run"}]},{"group":"Infrastructure as code","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/flask.svg","pages":[{"title":"IaC quickstart","tag":"Experimental","href":"/iac/index"},{"title":"IaC templates","tag":"Experimental","href":"/iac/templates"},{"title":"IaC in TypeScript","tag":"Experimental","href":"/iac/typescript"},{"title":"How IaC apply works","tag":"Experimental","href":"/iac/how-it-works"},{"title":"IaC in CI","tag":"Experimental","href":"/iac/ci"},{"title":"GitHub Action for IaC","tag":"Experimental","href":"/iac/github-action"},{"title":"Git sync for stacks","tag":"Experimental","href":"/iac/git-sync"},{"title":"Connect a cloud account","tag":"Experimental","href":"/iac/cloud-connect"},{"title":"IaC resource kinds","tag":"Experimental","href":"/iac/resources"},{"title":"Cron jobs and alert rules in files","sidebarTitle":"Cron and alert files","href":"/iac/cron-and-alerts"},{"title":"Import Heroku, Fly, DigitalOcean, Portainer and more","sidebarTitle":"Importers","href":"/iac/importers"},{"title":"Import nginx configuration","sidebarTitle":"nginx import","href":"/iac/nginx-import"},{"title":"Compose projects as code","tag":"Beta","href":"/iac/compose"},{"title":"IaC reference","href":"/iac/reference"},{"title":"IaC error codes","tag":"Experimental","href":"/iac/errors"},{"title":"Platform as code","tag":"Experimental","href":"/platform-as-code"},{"title":"Stacks and GitOps","tag":"Experimental","href":"/stacks"}]},{"group":"Beta and experimental","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/flask.svg","pages":[{"title":"AI assistant integration: levelrail-mcp","tag":"Beta","href":"/ai-assistant"},{"title":"MCP tools, token budget and write mode","tag":"Beta","href":"/mcp"},{"title":"Connect an AI assistant safely","href":"/mcp-safe-setup"},{"title":"MCP recipes","tag":"Beta","href":"/mcp-recipes"},{"title":"In-app AI assistant chat","tag":"Experimental","href":"/ai-assistant-chat"},{"title":"AI models","tag":"Experimental","href":"/ai-models"},{"title":"Load balancing across replicas","tag":"Experimental","href":"/load-balancing"},{"title":"Leave anytime","sidebarTitle":"Leave anytime","href":"/leave-anytime"},{"title":"Resource advisor (beta)","tag":"Beta","href":"/resource-advisor"},{"title":"Cloud connections (preview)","href":"/cloud-connections"},{"title":"CLI console (beta)","tag":"Beta","href":"/cli-console"},{"title":"Feature flags","href":"/feature-flags"},{"title":"Log archive","tag":"Beta","href":"/log-archive"},{"title":"Automatic cleanup","tag":"Beta","href":"/janitor"},{"title":"Cleanup center","tag":"Beta","href":"/cleanup-center"},{"title":"Unified search","tag":"Beta","href":"/search"}]}]},{"tab":"Reference","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/code.svg","pages":[{"title":"Reference","href":"/app-spec-reference"}]},{"tab":"Concepts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/lightbulb.svg","pages":[{"title":"Concepts","href":"/product-tour"}]},{"tab":"Self-host gallery","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/squares-four.svg","pages":[{"title":"Self-host gallery","href":"/self-host"}]},{"tab":"Appendix","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/books.svg","pages":[{"title":"Appendix","href":"/roadmap"}]}]},"basePath":"","title":"Migrating a static site from Netlify - Levelrail","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":[],"chunks":[]}