Running your project
sixpanel.json — your website's setup in a config file in its repository
What this page is for: keeping a website's whole setup — how it is built and started, the variables it needs, its cron jobs, its PHP settings — in one file, sixpanel.json, at the top of its own repository (or its ZIP). Every deploy reads it, the way Vercel reads vercel.json: what belongs to the code comes with it, and an update asks before it changes a setting of the website, each change a ticked line on Deploys → Update. The file never holds a secret's value, and it never sets more than the person who deploys could set on the website's pages. Nothing has to be clicked twice on a new server. Every key says, for each key, when it applies and who says yes.
You need
- A website of one of these kinds: static website, Node.js app, PHP website, WordPress, Python app or Java app (Websites and apps). A Docker app, a reverse proxy and a Create with AI website never deploy files of their own, so they have no such file; a 6amMart project's setup stays on its own pages (a
sixpanel.jsonin a shop's code is reported in the update log and nothing of it is applied). - Nothing to install. A website with no
sixpanel.jsondeploys exactly as it always did.
Quick start
The smallest file:
{ "$schema": "https://installer.allsweb.net/sixpanel/sixpanel.schema.json", "version": 1 }- Add it at the top of the repository, named
sixpanel.json. It changes nothing: SixPanel still works out the build and start commands from your files, as it did without a file. The$schemaline lets your editor check each key as you type it. - Commit, push, and deploy: Deploys → Deploy now (or the push itself, with push-to-deploy on).
- See what it did. The deploy log has a sixpanel.json section. The website's Overview has a sixpanel.json card that names the version whose file is in force. Check sixpanel.json on that card reads the file the next deploy would read, and shows what it would change without deploying.
Then add one key, like "health": { "path": "/api/health" }, push, and open Deploys → Update. The change is there as a line before anything happens. A key that belongs to the code (a command, the health check) comes with the new version. A setting of the website (its memory, a cron job) is a ticked line you can untick. Pick the recipe for your app under Recipes when you want the whole setup in the file.
How SixPanel reads it
Every deploy reads the new version's sixpanel.json once its files have arrived, before anything of them runs. What a key does then depends on its kind (below), on who deployed (a person's press, a git push, Tia), and on whether a version is live already. Every key gives each key's kind in its When it applies column.
Where the file sits
sixpanel.json sits at the top of the website's files: the root of its git repository, or the top of the ZIP or folder you upload. It is plain JSON — no comments — of at most 64 KB, and it must be a plain file (a link or a folder at that name is refused). The smallest file is:
{ "version": 1, "start": "node server.js" }version is required and is 1. Every other key is optional: say one thing, or everything. A $schema line is allowed, so your editor can check the file as you type it (see The JSON Schema).
When it is read: at every deploy — a git push, Deploy now, an upload — once the new version's files have arrived and before anything of them runs. In this order:
- Checked. A file that is not valid JSON, says another
version, or has a value of the wrong kind (a command of two lines, a folder outside the project, a cron schedule that is none) stops the deploy before anything changes, and the live version keeps serving. The deploy log names the key that is wrong. A key SixPanel does not know is only a warning (a newer file on an older panel), never a stop. - Built with it. The new version is built and started with what the file says.
- Settings change when it is live, and only with a yes. What the update's ticked lines say (on a website's first deploy, the whole file) is applied once the new version is live: its settings, its environment defaults, its cron jobs. A git push or an upload never says yes: what it would change waits in the bell. A deploy Tia or an MCP client starts has a rule of its own (see An account's, a temporary login's, Tia's deploy of sixpanel.json). A deploy that fails changes nothing the file asked for.
Every deploy log has one sixpanel.json section: each change as a line ("start command: node server.js → node .next/standalone/server.js"), each cron job added, changed or removed, each key it ignored and why, and each variable it needs that the website does not have yet.
The kinds of key
The file can set everything a website's pages set. What keeps that safe is that each key is in one of three kinds, by what it can cost or expose:
- With the code, or asked at each update — what only changes how this website builds and runs in its own sandbox: most of the keys in Every key. What belongs to the code (the build and start commands, the runtime, the health check) comes with every deploy; a setting of the website (its memory, its headers, its PHP settings, its cron jobs) changes only with a ticked line on Update, or a yes in the bell. Every key says which is which.
- Asked once — a yes first — what creates or exposes something: a domain, a database, the website's own Redis, a cache of its own, Apache, nginx directives, PHP
mail()on. Nothing of it happens before a yes. A yes is for one try: when making what comes once the website is live (a domain, Varnish, Apache, nginx directives, PHPmail(), SaaS domains) fails, its yes is not kept — it waits in the bell for a new one, with the reason, and no later deploy makes it on the old yes. A file that names the domains of another server — your production domains, deployed on a test server — does not fill the bell: a domain none of whose names points at this server (they point elsewhere, or nowhere yet) is not asked there. The Update list, Check and the deploy log say these names live on another server today, and Update never ticks it: say yes there only on the server that should take them over. Once a name points here it is asked as before. No in the bell, or Skip it on this server on the Update list, is kept for that line: it is not asked again until the file changes it, and ticking it on Update takes the No back. Nothing of a line said No to is made, connected to the app or switched on — and nothing of a line still waiting for its yes. - Never, whoever says yes — the server's firewall, SSH and FTP, Cloudflare, the panel's own settings, another website, a secret's value, anything past your account's limits.
Every value is checked the way the page that sets it checks it, with that page's limits, and saved by that page's own save. A value the page would refuse stops the deploy with the page's own sentence; so does a value past your account's limits (its memory, its PHP workers, the memory one PHP request may use) — a file never gets a website more than its package holds, and never quietly less than it says.
A deploy, step by step
The deploy log names each step. These are the steps of a static website with a build and of a Node.js, Python or Java app; a PHP or WordPress website deploys in place (see Git). A stop in steps 1 to 4 leaves the live version serving, and the website's settings as they were. Some things done before the stop stay, because they belong to the server or to the next try: a runtime installed in step 2, a database made in step 3, a secret env.generate made (kept from then on), and whatever a deploy command in step 4 changed (a migration stays as it left it — write migrations that only add, see Database changes belong after the build).
- Read the project. The file is read and checked: plain JSON,
"version": 1, the rightkind, every value as the page that sets it would take it. A wrong value stops here, naming the key. - A runtime it needs. A Node.js, PHP, Python or Java version this server does not have is installed now, with the owner's yes or
runtime.autoInstall, or the deploy stops and asks in the bell (A runtime this server does not have). - What the app needs before it is built. A database, the website's Redis or its Supabase is made now, once it has its yes, so the build and the migrations have its address. One still waiting for its yes stops the deploy. So does an
env.requiredvariable with no value. A PHP or WordPress website's deploy does not stop for either: it goes on, its log names the missing variables, and what waits for a yes stays in the bell. - Install and build, in a new release folder, with the file's commands (or the detected ones),
build.envand the memorybuild.memoryMbplans for. Thenhooks.afterBuildruns, and the deploy commands (hooks.deploy, where migrations belong). - Go live. The new version starts and must answer
health.path. Only then are visitors moved to it. - Settings. The settings the update's ticked lines say are applied (on a first deploy, the whole file). What a git push, an upload or Tia would change waits in the bell. A domain and the other things the file asks for once are made now, each with its yes.
Special cases
| The deploy | What it does with the file |
|---|---|
| A website's first deploy | Applies the whole file: nothing is live yet that could be kept. What the file asks for once still waits for its yes. |
| Build again | Builds a version's own files again with that version's file, and keeps every value you kept on its update (Build again and Deploy again). |
| A rollback | Runs the earlier version with what its own file set, and the choices made when it went live (Who changed what). |
| An account, a temporary login | Applies only what that login could set on the website's pages; the rest is listed as ignored. |
| Tia or an MCP client | Applies what Tia's own tools may change without asking you; the rest waits for your yes in the bell. |
| A git push, an upload, files sent | The code goes live; every setting it would change waits for a yes in the bell. |
Who wins: every update asks first
sixpanel.json is a settings file in your code. Every update reads the new version's sixpanel.json and compares it with the file of the version that is live now. Deploys → Update shows what it changes, in plain words, before anything happens:
- Changes with the new code: the keys Every key marks each deploy, with the code — the build and start commands, the runtime, the document root, the deploy commands, the health check, the variables it requires or makes fresh, the files kept between deploys. These belong to the code and change with it. There is no tick: if you don't want them, don't update. A command is marked "they run on your server": read it.
- How it runs, PHP, Web rules and cache, Environment defaults, Cron jobs: each change is a line like
Memory (MB): 512 MB → 1024 MB, ticked. A line that turnsAPP_DEBUGon starts unticked: debug pages show visitors error details and settings, so leave it off on a live website. Ticked lines apply when the new version goes live. Untick one to keep what your website has now. The next update asks again: the line says "kept last time" and starts unticked, so a quick press never applies what you said no to. A cron job you untick stays exactly as it is. - You changed these by hand: the file did not change the setting, but you changed it on its page. Your value is kept. Tick "Use the file's value" to take the file's. To stop the question, put your value in sixpanel.json.
- Held for a yes by an earlier deploy: a deploy by Tia or an MCP client, or a push, held this change until someone says yes. Nobody changed it by hand; it still waits for your yes.
- A change to
env.optional(a group renamed, its variables changed) is a line of its own, for exampleOptional variables: turnstile: … → captcha: …. Nothing is written: values are typed on the Environment page. - A key that is no longer in the file stays as it is.
If something stays unticked, the button says so: Update now (keeps 1 current value). A line you cannot tick yet (it needs Redis above, or PHP mail(), which is the owner's) counts too. The deploy log and the website's Overview card say what was kept, for example "Kept your value: memory (512 MB, the file says 1024 MB)". Activity records who answered.
A git push, an upload (yours too), files sent, a temporary login. The code goes live as before. Every other change waits for a yes: one card in the bell for the deploy, and a group on the Update dialog, Waiting for your yes since …. Press Apply these settings (or say yes in the bell) and they apply from the live version with no rebuild. The card in the bell then names only what still waits, and a yes there never applies a setting twice. The server's owner and the website's account can say yes; PHP mail() is the owner's alone, and so is a setting the account cannot change on its own page (the PHP page's settings, for example). A temporary login sees the list without ticks: each line says it waits for a yes. A setting whose save failed stays in that group. One whose value the live version no longer has is dropped: the next update asks about the new value. Response headers and redirects your website already has exactly as the file asks count as applied, so a yes for them never comes back to the bell, and a card already waiting for them leaves the bell when you save those rules on the Web Rules page; after a save, each redirect is tried on this server for up to five seconds while nginx takes the new rules.
Pull first and Commit and push on the Deploys page, and a staging site's promote to production, work like a git push: the code goes live, and what its sixpanel.json changes waits for a yes.
A yes is for one apply. Once a setting is applied, a later change you make on its page stays: the next update does not write the file's value back unless you tick it again.
An update that stopped (it needed a database or Redis first) keeps your answers. After your yes in the bell it runs again with them: a line you unticked stays unticked.
Tia and MCP follow their own rule (An account's, a temporary login's, Tia's deploy, below): what her tool for a page could not do without you waits in your bell. Her deploy's answer says the same lines in plain text: what came with the code, what was applied, what waits for your yes, and where to say it (the bell, or Deploys → Update), so she can tell you before you look.
A website's first version applies its file whole: nothing is live yet that could be kept. A website with no sixpanel.json updates exactly as before.
Build again (on Deploys, or Environment → Build again) builds a version's own files again, in the same release folder, with that version's sixpanel.json, and asks nothing. It changes no setting you kept on that version's update: a line you unticked, a value you changed by hand, a setting still waiting for your yes. Each one stays as the website has it, the deploy log says so ("kept your value, as this version's update did — building it again changes no setting you kept"), and the version still lists it as kept, so the next update asks about it again. A setting you said yes to since then (in the bell, or Apply these settings) is no longer kept: it was applied then, and stays. What the file makes still waits for its yes (a domain, a database), and a build Tia or an MCP client starts still holds what her own tools would ask you first.
On the Settings page, a field the file sets is marked Set by sixpanel.json. You can still change it there. The next update then lists it under "You changed these by hand" and keeps your value.
How you approve what sixpanel.json asks: Update, or the bell
- Update on a git website's Deploys page lists what the commit's file asks, each line ticked. Pressing Update now with a line ticked is your yes, kept from that moment — a deploy that then fails keeps it. The server's owner says yes to every line. An account says yes, on its own website, to a domain, a database and its Redis — and a reseller on its users' websites; a Memcached, Varnish, Apache, the Vhost directives, PHP
mail(), a runtime installed on the server and a PostgreSQL database whose line also asks for a setup (below) are the server owner's alone: shown, and waiting for the owner. - The Vhost directives are listed line by line, exactly as nginx will read them, and neither they nor PHP
mail()are ticked for you: read them, then tick. - The bell at the top of the panel (the server's owner): what a git push, Tia, an MCP client or an upload deployed, and every line no press ticked, waits there — one card per item. A yes there makes it at once. Tia and an MCP client can never say yes for you, and neither can a temporary login.
Once you said yes, the same item applies at later deploys without asking again. A changed item (another memory size, another database setup) asks again. A new name for a database's variable alone (DATABASE_OWNER_URL → DATABASE_URL) needs no yes. The same database is linked under the new name. The old name keeps its address until the new version is live, and is then removed (a PHP website's .env line too). It is never a second, empty database. Something you undid by hand on its page since (PHP mail() turned off, a domain or a database removed, Apache switched off) is asked again: the next deploy never puts it back on the old yes. Taking an item out of the file never removes what it made: the website's Overview card says it is no longer in sixpanel.json, with a link to the page that removes it.
A deploy that does not go live gives back the variables and the .env lines it wrote for the new version, so the version still live keeps its own database — and if the panel itself stopped in the middle of that deploy, its next start puts those .env lines back (their old values are kept until then in a file only the server's root can read, never shown anywhere). What was made for it stays (a database is never dropped) but is not the website's yet: the website's Overview card says made, waiting for its release, so does the database on the Database page (which says when your app is given its variables, instead of that it has them), and none of its variables (DATABASE_URL, DB_*, REDIS_URL…) reach your app — the version still live included, when it restarts — until a version whose file asks for it goes live. That version's build and deploy commands already see it. A Node.js app's first version waits for its HTTPS address ("read, not built yet"): the domain its file names is asked for at once — in the bell, or added right away when you ticked it — and connecting it builds the version.
An account's, a temporary login's, Tia's deploy of sixpanel.json
A file is never more than whoever deploys it could do on the website's pages. Deployed by an account, its PHP settings, PHP workers and PHP extensions are not applied (they are the server owner's on the PHP page). Deployed by a temporary login, no environment variable is added and neither the PHP settings and workers nor where PHP keeps its sessions change (those pages are the owner's or the account's). Neither changes whether a deploy clears Varnish (Caching, the owner's). A git push applies what the website's account could set (the owner's own website: everything). Each such key is listed as ignored, with why and a link to its page; the rest of the file applies, and the owner's own deploy applies all of it. The same holds on the website's Settings: a temporary login or an account that sends the PHP settings, the PHP workers or the Varnish clearing there is refused, with the sentence those pages give.
Deployed by Tia or an MCP client, a file applies only what Tia's own tools may change without asking you. What they would ask you first waits for your yes in the bell, one card per key showing exactly what a yes applies, and the rest of the deploy goes live without it. The same holds for every deploy she starts on a staging site's git card — Deploy from its branch, Bring production's commits in — and for production's own deploy when she promotes a staging site, even a promote you approved: that yes is for the promote, never for these keys:
| Waits for your yes | Why |
|---|---|
php.settings | the PHP page's settings are yours |
php.pool | the PHP workers, on the same page |
php.sessions | where PHP keeps sessions — every visitor signs in again; Tia never changes it on her own |
java.jvmOptions, java.args | part of the command the app starts with |
cron (a new or changed job) | a scheduled task runs a command; a job the file only drops is removed |
env.defaults that switch a Laravel app's debug pages on (APP_DEBUG on, APP_ENV not production) | debug pages show passwords and keys to whoever triggers an error |
A yes there applies it at once, through that page's own save (a Java app's JVM options and arguments when it starts next), and is kept: the next deploy by Tia with the same value applies it without asking, while a changed value asks again.
Everything else goes live with the deploy: runtime.node, runtime.php, runtime.java, build.output, root, env.defaults (unless they switch debug pages on), cron (a job the file only drops), php.extensions, php.mail, node.memoryMb, python.memoryMb, python.workers, python.workerClass, python.threads, python.startTimeoutSec, java.memoryMb, java.startTimeoutSec, health.path, releases.keep, web.maxBodyMb, web.spa, web.notFound, web.headers, web.redirects, cache.page and cache.varnish.purgeOnDeploy — and the build, install and start commands and afterBuild (build.install, build.command, start, hooks.afterBuild), which are never held: they are the repository's own code, run as the website by every deploy of it. A runtime the server does not have is installed only with the owner's yes (its card in the bell) — "autoInstall": true installs it at your own deploy or a push to your own website, never at one Tia or an MCP client starts. Your own deploy applies the whole file, and the cards for what it applied go. Tia and an MCP client never say yes to anything a file asks.
Where the files come from (source types)
A website takes its files from one source. The source decides how a deploy starts, whether an Update dialog asks you first, and what source, build and keep in the file do.
| Source | A deploy starts with | Asks first on Update | source in the file | Build | keep |
|---|---|---|---|---|---|
| Git | Deploy now, Update, a push | yes, a ticked line per change; a push holds them in the bell | read when the website is made; another branch is said, never switched by itself | a new release folder | linked into each new release |
| Upload, files sent by Tia or the API | the upload or the call | no: every setting waits in the bell | not read | a new release folder | the same |
| An npm package | Deploy on Deploys, a new published version | no: every setting waits in the bell, as for an upload | read when the website is made | none: it was published built | the same |
| A file kept from Create | the files you upload | as for an upload | read once, when the website is made | as its files need | the same |
| Build again | Build again | no: what the version's update kept stays kept, the rest of its file applies | not read | the same release folder, built again | linked again |
| A PHP or WordPress website (from any source above) | as its source | as its source | as its source | in place, in the website's own folder: no release folder | left where it is: never copied over, never removed |
The Build and keep columns above are those of a static website with a build and of a Node.js, Python or Java app; the last row is what a PHP or WordPress website does instead.
Git
The website deploys one repository and one branch, set when it is made (from the file's source.git and source.branch, or the Create dialog) and changed later on Deploys → Change git connection. A deploy never changes them because the file says something else:
- a file whose
source.branchnames another branch than the one the website deploys is said in the deploy log at Read the project ("sixpanel.json asks for branch deploy; this website deploys main, and a deploy never switches it"); - your own Update offers Switch to deploy and deploy: one press moves the git connection to that branch (the same repository, its credential and automatic deploys kept) and deploys it;
- a git push, or any other deploy that starts by itself, only logs it. A push to one branch never moves the website to another.
source.autoDeploy turns push-to-deploy on for a website made from the file; later it is the Deploys page's switch. A private repository's token or deploy key is never in the file: it is typed in the Create dialog, or on Deploys → Change git connection, and kept on this server.
A static website with a build, and a Node.js, Python or Java app, install and build in a new release folder, then link each path in keep from the website's own data/ folder into it. The live version serves until the new one answers its health check, so a build that fails changes nothing visitors see.
A PHP or WordPress website is updated in place instead, in its own folder. A PHP website's keep paths are left where they are: never copied over, never removed. On a website that is live, composer builds the new packages beside the live ones before anything is touched, where it can (the log says when it cannot, and composer then runs after the files are placed). Once Put the files in place has run, a later step that fails (composer, the database, a deploy command) is followed by Put back what was there before, which puts the old files back; what a deploy command changed elsewhere, the database above all, stays as it left it. A WordPress website puts its theme or plugin into place after a restore point. See PHP website.
Upload, and files sent by Tia or the API
A ZIP you upload on Deploys, or files sent by Tia, an MCP client or the API, deploy the same way as git: a new release folder, built, keep linked, the health check (or, on a PHP or WordPress website, in place). The difference is the question: no dialog with ticks opens, so every setting the file would change waits for a yes in the bell (your own upload too). The code, and what belongs to it, goes live. source in such files is not read: the files are the source.
A prebuilt npm package
A Node.js app that is published to npm already built can be the website's source, instead of a repository or an upload. Nothing is built on your server: each deploy installs the published package.
{
"version": 1,
"kind": "node",
"source": { "npm": "my-app", "version": "latest" }
}npm— the package's name, likemy-appor@scope/my-app.version—latest(when you leave it out), another tag likenext, a range like^1.0.0, or an exact version like1.0.5. Each deploy turns it into one exact version, the way npm itself picks one, and the release keeps that version: Deploys shows it, and a rollback goes back to exactly it.registry— optional: anhttps://address on the internet. npm's own registry when you leave it out. A private package's access token is never written in the file: type it in the Create dialog or on the website's Deploys page. It is kept like a git token: never shown again, never in the website's files, never in a log. It is in the panel's own settings, and so in every backup that carries them, encrypted with your backup password. While a deploy installs the package, npm, the package's own install scripts and its dependencies' install scripts run as the website with the token in their environment, so any of them can read it: use a read-only token that can read this one package and nothing else.autoDeploy—truedeploys each new version the registry publishes thatversionaccepts, the way a git push deploys, each version once: one that failed, or one you rolled back from, waits for a press of Deploy. Off when you leave it out.
The registry is asked before anything is made, so a package that is not there, or a token that cannot read it, makes nothing. Then the website's first deploy starts by itself. Every deploy from npm:
- asks the registry which exact version
versionmeans; - downloads it and checks it against the sha512 the registry publishes for it. A package that differs, or one the registry publishes no sha512 for, is refused, and the live version keeps serving;
- unpacks it into a new release: no links, nothing outside its folder, and it must be the package and version that was asked for;
- installs its runtime dependencies as the website's own user, the way
npm install <package>installs them: itsdependenciesandoptionalDependencies, itsnpm-shrinkwrap.jsonwithnpm ciwhen it ships one, and theallowScriptsof its package.json as it wrote it. Then its own install scripts (preinstall,install,postinstall) run, the way npm runs them for a package it installs. Itspreparescript never runs (npm never runs a dependency's), and nothing is built; - reads its own
sixpanel.jsonwhen it ships one (start, health check, variables), as for any release; - starts it with the start command its
sixpanel.jsonnames, else with its own command (itsbin), and goes live with the same health check and rollback as every release.
Measured on our test server with a real package (a Next.js app of 10,550 files, published at 27 MB): the download and its checks took 1.5 seconds, installing its dependencies 14 seconds with at most 420 MB of memory, and it answered 4 seconds after it started. Built from its source, the same app needs about 4.6 GB of memory.
npm 11 refuses --allow-scripts in a project install. A package says which of its dependencies may run install scripts in the allowScripts field of its package.json.
An npm website's own Deploy opens no dialog with ticks, so what its package's sixpanel.json changes waits for a yes in the bell, as for an upload; its first deploy applies the file whole. build.install and build.command are not run: the package's dependencies are installed the way npm installs a package's, and nothing is built.
A file kept from Create
A website made From a sixpanel.json with no source keeps that file. The first files you upload on its Deploys page are set up by it, and so is every later deploy whose files carry no sixpanel.json of their own. A sixpanel.json in the website's own files always wins. name and source are read once, when the website is made, and never again.
Build again and Deploy again
Build again (on Deploys, or Environment → Build again) builds a version's own files again in the same release folder: no new upload, no new commit. The install command runs again there, and the paths in keep are linked again. Every setting you kept on that version's update stays as you kept it. So does every setting still waiting for your yes: it waits on, in the bell and under Apply these settings on Update. Two other roads build a version again, under a new version id, and keep the same: changing the website's Node.js version (which builds the live version with it), and putting a release back from a backup. With a lockfile the detected install is npm ci, pnpm install --frozen-lockfile, yarn install --frozen-lockfile or yarn install --immutable, which installs exactly the versions the lockfile names: a dependency written as "latest" in package.json does not move to a newer version until the lockfile does. To deploy the newest published version of an app, make it an npm package website, or commit the new lockfile.
Deploy again on the Update dialog is a new deploy of the same commit: a new release folder, and the file read as on any update.
Recipes
Each recipe is a whole file, and SixPanel's own reader takes each one with no warning. Change the names, then check yours with Check sixpanel.json before you deploy it.
Next.js and PostgreSQL
A Next.js app (output: 'standalone' in next.config) with a PostgreSQL database, built with pnpm, its database changes made after the build, Vercel-style cron routes and a www pair:
{
"$schema": "https://installer.allsweb.net/sixpanel/sixpanel.schema.json",
"version": 1,
"kind": "node",
"runtime": { "node": "26" },
"build": {
"install": "npx --yes [email protected] install --frozen-lockfile",
"command": "npx --yes [email protected] run build",
"memoryMb": 4096,
"env": { "NEXT_TELEMETRY_DISABLED": "1" }
},
"start": "node .next/standalone/server.js",
"node": { "mode": "server", "memoryMb": 1024 },
"health": { "path": "/api/health" },
"releases": { "keep": 3 },
"hooks": { "deploy": ["node scripts/db.mjs up"] },
"databases": [
{ "engine": "postgres", "name": "app", "env": "DATABASE_URL", "app": { "env": "APP_DATABASE_URL" } }
],
"env": {
"required": ["APP_SECRET"],
"generate": ["CRON_SECRET"],
"optional": [
{ "name": "NEXT_PUBLIC_TURNSTILE_SITE_KEY", "group": "turnstile", "about": "turns on the Turnstile check on sign-up" },
{ "name": "TURNSTILE_SECRET_KEY", "group": "turnstile" }
]
},
"cron": [{ "name": "daily", "schedule": "30 0 * * *", "path": "/api/cron/daily" }],
"domains": [{ "name": "www.example.com", "primary": true }, { "name": "example.com", "redirectTo": "www.example.com" }]
}- The database change is a deploy command (
hooks.deploy): it runs after the build has succeeded and before the new version goes live, so a build stopped for memory never leaves the database changed under the old version. Write changes that only add (a column, a table) while the old version still serves; remove what it needs only in a later release. - When the build itself reads the database (pages generated from its rows), build in three steps instead:
"command": "npx --yes [email protected] run build:compile && node scripts/db.mjs up && npx --yes [email protected] run build:generate", withbuild:compile=next build --experimental-build-mode=compileandbuild:generate=next build --experimental-build-mode=generateinpackage.json. The database then changes only once the code compiled. The database is made before the build, so the build has its address.build:generateruns after the migration and can still fail (it is the step that needs the most memory), and the old version then keeps serving against the new schema: here too, write migrations that only add. npx --yes pnpm@<exact version>, not a barepnpm: Node.js 25 and later ship no corepack, sopnpmalone is not found. Use yourpackageManagerversion.build.memoryMbis what the build needs (a large Next.js build: 4 to 6 GB). The panel plans the build's memory and swap for it;node.memoryMbis the running app's, a different number.- The app role (
app) gives the running appAPP_DATABASE_URL, andDATABASE_URL, the owner's, only to the build and the deploy commands, where the database changes. Leaveappout for an app that uses one address for everything. CRON_SECRETis made on the server; the cron route checks it as on Vercel.APP_SECRETyou type once on Environment (or the first Update asks for it). The Turnstile pair stays off until both are filled.
A static site (Vite or Astro)
A single-page app built with Vite (or a site built with Astro) into dist/:
{
"version": 1,
"kind": "static",
"runtime": { "node": "26" },
"build": { "command": "npm run build", "output": "dist" },
"web": {
"spa": true,
"headers": [{ "name": "Permissions-Policy", "value": "camera=(), microphone=()" }]
}
}- The build runs on the server's Node.js; only
dist/is served, and nothing runs once it is built. web.spashowsindex.htmlfor a path with no file, so the app's own router answers it. An Astro site of separate pages leaves it out, and can name its error page with"notFound": "404.html".- A static site has no environment variables at run time and no cron jobs. A value the build needs goes in
build.env.
A Node.js API
An Express (or Fastify, Nest) API with its own Redis, its schema changes after the build, and a cleanup job every 15 minutes:
{
"version": 1,
"kind": "node",
"runtime": { "node": "26" },
"build": { "install": "npm ci", "command": "npm run build" },
"start": "node dist/index.js",
"node": { "memoryMb": 1024, "processes": 1 },
"health": { "path": "/healthz" },
"hooks": { "deploy": ["npx prisma migrate deploy"] },
"redis": { "env": "REDIS_URL" },
"env": {
"required": ["SESSION_SECRET"],
"defaults": { "NODE_ENV": "production", "LOG_LEVEL": "info", "PUBLIC_URL": "${SITE_URL}" }
},
"cron": [{ "name": "cleanup", "schedule": "*/15 * * * *", "command": "node dist/cleanup.js" }]
}- The app listens on
process.env.PORT; the panel gives each version its own port and moves visitors only once/healthzanswers. node.processesis how many copies serve visitors. Keep1while the app holds sessions, websockets or timers in its own memory."auto"runs one copy a processor core and one for every 512 MB ofnode.memoryMb, whichever is fewer, at most 8 (here 1024 MB: two).${SITE_URL}becomeshttps://and the website's primary address, so a new domain needs no edit.SESSION_SECRETreads like a secret, so it is never a default: it is typed once on Environment.
Laravel
A Laravel app served from public/, on PHP 8.4 with intl, with a MariaDB database, the scheduler every minute and a queue worker that keeps running:
{
"version": 1,
"kind": "php",
"runtime": { "php": "8.4" },
"root": "public",
"databases": [{ "engine": "mariadb", "name": "app", "env": "DATABASE_URL" }],
"keep": ["storage/"],
"hooks": { "deploy": ["php artisan migrate --force"] },
"env": {
"generate": ["APP_KEY"],
"defaults": { "APP_ENV": "production", "APP_DEBUG": "false" }
},
"cron": [
{ "name": "scheduler", "schedule": "* * * * *", "command": "php artisan schedule:run" },
{ "name": "queue", "schedule": "@always", "command": "php artisan queue:work --sleep=3 --tries=3 --max-time=3600" }
],
"php": {
"settings": { "memory_limit": "512M", "upload_max_filesize": "64M", "post_max_size": "64M" },
"extensions": ["intl"],
"mail": false
}
}env.generatemakesAPP_KEYwhere the website runs, in Laravel's ownbase64:form, before the first deploy, and keeps it from then on. An emptyAPP_KEY=line from.env.exampleis filled too.- The website's first database gives the app
DATABASE_URLand theDB_*lines Laravel reads, in its.env; the password is the panel's own and never in the file. migrate --forceis a deploy command: it runs after composer, before the new version goes live.@alwayskeeps the queue worker running, and starts it again ten seconds after it exits.--max-time=3600makes it exit each hour, so it starts again on the files the website serves then.config:cacheis not in the file on purpose: SixPanel decides it for each app from what the app reads (an app that readsenv()outsideconfig/loses those values once the configuration is cached). Caching shows the decision.
An app published to npm
An app published to npm already built, made into a website on Projects → Create → From a sixpanel.json, that deploys each new 1.x version the registry publishes:
{
"version": 1,
"kind": "node",
"source": { "npm": "my-app", "version": "^1.0.0", "autoDeploy": true },
"health": { "path": "/api/health" },
"env": { "required": ["APP_SECRET"] }
}- Nothing is built on the server, so a large app that needs gigabytes to build from its source installs in seconds here (see A prebuilt npm package).
sourceis read when the website is made. Later, the package and its version are changed on Deploys, never by another file.- The package's own
sixpanel.json, when it ships one, is read at every deploy like any release's. Its start command is the package'sbinunless that file names one.
A monorepo (pnpm workspaces)
The file sits at the top of the repository, and its commands name the app. Here the Next.js app is apps/web, started with next start from its own folder:
{
"version": 1,
"kind": "node",
"runtime": { "node": "26" },
"build": {
"install": "npx --yes [email protected] install --frozen-lockfile",
"command": "npx --yes [email protected] --filter web build"
},
"start": "npx --yes [email protected] --filter web start",
"node": { "mode": "server" },
"health": { "path": "/api/health" }
}- There is no key for an app in a folder: SixPanel reads the file at the top only, and builds and starts with the commands you give.
next startreads the app's own.nextandpublic, and listens on thePORTthe panel gives it. - A
standalonebuild of a monorepo writes its server underapps/web/.next/standalone/apps/web/; the panel copies.next/staticandpublicbeside a standalone server only at the top of the project, so start a monorepo app withnext start, as here. - Try a monorepo's file on a test server, or with Check sixpanel.json, before its first deploy on a live one.
WordPress
A theme or plugin repository that also sets the site's PHP:
{
"version": 1,
"kind": "wordpress",
"runtime": { "php": "8.3" },
"php": { "settings": { "memory_limit": "256M", "max_execution_time": 120 }, "extensions": ["imagick"] }
}Python (Django)
A Django app started by gunicorn with three workers, and a nightly job:
{
"version": 1,
"kind": "python",
"build": { "install": "pip install -r requirements.txt" },
"start": "gunicorn mysite.wsgi:application --workers 3",
"env": { "required": ["DJANGO_SECRET_KEY"], "defaults": { "DJANGO_SETTINGS_MODULE": "mysite.settings" } },
"cron": [{ "name": "clearsessions", "schedule": "0 3 * * *", "command": "python manage.py clearsessions" }]
}Java (Spring Boot)
A Spring Boot app built with Maven:
{
"version": 1,
"kind": "java",
"runtime": { "java": "21" },
"build": { "command": "./mvnw -q -DskipTests package", "output": "target/app.jar" },
"env": { "defaults": { "SPRING_PROFILES_ACTIVE": "prod" } }
}The whole website in one file (Node.js)
{
"version": 1,
"kind": "node",
"start": "node .next/standalone/server.js",
"node": { "memoryMb": 1024 },
"health": { "path": "/api/health" },
"releases": { "keep": 5 },
"web": {
"maxBodyMb": 50,
"headers": [{ "name": "X-Robots-Tag", "value": "noindex" }],
"redirects": [{ "from": "/blog", "to": "https://blog.example.com", "status": 301, "match": "prefix" }]
},
"domains": [{ "name": "shop.example.com", "primary": true, "www": true }],
"databases": [{ "engine": "postgres", "name": "app", "env": "DATABASE_URL" }],
"redis": { "env": "REDIS_URL" }
}The first Update lists the domain, the database and the Redis, each ticked; pressing Update now makes the database before the app's migrations run, and the domain with HTTPS once the new version is live. Every later deploy asks nothing about them.
A worked example: allsweb.com (Next.js)
allsweb.com is a Next.js app (output: 'standalone') with a PostgreSQL database, three Vercel-style cron routes that check CRON_SECRET, and two domains. Its sixpanel.json, exactly as it is in its repository (its private repository's address shown as owner):
{
"$schema": "https://installer.allsweb.net/sixpanel/sixpanel.schema.json",
"version": 1,
"kind": "node",
"name": "allsweb",
"source": { "git": "https://github.com/owner/allsweb-nextjs.git", "branch": "main", "autoDeploy": true },
"runtime": { "node": "26", "autoInstall": true },
"start": "node --max-old-space-size=384 .next/standalone/server.js",
"node": {
"processes": 2,
"memoryMb": 1280,
"pageCache": true,
"mode": "server"
},
"health": { "path": "/api/health" },
"releases": { "keep": 3 },
"domains": [
{ "name": "www.allsweb.com", "primary": true },
{ "name": "allsweb.com", "redirectTo": "www.allsweb.com" }
],
"databases": [
{
"engine": "postgres",
"name": "allsweb",
"env": "DATABASE_URL",
"apiRoles": "supabase",
"app": { "env": "APP_DATABASE_URL", "statementTimeout": "8s", "lockTimeout": "8s" }
}
],
"cache": { "brotli": true },
"web": { "maxBodyMb": 25 },
"hooks": {
"afterBuild": "node scripts/db.mjs push --yes"
},
"env": {
"required": [
"APP_SECRET"
],
"optional": [
{
"name": "NEXT_PUBLIC_TURNSTILE_SITE_KEY",
"group": "turnstile",
"about": "Cloudflare Turnstile site key — empty keeps bot protection off",
"link": "https://dash.cloudflare.com/?to=/:account/turnstile"
},
{
"name": "TURNSTILE_SECRET_KEY",
"group": "turnstile",
"about": "Turnstile secret key — set together with the site key"
}
],
"generate": [
"CRON_SECRET"
]
},
"cron": [
{ "name": "infra-daily", "schedule": "30 0 * * *", "path": "/api/cron/infra-daily" },
{ "name": "infra", "schedule": "0 12 * * *", "path": "/api/cron/infra" },
{ "name": "agent", "schedule": "15 6 * * *", "path": "/api/cron/agent" }
]
}- There is no
build, on purpose: SixPanel reads the install and build commands from the project. ItspackageManagerruns through npx at exactly that version, andoutput: 'standalone'gets.next/staticandpubliccopied beside it. A plainpnpmwritten in the file needs corepack, which Node.js 25 and later no longer ship. startgives each copy a heap below its share ofnode.memoryMb:node.processesstarts two.hooks.afterBuildchanges the database after the build succeeded and before the new version goes live, so a build that fails never reaches it (see Database changes belong after the build).CRON_SECRETis made on the server (env.generate) and the cron routes check it.APP_SECRETis typed on the Environment page. The Turnstile pair is optional: empty, bot protection is off.- The domains and the database, with its API roles and its app role, are asked once: the first Update lists them ticked. The database is the server owner's yes, because its setup is made as PostgreSQL's superuser.
At its first deploy the log's sixpanel.json section says the health path, the Node.js line and the three cron jobs it adds, and which variables are missing until they are typed on the Environment page. On a server that does not have Node.js 26 yet, "autoInstall": true installs it at the owner's own deploy. A new version goes live only once /api/health answers. A second deploy of the same file changes nothing, and a later change to one job's schedule is one ticked line on the next Update.
Every key
Written from SixPanel's own code at every release, so it says what a deploy does with each key. For is the kinds of website a key is read for: on another kind it is listed as ignored, with why.
<!-- keys:begin -->
When it applies
- when the website is made: Read once, when a website is made from the file (Projects → Create → From a sixpanel.json). A deploy never changes it: a website deploys from the repository and branch on Deploys → Git (or its npm package on Deploys), and a file that names another branch is said in the deploy log and on Update, which offers the switch.
- never read: For your editor only (the JSON Schema). SixPanel never reads it.
- each deploy: read, writes nothing: Read and checked at every deploy, never written to the website. A file written for another
kind, or anenv.requiredvariable with no value (unless Update asks you for it), stops the deploy before anything changes. - each deploy, with the code: Part of the code: every deploy uses the new version's value, with no question. Update lists the change without a tick: to keep the old value, do not update.
- each deploy, with the code; one this server lacks: asked once: Part of the code, as above. A version this server does not have is installed on the server only after the server owner's yes, once — or at once with
runtime.autoInstall, at the owner's own deploy or a push to the owner's own website. - each update asks: a ticked line: A setting of the website. Deploys → Update shows each change as a line, ticked; untick it to keep your value. A git push, an upload, files sent through the API and a temporary login never say yes: the change waits in the bell until someone does. A deploy Tia or an MCP client starts applies it, unless her own tool for that page would ask you first (see An account's, a temporary login's, Tia's deploy of sixpanel.json).
false: each update asks;true: asked once:falseis a setting of the website, as above;trueis asked once, as below.- asked once: a yes for this value: Something the file makes or switches on: a domain, a database, a cache. Nothing is made before a yes for that exact value; a changed value asks again, and taking it out of the file never removes it.
The file
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
version | 1 | — | all | each deploy: read, writes nothing | — | 1 |
$schema | text | — | all | never read | — | "https://installer.allsweb.net/sixpanel/sixpanel.schema.json" |
kind | "static", "node", "php", "wordpress", "python", "java" | — | all | each deploy: read, writes nothing | — | "node" |
Where a new website takes its files
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
name | text | — | all | when the website is made | — | "shop" |
source | object | — | all | when the website is made | — | {"git": "https://github.com/owner/shop.git", "branch": "main"} |
source.git | text | — | all | when the website is made | — | "https://github.com/owner/shop.git" |
source.branch | text | — | all | when the website is made | — | "main" |
source.autoDeploy | true or false | — | all | when the website is made | — | true |
source.wp | object | — | WordPress | when the website is made | — | {"dir": "my-theme"} |
source.npm | text | — | Node.js | when the website is made | — | "my-app" |
source.version | text | "latest" | Node.js | when the website is made | — | "^1.0.0" |
source.registry | text | "https://registry.npmjs.org/" | Node.js | when the website is made | — | "https://registry.npmjs.org" |
Runtime
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
runtime.node | text | — | static (built), Node.js | each deploy, with the code; one this server lacks: asked once | the server's owner | "26" |
runtime.php | text | — | PHP, WordPress | each deploy, with the code; one this server lacks: asked once | the server's owner | "8.4" |
runtime.python | text | — | Python | each deploy, with the code; one this server lacks: asked once | the server's owner | "3.13" |
runtime.java | text | — | Java | each deploy, with the code; one this server lacks: asked once | the server's owner | "21" |
runtime.autoInstall | true or false | false | all | each deploy: read, writes nothing | — | true |
Build, start and deploy commands
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
build.install | text | — | Node.js, Python | each deploy, with the code | — | "npm ci" |
build.command | text | — | static (built), Node.js, Java | each deploy, with the code | — | "npm run build" |
build.output | text | — | static, Node.js, Java | each deploy, with the code | — | "dist" |
build.memoryMb | number, 512 to 65536 | — | static (built), Node.js | each deploy, with the code | — | 6144 |
build.env | object, at most 50 names | — | static (built), Node.js | each deploy, with the code | — | {"NEXT_BUILD_WORKERS": "1"} |
start | text | — | Node.js, Python | each deploy, with the code | — | "node server.js" |
root | text | — | static (not built), PHP | each deploy, with the code | — | "public" |
hooks.afterBuild | text | — | static (built), Node.js, PHP, Python, Java | each deploy, with the code | — | "npx prisma migrate deploy" |
hooks.deploy | list, at most 20 | — | Node.js, PHP, Python, Java | each deploy, with the code | — | ["php artisan migrate --force"] |
keep | list, at most 30 | — | Node.js, PHP, Python, Java | each deploy, with the code | — | ["storage/"] |
Variables
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
env.required | list, at most 200 | — | static (built), Node.js, PHP, Python, Java | each deploy: read, writes nothing | — | ["APP_SECRET"] |
env.optional | list, at most 50 | — | static (built), Node.js, PHP, Python, Java | each deploy: read, writes nothing | — | ["SENTRY_DSN"] |
env.defaults | object, at most 100 names | — | static (built), Node.js, PHP, Python, Java | each update asks: a ticked line | the owner, or the website's account | {"NEXT_PUBLIC_BASE_URL": "${SITE_URL}"} |
env.generate | list, at most 50 | — | Node.js, PHP, Python, Java | each deploy, with the code | — | ["CRON_SECRET"] |
Cron jobs
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
cron | list, at most 50 | — | all but static | each update asks: a ticked line | the owner, or the website's account | [{"name": "daily", "schedule": "0 5 * * *", "path": "/api/cron/daily"}] |
How the app runs
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
node.mode | "server", "static" | — | Node.js | each deploy, with the code | — | "server" |
node.memoryMb | number, 128 to 65536 | — | Node.js | each update asks: a ticked line | the owner, or the website's account | 1024 |
node.processes | number, 1 to 16, or "auto" | 1 | Node.js | each update asks: a ticked line | the owner, or the website's account | "auto" |
node.pageCache | true or false | — | Node.js | each update asks: a ticked line | the owner, or the website's account | true |
python.server | "gunicorn", "uvicorn", "custom" | — | Python | each deploy, with the code | — | "uvicorn" |
python.appModule | text | — | Python | each deploy, with the code | — | "mysite.wsgi:application" |
python.settingsModule | text | — | Python | each deploy, with the code | — | "mysite.settings" |
python.collectstatic | true or false | true | Python | each deploy, with the code | — | false |
python.memoryMb | number, 128 to 65536 | — | Python | each update asks: a ticked line | the owner, or the website's account | 512 |
python.workers | number, 1 to 32 | 2 | Python | each update asks: a ticked line | the owner, or the website's account | 3 |
python.workerClass | "sync", "gthread" | "sync" | Python | each update asks: a ticked line | the owner, or the website's account | "gthread" |
python.threads | number, 2 to 16 | 4 | Python | each update asks: a ticked line | the owner, or the website's account | 8 |
python.startTimeoutSec | number, 15 to 900 | 90 | Python | each update asks: a ticked line | the owner, or the website's account | 120 |
java.mainClass | text | — | Java | each deploy, with the code | — | "com.example.App" |
java.memoryMb | number, 128 to 65536 | — | Java | each update asks: a ticked line | the owner, or the website's account | 1024 |
java.jvmOptions | text | — | Java | each update asks: a ticked line | the owner, or the website's account | "-Xss1m" |
java.args | text | — | Java | each update asks: a ticked line | the owner, or the website's account | "--spring.profiles.active=prod" |
java.startTimeoutSec | number, 15 to 900 | 180 | Java | each update asks: a ticked line | the owner, or the website's account | 120 |
health.path | text | — | Node.js, Python, Java | each deploy, with the code | — | "/api/health" |
releases.keep | number, 1 to 10 | 3 | static, Node.js, Python, Java | each update asks: a ticked line | the owner, or the website's account | 5 |
PHP
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
php.settings | object | — | PHP, WordPress | each update asks: a ticked line | the server's owner | {"memory_limit": "512M"} |
php.extensions | list, at most 60 | — | PHP, WordPress | each update asks: a ticked line | the server's owner | ["intl"] |
php.pool | object | — | PHP, WordPress | each update asks: a ticked line | the server's owner | {"pm": "ondemand", "max_children": 10} |
php.sessions | "files", "redis" | — | PHP | each update asks: a ticked line | the owner, or the website's account | "redis" |
php.mail | true or false | — | PHP, WordPress | false: each update asks; true: asked once | the server's owner | false |
Web rules and caches
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
web.spa | true or false | — | static | each deploy, with the code | — | true |
web.notFound | text or null | — | static | each deploy, with the code | — | "404.html" |
web.frontController | true or false | — | PHP | each deploy, with the code | — | true |
web.maxBodyMb | number, 1 to 4096 | 16 (static), 64 (the others) | static, Node.js, Python, Java | each update asks: a ticked line | the owner, or the website's account | 50 |
web.headers | list, at most 10 | — | all | each update asks: a ticked line | the owner, or the website's account | [{"name": "X-Robots-Tag", "value": "noindex"}] |
web.redirects | list, at most 25 | — | all | each update asks: a ticked line | the owner, or the website's account | [{"from": "/old", "to": "/new", "status": 301}] |
web.rewrites | list, at most 25 | — | all | each update asks: a ticked line | the owner, or the website's account | [{"from": "/shop", "to": "/store", "match": "prefix"}] |
web.blockPaths | list, at most 20 | — | PHP | each update asks: a ticked line | the owner, or the website's account | ["/install"] |
cache.page | true or false | — | WordPress | each update asks: a ticked line | the owner, or the website's account | true |
cache.brotli | true or false | — | all | each deploy: read, writes nothing | — | true |
cache.varnish.purgeOnDeploy | true or false | true | all but static | each update asks: a ticked line | the server's owner | false |
wordpress.security | object | — | WordPress | each update asks: a ticked line | the owner, or the website's account | {"xmlrpc": false} |
What it makes, asked once
| Key | Type | Default | For | When it applies | Who says yes | Example |
|---|---|---|---|---|---|---|
domains | list, at most 50 | — | all | asked once: a yes for this value | the owner, or the website's account | [{"name": "shop.example.com", "primary": true, "www": true}] |
databases | list, at most 11 | — | Node.js, PHP, Python, Java | asked once: a yes for this value | the owner, or the website's account (a PostgreSQL setup: the server's owner) | [{"engine": "postgres", "name": "app", "env": "DATABASE_URL"}] |
redis | true or false, or object | — | all but static | asked once: a yes for this value | the owner, or the website's account | {"env": "REDIS_URL"} |
redis.memoryMb | number, 16 to 1024 | — | all but static | asked once: a yes for this value | the server's owner | 128 |
supabase | object | — | Node.js, PHP, Python, Java | asked once: a yes for this value | the server's owner | {"use": "my-supabase"} |
saas | object | — | Node.js, Python, Java | asked once: a yes for this value | the server's owner | {"domains": true} |
saas.cloudflare | object | — | Node.js, Python, Java | asked once: a yes for this value | the server's owner | {"target": "customers"} |
cache.memcached | true or false, or object | — | all but static | asked once: a yes for this value | the server's owner | true |
cache.varnish | object | — | all but static | asked once: a yes for this value | the server's owner | {"enabled": true, "ttl": 120} |
web.server | "nginx", "apache" | — | PHP | asked once: a yes for this value | the server's owner | "apache" |
web.nginx | object | — | all | asked once: a yes for this value | the server's owner | {"server": ["gzip_comp_level 6;"]} |
<!-- keys:end -->
What each key sets: the build, the start and the variables
| Key | For | What it sets |
|---|---|---|
kind | all | The kind of website the file is written for. A website of another kind is never converted: the deploy stops and says both kinds. |
runtime.node | static (built), Node.js | The Node.js line, like "26" — the newest of that line installed here. One this server does not have is installed for you: see A runtime this server does not have. |
runtime.php | PHP, WordPress | The PHP version, like "8.4" — composer and the deploy commands already run on it, and the website moves to it when the new version goes live. One this server does not have is installed for you, the same way. |
runtime.python | Python | The Python the app expects, like "3.13": the server's own, or one installed on Software → Python — and one this server does not have is installed for you, the same way. |
runtime.java | Java | The Java version, like "21" — that one when it is installed, otherwise the oldest installed one that is newer. When none is that new, the oldest long-term OpenJDK at least that version is installed for you, the same way. |
runtime.autoInstall | all | true: a runtime the file names that this server does not have is installed at the deploy without asking. Absent or false: it is asked once. |
build.install | Node.js, Python | The install command. A migration in it is warned about (see Database changes belong after the build). Never put npm's --allow-scripts in it: npm 11 refuses it in a project install (see npm 11 and install scripts). |
build.command | static (built), Node.js, Java | The build command. A migration it runs before the build is warned about (see Database changes belong after the build). |
build.output | static, Node.js, Java | The folder that is served (static) or the build's output folder (Node.js); for a Java app, the JAR its build makes, like target/app.jar. |
build.memoryMb | static (built), Node.js | What the build needs, in MB (512 to 65536), like 6144. The panel plans the build's swap and heap for it instead of what the last build took. It is not a limit: past the memory the server can give, the build swaps and slows down. A build that was stopped holding more wins until a build finishes, and a number above three times the server's memory is held to that. |
build.env | static (built), Node.js | Variables for the build only (its install and build commands), never the running app's, like {"NEXT_BUILD_WORKERS": "1"}. The website's own variable of the same name wins. Left out: NODE_ENV; NODE_OPTIONS (the build's memory follows build.memoryMb); every name on the Environment list — the folders and settings the panel gives every build (PATH, HOME, USER, TMPDIR, the build's caches like npm_config_cache, COMPOSER_HOME and COREPACK_HOME) and the names the system's program loader and the shell read (LD_PRELOAD and every other LD_…, GCONV_PATH, GLIBC_TUNABLES, MALLOC_…, BASH_ENV); and a secret-looking name or key-looking value. Each one left out is listed with its reason, in the deploy log and under What it ignores; NODE_ENV and a name on that list say "NAME is set by the panel during a build, so build.env's value is not used; set it on the website's Environment page for the app". The rest of the file still applies; none of them stops a deploy. |
start | Node.js, Python | The start command (a Python app's own start command replaces gunicorn/uvicorn). |
root | static (not built), PHP | The folder the web server serves, like public. |
env.required | static (built), Node.js, PHP, Python, Java | Names of the variables the app needs. A missing one stops the deploy before its build, naming it — the live version keeps serving. A static website that is already live builds on without it instead, as it did before it had build variables, and its deploy log names it. You type their values on the website's Environment page (or in the Create dialog), then deploy again. A name the panel fills itself (a database's or Redis's address), or one the project's own .env / .env.production gives a value that really reaches the app, never stops it: a Node.js framework that reads those files itself (Next.js, Nuxt, Vite, Astro, SvelteKit, or an app using dotenv) or a PHP app, and any website on its first deploy, when the panel takes those files in as its variables. A Python or Java app that already has variables does not read the files, so it is still stopped until the value is on the Environment page. When a deploy meets one with no value, the Update dialog (Update now and Deploy again) asks for it the way the Create dialog does: what you type is saved as the website's variable, exactly as the Environment page saves it, and the deploy goes on with no second press. A deploy nothing can ask in (a git push, the command line, an upload, a schedule) stops at Read the project before anything changes: its log names the variables with a link, the bell lists the website, and the Deploys page shows Type the missing values. Each one opens the Environment page with a row for every name. A value saved while a deploy waits its turn is read when that deploy runs. A deploy Tia or an MCP client starts answers the names (envRequired.missing), so Tia asks you for them. |
env.optional | static (built), Node.js, PHP, Python, Java | Variables a feature reads only when they have a value — empty, that feature is off; filled, it is on. They never stop a deploy. See Optional variables. |
env.defaults | static (built), Node.js, PHP, Python, Java | Values that are not secret, set only where the website has no value yet (a value you set on the page always wins). A static website's are its Build variables: written into its public files by its next build. A PHP website gets them as lines in its .env. The website's own address, under your app's own name: in a Node.js, Python or Java app a value may hold ${SITE_URL} (https:// and the website's primary address) or ${SITE_HOST} (the address alone), like "NEXT_PUBLIC_BASE_URL": "${SITE_URL}". The panel fills them wherever the app gets its variables (its build, its deploy commands and the running app) with the same address it gives NEXT_PUBLIC_SITE_URL. It fills them again at every build and every start, so after you make another domain the primary, the next deploy gives the app the new address; a staging copy gets its own address, never production's. Until the website has an address, the variable is not given at all, and a deploy does not stop for it. Nothing else is ever put into a value: another variable's value never is, and any other ${…} is given as written. An app that defines SITE_URL or SITE_HOST itself keeps its own: the panel leaves that template for the app. A name like ${SITE_URLL} that the panel does not fill and the website does not define is warned about at Read the project, and the deploy goes on. A PHP website's lines are written into its .env exactly as they are, where Laravel expands ${…} from its own .env. In a Node.js, Python or Java app, a default whose name is on the Environment list — one the panel sets during a build, or one the system loader reads (like HOME, TMPDIR, npm_config_cache or LD_PRELOAD) — is still given to the app, and its build has the panel's value, or none: the Update dialog's line and the deploy log say "NAME is set by the panel during a build; your value applies to the app only". |
cron | all but static | The website's cron jobs from the file — see Cron jobs from the file. |
hooks.afterBuild | static (built), Node.js, PHP, Python, Java | A command run as the website, in the new version, after its build (a PHP website: after composer, before its deploy commands) and before it goes live. If it fails, the deploy stops and visitors keep the version they had. |
php.settings | PHP, WordPress | Only what the website's PHP page lets you change, within its limits: memory_limit, upload_max_filesize, post_max_size, max_execution_time, max_input_time, max_input_vars, display_errors, short_open_tag, timezone, allow_url_fopen, session_lifetime. |
php.extensions | PHP, WordPress | Extensions to switch on for this website, like ["intl", "imagick"]. They are only ever turned on — one you switched on yourself stays on. |
php.mail | PHP, WordPress | false turns PHP mail() off for the website. true turns it on only after the server's owner says yes, with the risk the PHP page's switch states (see asked once). |
A variable whose name reads like a secret is never taken from env.defaults: its value would sit in your repository for anyone who can read it. That is a name, in capitals or not, that:
- ends in
_SECRET,_KEYor_TOKEN, or isSECRET,KEYorTOKENitself; - holds
PASSWORDorPASSWDanywhere; - holds
_PRIVATE, or starts withPRIVATE_; - is
DATABASE_URL.
Name it in env.required and type its value on the Environment page. The rule reads the name only, so a value that is public by design but named like a key — NEXT_PUBLIC_TURNSTILE_SITE_KEY, a Stripe publishable key — is refused as a default too: list it in env.optional (empty = that feature off) or env.required, and type it on Environment.
How it runs, its web rules and its caches
| Key | For | What it sets |
|---|---|---|
node.memoryMb | Node.js | The app's memory limit in MB (128 to 65536) — Settings → Advanced → Memory limit. Its heap is three quarters of it. |
node.pageCache | Node.js | true turns on the page cache: a page the app marks public is kept for 10 seconds for visitors who carry no cookie. The same as Settings → Advanced → Page cache. |
node.processes | Node.js | How many copies of the app serve its visitors: 1 (the default), up to 16, or "auto" (one a processor core and one for every 512 MB of node.memoryMb, whichever is fewer, at most 8). The same as Settings → Advanced → Processes. Keep 1 for an app that holds sessions, websockets or timers in its own memory. |
python.memoryMb | Python | The app's memory limit in MB. |
python.workers | Python | gunicorn or uvicorn workers, 1 to 32. |
python.workerClass | Python | How a gunicorn worker answers: "sync" (the default — one request at a time per worker) or "gthread" (threads — several at once, for pages that wait on another service or a slow query; the app must be safe on several threads). Settings → Advanced → Worker type. uvicorn and a start command of your own ignore it. |
python.threads | Python | Threads per worker with "gthread", 2 to 16 (4 unless set); workers × threads is at most 32 (a deploy that moves the website to gunicorn, or a rollback, that would go past it sets Sync and says so in its log). Settings → Advanced → Threads per worker. |
python.startTimeoutSec | Python | How long a new version may take to answer the first time, 15 to 900 seconds. |
java.memoryMb | Java | The app's memory limit in MB; the heap (-Xmx) follows it. |
java.jvmOptions | Java | JVM options on one line, without -Xmx. |
java.args | Java | The app's arguments, on one line. |
java.startTimeoutSec | Java | As for Python. |
health.path | Node.js, Python, Java | The path a new version must answer before visitors are moved to it, like /healthz. |
releases.keep | static, Node.js, Python, Java | How many versions stay on disk, the live one among them — the others are ready for a rollback (3 unless set, 1 to 10). Every deploy log says the number and where it came from ("5 releases kept (keep = 5, from sixpanel.json)"). A standalone Next.js release kept for a rollback keeps no build cache (.next/cache); a rollback starts it without one. The live release keeps its own, and the next deploy starts its build from it (the same Next.js version only). Settings → Advanced. |
web.maxBodyMb | static, Node.js, Python, Java | The largest upload nginx takes, in MB (1 to 4096). Settings → Advanced. A PHP website takes what its PHP takes: set php.settings.upload_max_filesize. |
web.spa | static | A single-page app: a path with no file shows index.html. |
web.notFound | static | The page shown for a path with no file, like 404.html (while spa is off). |
web.headers | all | Response headers, as Web Rules takes them: [{ "name": "X-Robots-Tag", "value": "noindex" }], or "remove": true (at most 10). The file's list is the website's header list. Never Set-Cookie, and never a security header SixPanel sends (Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy) — the deploy stops; Web Rules can change those on its page. |
web.redirects | all | Redirects: [{ "from": "/old", "to": "/new", "status": 301 }] — status 301, 302, 307 or 308 (301 unless set), match exact, prefix or regex, and keepQuery. They replace the website's redirects (at most 25); a Rewrite you typed on Web Rules stays. |
php.pool | PHP, WordPress | The PHP workers, as the PHP page sets them: pm (ondemand, dynamic, static), max_children (1 to 200), idle_timeout (5 to 600), max_requests (50 to 100000). |
php.sessions | PHP | files or redis, as the PHP page's Sessions switch. Redis needs the website's own Redis (one the file asks for counts once it has its yes). A switch signs every visitor out once. |
cache.page | WordPress | WordPress's page cache on or off. On turns Varnish off for the website: the two are never on together. |
cache.brotli | all | Brotli is the whole server's (Software → Brotli): true holds when the server has it on, and is otherwise listed as the owner's; false is ignored — one website does not turn it off. |
cache.varnish.purgeOnDeploy | all but static | false keeps Varnish's copy at a deploy (it then ages out by its own time) — Caching → Varnish → Clear it at every deploy. Purge and a rollback always clear it. |
Deploy commands, kept files, secrets made fresh, and where a new website comes from
| Key | For | What it sets |
|---|---|---|
hooks.deploy | Node.js, PHP, Python, Java | The Settings page's deploy commands, one line each: ["php artisan migrate --force"] (20 at most). |
keep | Node.js, PHP, Python, Java | Files and folders kept between deploys, like ["storage/"] — kept from the deploy that first names them. A Node.js, Python or Java app keeps them in its website's own data/ folder (a folder ends in /), which every backup carries. |
env.generate | Node.js, PHP, Python, Java | Secrets made fresh where the website has no value — before the first build, and kept from then on (a deploy that fails does not take them back) — an empty APP_KEY= too. The value never appears in a log or on a page but Environment. |
web.rewrites | all | Web Rules Rewrites: [{ "from": "/shop", "to": "/store", "match": "prefix" }] — the address stays, another path answers. |
web.blockPaths | PHP | Refused addresses, like ["/install"] — a 404 before PHP sees them. |
web.frontController | PHP | true sends an address with no file to index.php; false answers 404. |
node.mode | Node.js | "server" or "static". |
python.server | Python | "gunicorn", "uvicorn" or "custom". |
python.appModule | Python | Like "mysite.wsgi:application". |
python.settingsModule | Python | Django's settings module, like "mysite.settings". |
python.collectstatic | Python | false skips collectstatic. |
java.mainClass | Java | Like "com.example.App". |
wordpress.security | WordPress | { "xmlrpc": false, "userEnum": false, "loginLimit": true, "fileEdit": false } — the Settings page's switches. |
source.wp | WordPress | A theme or plugin repository: { "dir": "my-theme", "activate": true } — dir is its folder under wp-content/themes/ or wp-content/plugins/ (unless set: the one already installed under the same name, then its Text Domain, then the repository's name), and activate (true unless set) whether each git deploy turns it on. Read when the website is made. |
name | all | What a website made from the file is called. Read when it is made, never at a deploy. |
source | all | { "git": "https://github.com/owner/repo.git", "branch": "main", "autoDeploy": true }, or an npm package: { "npm": "my-app", "version": "latest", "registry": "https://…", "autoDeploy": true } (see A prebuilt npm package) — where a website made from the file takes its files. Never a token. Read when it is made. At a deploy it never changes anything, but a branch other than the one the website deploys is said: in the deploy's log at Read the project, and in the Update dialog with Switch to <branch> and deploy, one press that moves the git connection to that branch (the same repository, its credential and automatic deploys kept) and deploys it. A git push or any other automatic deploy only logs it, and never switches. When a version fails to go live because its start command names a file it does not have (Node.js's "Cannot find module", or npm's "Missing script"), the failure says so in plain words first, and names the branch when the file asks for another one. |
A redirect or a Rewrite can say when it applies, as Web Rules' condition does — "when": { "type": "device", "value": "mobile" } (type uri, query, host, country or device; op eq, ne, re or nre) — and "enabled": false keeps a rule switched off. A header's "always": false sends it on a good answer only. A deploy by Tia or an MCP client applies all of these.
Optional variables: empty = off
Some features are switched on by their keys alone: a Turnstile check on sign-up, error reports to Sentry, a payment provider you have not signed up with yet. List those variables in env.optional. Left empty, the app treats the feature as off and the deploy goes on. Filled with a value, the feature is on.
"env": {
"required": ["APP_SECRET"],
"optional": [
{ "name": "NEXT_PUBLIC_TURNSTILE_SITE_KEY", "group": "turnstile", "about": "turns on the Turnstile check on sign-up",
"pattern": "^0x[A-Za-z0-9_-]{10,}$", "link": "https://developers.cloudflare.com/turnstile/get-started/" },
{ "name": "TURNSTILE_SECRET_KEY", "group": "turnstile", "pattern": "^0x[A-Za-z0-9_-]{10,}$" },
"SENTRY_DSN"
]
}Each entry is a name, or an object with:
name: the variable (letters, digits and_);about: one line on what it turns on, shown beside it (at most 200 characters);group: a short label for variables that are set together, liketurnstile;pattern: a regular expression a filled value should match;link: anhttps://address where the value is made, or its manual.
At most 50 entries. A name in env.optional may not also be in env.required, env.generate or env.defaults. As with every secret, the file never holds a value: you type the values on the website's Environment page, or in the Create dialog.
What you see:
- the deploy log, Check sixpanel.json and the website's Overview card list each one as on or off (empty), with its
aboutline; - a group only partly filled is a warning, never a stop: "TURNSTILE: only 1 of 2 set (NEXT_PUBLIC_TURNSTILE_SITE_KEY) — the app treats it as off until TURNSTILE_SECRET_KEY is set too";
- a filled value that does not match its
patternis a warning that names the variable. The value itself is never shown; - the Environment page marks them optional — empty = off, and says each one on or off (empty) as it is now, with its group, its
aboutline and itslink; - Make a website from a sixpanel.json has a section Optional — leave empty to keep it off, with a password field for each one.
A variable whose name starts with NEXT_PUBLIC_ is built into the pages a Next.js app sends to browsers, so after you fill it, deploy again to turn the feature on.
Domains, databases, Redis and caches in sixpanel.json: asked once
| Key | For | What it makes |
|---|---|---|
domains | all | [{ "name": "shop.example.com", "primary": true, "www": true }, { "name": "old.example.com", "redirectTo": "shop.example.com" }] — each name added as Domain & SSL adds it, with HTTPS the panel's own way (Cloudflare when its token is there, otherwise the usual certificate). A name that does not reach this server yet is connected by itself once it does. redirectTo is the primary domain. A www pair comes out the same whichever way it is written — { "name": "www.shop.com", "primary": true, "www": true }, or that name and { "name": "shop.com", "redirectTo": "www.shop.com" } in either order — and www adds the missing twin of a name the website has already. |
databases | Node.js, PHP, Python, Java | [{ "engine": "postgres", "name": "app", "env": "DATABASE_URL" }] — engine is mariadb, postgres, mongodb or mssql (installed on the server), name 1 to 16 lower-case letters and digits. The panel makes the database and its user and generates the password; the address, password included, goes into the variable you name (a PHP app: into its .env). The website's first database is called site_<website>, the others site_<website>_<name>. It is made before the new version is built (a PHP website's: after composer), so its build, hooks.afterBuild and the deploy commands all have its address — a migration can run in any of them. The password is never in the file, the deploy log, the panel's answers or Tia's. A PostgreSQL database can ask for more — as its app needs it. |
redis | all but static | true, or { "env": "REDIS_URL" } — the website's own Redis, its address in the variable named (REDIS_URL unless set). "memoryMb": 128 is how much memory it may use (16 to 1024, as its Redis page sets it): a line of its own, the server's owner's yes, set once the release is live. |
supabase | Node.js, PHP, Python, Java | { "use": "my-supabase" } — connects the website to the Supabase app called my-supabase on this server, as Environment → Supabase → Use a Supabase on this server does: its URL, publishable key, service_role key and database address go into NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY, SUPABASE_SERVICE_ROLE_KEY and SUPABASE_DB_URL, or the names you give in "env": { "url": …, "anon": …, "service": …, "db": … } ("" leaves one out). No key is ever in the file. The server's owner says yes. The file never makes a Supabase — make it first on Projects → Create → Docker app → Supabase — and never connects Supabase Cloud, whose keys are typed on the Environment page. |
cache.memcached | all but static | true, or { "memoryMb": 64 } — a Memcached of the website's own. The server's owner says yes. |
cache.varnish | all but static | { "enabled": true, "ttl": 120 } — Varnish in front of the website, and how long it keeps a page that says nothing. The server's owner says yes. |
web.server | PHP | "apache" or "nginx" — what serves its PHP (Apache reads .htaccess; Apache must be installed). The server's owner says yes. |
web.nginx | all | The Vhost page's own directives, a line each: { "server": ["gzip_comp_level 6;"], "locations": { "root": [], "php": [], "app": [] } } — through that page's check, nginx's test and its put-back. It needs the website's HTTPS first. The server's owner says yes. |
php.mail | PHP, WordPress | true — PHP mail() on. The server's owner says yes, after reading the risk its switch states. |
runtime.* | every kind | A runtime the file names that this server does not have, installed on the server (Software) before the build — see A runtime this server does not have. The server's owner says yes, once — or "autoInstall": true installs it without asking. |
saas | Node.js, Python, Java | { "domains": true, "maxDomains": 1000 } — SaaS domains: the domains your app's own customers connect (a platform that hosts businesses), each with its own certificate, as the website's SaaS domains page turns them on. Your app reaches them through SIXPANEL_SAAS_SOCKET in its environment; maxDomains (1 to 20000, 1000 unless set) is how many it may hold. The server's owner says yes. false never turns them off — the SaaS domains page does. Add "cloudflare": { "target": "customers" } to set up Cloudflare for SaaS as the page's Set up Cloudflare for SaaS does: on the Cloudflare zone of the website's own domain, with the token the panel holds for it, businesses then point a CNAME at customers.<your zone> (target is that one label, customers unless you choose another). It is a yes of its own, the server owner's. |
A PostgreSQL database as its app needs it
A postgres database can ask for more than its owner and its address: what an app built on Supabase's security model needs — its API roles, a login role for the app, extensions, the order text sorts in. Every key is optional, and a database without them is made exactly as before. They belong to the database's line on the Update list, so a change to them asks again; once said yes to, they are applied again on every deploy, before the build and the app's migrations (nothing is ever dropped). A database line with any of these keys is the server owner's to say yes to, on an account's website too: the setup is made as PostgreSQL's superuser — software installed on the server, roles every website shares — so an account's tick on Update or Create is not a yes to it, and it waits in the owner's bell. A database without them is the account's yes, as before. Skip it on this server holds for the whole line: nothing of it is set up, and no row-level security is switched on for it.
"databases": [{
"engine": "postgres", "name": "shop", "env": "DATABASE_OWNER_URL",
"locale": "icu:en-US",
"extensions": ["btree_gist", "pgcrypto", "uuid-ossp", "postgis", "pg_trgm@public"],
"extensionSchema": "extensions",
"apiRoles": "supabase",
"app": { "env": "APP_DATABASE_URL", "statementTimeout": "8s", "lockTimeout": "8s" },
"settings": { "timezone": "UTC", "search_path": "\"$user\", public, extensions" },
"rlsAutoEnable": true
}]| Key | What the panel does |
|---|---|
locale | icu:<language>-<REGION>: the database sorts and compares text by that ICU locale (ORDER BY name puts "apple" before "Zebra"); the server does not need its POSIX twin (like en_US.UTF-8): where it is missing, the database is made with C.UTF-8 for the rest and still sorts by the ICU locale. Only when the database is made — one that exists keeps its order, and the deploy log says so. To change it: export the database on its Database page, add a new database with the locale, and import the export into it. |
extensions | Made as the server's superuser, IF NOT EXISTS, on every deploy, so adding one to the file adds it. name goes into extensionSchema (else public); name@schema names its own. The list: PostgreSQL's trusted modules (btree_gin, btree_gist, citext, cube, dict_int, fuzzystrmatch, hstore, intarray, isn, lo, ltree, pg_trgm, pgcrypto, seg, tablefunc, tcn, tsm_system_rows, tsm_system_time, unaccent, uuid-ossp), autoinc, bloom, earthdistance, insert_username, moddatetime, refint, and PostGIS (postgis, postgis_raster, postgis_sfcgal, postgis_topology — the system's own postgresql-<version>-postgis-3 package is installed the first time a database asks for it). An extension only the superuser can make is made into a schema that holds nothing but extensions. pg_stat_statements is the server's own, never a website's. |
extensionSchema | The schema the panel makes for the extensions, owned by the database's owner — like extensions. |
apiRoles | "supabase": the server-wide roles anon and authenticated (statement timeouts 3 s and 8 s) and service_role (past row-level security), made when missing, never dropped, shared by every website that asks — a role of that name that can log in or is a superuser is refused. The database's owner may switch into them (migrations and policy tests do) and may load data with triggers off; they may use the extension schema; what the owner makes later in public is service_role's; TRUNCATE, TRIGGER and REFERENCES are never anon's or authenticated's. As on Supabase, a function the owner makes may be run by everyone: revoke it where it must not be. |
app | A second login role, <owner>_app, for the app itself. It has no table of its own and reaches the data only by switching to an API role, so a query that forgot to switch fails instead of running with the owner's rights. Its address goes into env, its password is the panel's own, and Database → Show password and Change password work for it as for any user (its access is the file's). statementTimeout and lockTimeout are its own (8 s unless set). Without apiRoles it reads and writes the public schema's tables itself instead. Once its address is in place, the running app and its cron jobs no longer get the owner's: the database's own env variable, and DATABASE_URL and DB_* when it is the website's first database, are given only to the build, hooks and the deploy commands — so run migrations there, never when the app starts. |
settings | timezone, search_path, statement_timeout, lock_timeout, idle_in_transaction_session_timeout and default_text_search_config, set on the database. A value with a quote, a semicolon or a line break is refused. |
rlsAutoEnable | true (the public schema) or a list of schemas: every new table there gets row-level security, by the panel's own event trigger — made after the deploy's own commands the first time, so the app's first migration makes its tables as it means them, and kept on every deploy after. It runs the panel's function, never one the app made: an event trigger runs its function with the rights of whoever makes a table. |
The database stays closed to every other website: only its owner and its app role may connect.
Moving such a database to another server. Its export (Database → Export), or a pg_dump -Fc, imports into the same file's database there, and every privilege and row-level security policy of the dump comes back. The import runs as the database's own role, never as the superuser, and leaves out only what that role cannot do — the job log names each: the extensions and their comments (the panel made them), event triggers (rlsAutoEnable gives the database the panel's own), the rows and privileges of what an extension made, and another role's default privileges. The server's own extensions and a hosting platform's (pg_stat_statements, and Supabase's supabase_vault, pgsodium, pg_graphql, pg_net, pg_cron and the like) are left out too, with their schemas (vault, graphql, cron, …) and everything in them, in one line of the job log — so a raw Supabase dump imports as it is. A dump that needs another extension only the superuser makes, which the database does not have, is refused before anything is loaded: add it to extensions, deploy, and import again.
A runtime this server does not have
A file that names a Node.js line, a PHP version, a Python version or a Java version this server does not have does not stop at that any more: the runtime is installed on the server, by the panel's own Software page's install — Node.js from nodejs.org with its signed checksums checked, PHP through the panel's own PHP install, Python from the builds SixPanel uses (their checksums checked), Java as the server's own OpenJDK package. The deploy installs it before the build, and the website builds and runs on it.
- Asked once. Installing software is the server owner's: the first deploy that needs it waits for the owner's yes — the ticked line on Update, or the card in the bell. Until then the deploy stops before anything changed, and the live version keeps serving (on a website's first deploy the log says nothing of it is live yet — there is no live version to keep). A yes in the bell installs it at once and deploys a git website again; after that, no deploy asks about it again.
"autoInstall": trueinstalls it without asking. Write it inruntime, like"runtime": { "node": "26", "autoInstall": true }. With it, the repository's file installs an official runtime on this server without asking anyone — at a push or at your own deploy — on the server owner's own websites. On an account's website it still waits for the owner's yes: a file never gets an account the owner's page. A deploy Tia or an MCP client starts — a staging site's deploy she starts included — never installs software without your yes,autoInstallor not, because her own tool for Software asks you first: it stops before anything changed and asks in the bell.- Only what the Software page offers, ever. A Node.js line past its end of life, a PHP version php.net no longer supports or a pre-release, a Python or Java version the Software page does not offer is never installed — with
autoInstallor without. The deploy stops, says why, and names what is offered.
Each install is in the deploy log and on Activity, as installed by the website's sixpanel.json (and whether a yes or autoInstall said so). A runtime is the server's, shared by every website: taking it out of the file never removes it — Software does.
Database changes belong after the build
A database migration that runs before the build changes the database before the new version is known to build. If the build then fails, for example because the server ran out of memory, the database is already changed while the old version keeps serving visitors. The old code then runs against the new schema. A command like node scripts/db.mjs push && pnpm build does exactly this.
Put the migration in the deploy commands instead (Settings → Commands after each deploy, or hooks.deploy in the file). They run after the build has succeeded and before the new version goes live, so a build that fails never reaches them. A Next.js app can also build in three steps: next build --experimental-build-mode=compile, then the migration, then next build --experimental-build-mode=generate. Write migrations that only add (a new column, a new table) while the old version still serves, and remove what the old version needs only in a later release.
When build.install or build.command (in the file, or on the Settings page) runs a known migrate tool before the build in the same command, the panel says so: in the deploy's log at Read the project, and in the Create and Update dialogs. The tools it knows are prisma migrate deploy, prisma db push, drizzle-kit migrate or push, knex migrate:latest, sequelize db:migrate, artisan migrate, a db.mjs / db.js script's push, up or migrate, and npm / pnpm / yarn / bun run db:migrate, db:push or db:up. It is a warning only: the deploy is never refused, and your command runs exactly as you wrote it.
npm 11 and install scripts
Node.js 26 ships npm 11. npm 11 lets a project say which of its dependencies may run install scripts (preinstall, install, postinstall). This is what npm 11.20.0 does with a dependency's install script in a project install, the kind a deploy runs (npm ci or npm install), measured on 9 Nov 2026:
| In your project | That dependency's install script |
|---|---|
| Nothing says anything about it | Runs, and npm ends with a warning: "install scripts not yet covered by allowScripts". |
Approved: npm install-scripts approve <package> | Runs, with no warning. |
Denied: npm install-scripts deny <package> | Does not run. |
strict-allow-scripts=true in .npmrc | The install fails (ESTRICTALLOWSCRIPTS) while a dependency with install scripts is neither approved nor denied. |
--allow-scripts=… in the install command | The install fails (EALLOWSCRIPTS, "--allow-scripts is not allowed in project-scoped installs"). |
- Never put
--allow-scriptsinbuild.install. It fails every deploy. The flag is only fornpm install -g,npm execandnpx. - Approve and deny in your project, on your own computer, and commit the result. Both write the
allowScriptsfield ofpackage.json.npm install-scripts lslists what is not decided yet. A.npmrcin the repository withallow-scripts=sharp,esbuildapproves by name too. - Deny only a package your app does without. A denied script is skipped on the server as well. Prisma's client is then not generated, and sharp's or esbuild's binary is not fetched, so the build or the app fails. A denial stays until you remove its entry: a later
approvedoes not lift it.
npm's own help (npm help install-scripts) already describes a script nobody approved as skipped. npm 11.20.0 still runs it, with the warning above, so a later npm release may start skipping it. Approving the scripts your app needs now keeps your build the same when that happens. Nothing on the server needs changing: the deploy runs your install command as the website, and npm reads package.json and .npmrc from your files.
Cron jobs from the file
Each job has a name (lower-case letters, digits and dashes, once in the file), a schedule (the same five fields the Cron jobs page takes — minute, hour, day of the month, month, day of the week — or @hourly, @daily, @weekly, @monthly, @yearly, or @always for a command that keeps running: started with the server, started again when it exits, never stopped by a time limit, the page's Keeps running; a "path" job cannot keep running) and exactly one of:
"command"— runs as the website's account in its live version, as a job you add by hand does;"path"— asks an address of the website itself with a GET, like"/api/cron/daily".
"enabled": false keeps a job in the file but switched off.
A job asking an address sends Authorization: Bearer <CRON_SECRET> when the website has a CRON_SECRET variable, and User-Agent: SixPanel-Cron/1 — what Vercel Cron sends, so a route written for Vercel works unchanged. The answer must be 2xx; anything else (a 500, no answer) is a failed run, shown on the Cron jobs page like a command that failed. A redirect to one of the website's own names (its www twin, its primary) is followed on this server, three hops at most, and the log says where it went; a redirect anywhere else is not followed, and a loop of redirects is a failed run that says it is a loop. A Node.js, Python or Java app is asked on the server itself, at the version that is live — whichever of its two slots is serving, and before it has a domain; while the app is stopped it is asked nothing (each run says so), until Start runs it again. A PHP or WordPress website is asked through this server's web server at its domain, so it needs its domain with HTTPS first (until then each run fails and says why).
The file's list is the list. Each job the file adds, changes or removes is a line of its own on Update, ticked: once the new version is live, the ticked ones are made what the file says now (a new one added, a changed one changed, one no longer in the file removed). A job you untick stays as it is, and a git push or an upload holds the changes for a yes in the bell. A website's first deploy makes the file's whole list. The Cron jobs page marks them From sixpanel.json. A job you added by hand is never touched, renamed or removed by the file — even one with the same name. If a later version has no sixpanel.json at all, the jobs the file made go, and what else it set stays as it is. Rolling back to an earlier version (the Deploys page) brings back the jobs of the file that version had — or none, when it had no file.
What it never does
Whoever wrote the file — anyone who can push to the repository can — it only sets what the person who may deploy the website could set on its pages, with the same checks and the same limits (an account's limits included). It never:
- holds a secret value (see the rule above);
- makes a domain, a database, a Redis or a cache before a yes (see asked once);
- changes the firewall, Cloudflare, SSH or FTP, the panel's own settings, or another website;
- removes what an earlier file made;
- turns the website into another kind;
- runs a command as the server's root: every command it names runs as the website's own user;
- lets a visitor read it:
sixpanel.jsonanswers 404 from the website's address, in every kind and every folder.
What a file may hold, at most:
| At most | |
|---|---|
| The file | 64 KB, nested 8 deep |
| A command | 500 characters (a cron job's: 2000) |
env.required / env.defaults / env.generate / env.optional | 200 / 100 / 50 / 50 names |
build.env | 50 names |
cron | 50 jobs, with the website's own |
web.headers / web.redirects and web.rewrites together | 10 / 25 |
web.nginx | 300 lines |
web.blockPaths / keep / hooks.deploy | 20 / 30 / 20 |
domains / databases | 50 / 11 (the first and 10 more) |
Some of a website's settings stay on their page on purpose:
| Setting | Why it is not in the file |
|---|---|
| Laravel's configuration cache (Caching) | SixPanel decides it for each app from what the app reads; turning it on by hand asks you to confirm what stops working — a file cannot confirm. |
| WordPress debug and maintenance mode | Debug shows errors, passwords included, to visitors; maintenance is a moment, not a setting. |
| Extra database users, their passwords | A password is never in a file; add them on the Database page. |
| Backups, SSH and FTP users | The server's own (Backups, SSH & FTP), never one website's file. |
A file that carries such a key (firewall, cloudflare, ssh, secrets, sites …) is still read; the deploy log and the card list the key, why it was ignored and where it is set. A name written the wrong way (domain, ssl, database) is pointed at the key that does it.
What sixpanel.json never sets: the firewall, SSH, Cloudflare, another website
The server's firewall, SSH and FTP users, Cloudflare's settings, the panel's own settings, another website or project, a secret's value, and anything past your account's limits — more than your package holds, a name another website uses, software the server's Software page does not offer. Such a key is read and listed as ignored, with why and a link to the page where it is set.
Who changed what: sixpanel.json on Activity
Every change a file made is on Activity: who deployed (the owner, an account, a temporary login, a git push with its commit, Tia or the MCP client by name — a rollback, Build and Deploy files by the person who pressed them), which commit or upload, and each key from what it was to what it is now (for a rollback, what the rollback changed). A variable shows by its name only, and a password in a start command or a program's arguments shows as ****. Every yes is there too.
A rollback runs the earlier version with what ITS file set — its memory, health check, largest upload and the rest — not the newer file's; a setting no file set stays as you have it. What waits for a yes is then what that version's file asks, and a version with no file asks nothing. A rollback goes back exactly as that version went live: its own sixpanel.json and the choices you made when it went live, so a line you unticked at its update stays as the website has it. The rollback question on Deploys lists what switching back sets again, as that version had them (for example Memory (MB): 1024 MB → 512 MB, or a cron job it adds back). Those settings change when you press Make live, and not before. If the list could not be read, the question says so. A website with no sixpanel.json is asked exactly as before.
Export a website as sixpanel.json
Any website of these kinds can be turned into its sixpanel.json, read from the website as it is now: open its Overview, and on the sixpanel.json card press Export sixpanel.json. The dialog shows the whole file; Download sixpanel.json saves it, Copy copies it.
No secret value is in the file — no password, key or token. Each secret is named instead:
- one an outside service gave you (a Stripe key, a mail password) is listed in
env.required— you type it where the file is deployed; - one the app makes up itself (
APP_KEY,SESSION_SECRET,CRON_SECRET…) is listed inenv.generate— a new value is made where the file is deployed, never this one; - the variables SixPanel gives the app (its database's address, its Redis's, its port) are not in the file at all: each server gives its own;
- the variables the live file named in
env.optionalstay inenv.optional, exactly as it named them, with no value. The export never guesses that any other variable is optional.
A cron job, a header or a Vhost line that holds a password is left out, and the dialog lists it under Not in the file with the page where you set it again. So are SSH and FTP users, extra database users, the data in the databases (and a WordPress website's posts and uploads — Backups or Move a website carry those), PHP's disabled functions and free php.ini lines, and the repository's access token or deploy key. What SixPanel works out from your files by itself (the build and start commands it detects, the document root) is written only when you changed it on the page — the new server works it out the same way.
The runtime versions you chose are written, with "autoInstall": true when the file the website runs now said it — so a new server installs them the same way. Deploying the file back onto the website it came from changes nothing: its databases are its own (never a second, empty one), and a cron job you made by hand is not added twice.
Make a new website from a sixpanel.json
On Projects → Create, press From a sixpanel.json on the first screen. The dialog has three steps:
- The file — paste it, choose it, or press Read it from a repository.
- Connect the repository — only when the file names one (
source.git) or you read it from one. It is the same screen as a website's Connect a git repository: HTTPS with an access token (none for a public repository; the token stays on this server), or SSH with a deploy key — generate one (ed25519 or RSA) or paste one you have, copy its public half, add it to the repository as a read-only deploy key (the button opens that page at GitHub, GitLab or Bitbucket). Continue checks the connection itself: when the repository cannot be read it says why, in git's words and what to set up at the forge, and stays on this step. The branch is chosen from the repository's own list. The key you made here becomes the website's own key once it is made — nothing to paste twice. Close or cancel the dialog without making the website and the key it made is deleted from the server at once (one the server could not delete then goes after a day); remove it at the forge too. - What it sets up — nothing is made yet: what kind of website it is, each secret it names, its cron jobs, and what it makes.
- Secrets: type each one the file lists in
env.required. One left empty does not stop anything — the website's Overview lists it, and you type it on its Environment page later. Whatenv.generatenames is made fresh before the first build. - Optional — leave empty to keep it off: the variables in
env.optional, each with its line and link. Fill the ones whose feature you want on now. One left empty keeps its feature off. - Its build, start commands, settings, variables and cron jobs are applied with its first deploy — nothing to tick; the cron jobs are listed so you see them.
- What it makes — each thing the file asks for once (see asked once above) is a ticked line, and your press of Make the website is your yes, kept exactly as a ticked line on Update is. The Vhost directives and PHP
mail()are shown and not ticked for you. An account sees what only the server's owner may say yes to without a tick: it waits in the owner's bell.
If the file names its repository ("source": { "git": "https://…", "branch": "main" }), the website is connected to it and its first deploy starts by itself — with push-to-deploy on when the file says "autoDeploy": true. Otherwise the file is kept with the website: the first files you upload on its Deploys page are set up by it, and every later deploy whose files carry no sixpanel.json reads it too. A sixpanel.json in the website's own files always wins.
A runtime the file names that this server does not have is a line of What it makes too: your press is the yes (the server's owner), and its first deploy installs it — or it says installed without asking (autoInstall) when the file says so. A file that cannot make the website — written for another kind, asking for a runtime the Software page does not offer, past your account's package — makes nothing, and the dialog says why.
Moving a website's setup to another server is then: Export sixpanel.json here, From a sixpanel.json there, type the secrets it names. (Move a website, on the server's own pages, moves the files and the data too.)
Coming from Vercel (vercel.json)
SixPanel does not read vercel.json, but its parts have a place here:
| vercel.json | sixpanel.json |
|---|---|
"crons": [{ "path": "/api/cron/x", "schedule": "0 5 * * *" }] | "cron": [{ "name": "x", "path": "/api/cron/x", "schedule": "0 5 * * *" }] — a name is added |
"installCommand" | "build": { "install": … } |
"buildCommand" | "build": { "command": … } |
"outputDirectory" | "build": { "output": … } |
| environment variables in the dashboard | "env": { "required": [ … ] }, and their values on the Environment page |
"headers": [{ "source": "/(.*)", "headers": [{ "key": "X-Robots-Tag", "value": "noindex" }] }] | "web": { "headers": [{ "name": "X-Robots-Tag", "value": "noindex" }] } |
"redirects": [{ "source": "/old", "destination": "/new", "permanent": true }] | "web": { "redirects": [{ "from": "/old", "to": "/new", "status": 308 }] } (permanent: false is 307) |
"rewrites": [{ "source": "/shop", "destination": "/store" }] | "web": { "rewrites": [{ "from": "/shop", "to": "/store" }] } |
"cleanUrls", "trailingSlash" | no key of their own: the app or its framework decides them |
Your cron routes that check CRON_SECRET keep working: give the website the same CRON_SECRET on its Environment page.
Coming from Netlify, Railway, Render, Fly.io or Heroku
SixPanel reads none of these files. Each line below is where the same setting goes in sixpanel.json; a setting with no line here has no key, and stays on its SixPanel page.
| netlify.toml | sixpanel.json |
|---|---|
[build] command, publish | build.command, build.output (a static website) |
[build.environment] | build.env (the build's own variables) |
[[redirects]] from, to, status | web.redirects (from, to, status); status = 200 is a rewrite: web.rewrites |
[[headers]] for, [headers.values] | web.headers (name, value, paths) |
[build] base (a monorepo) | no key: the commands name the folder (A monorepo) |
| railway.json | sixpanel.json |
build.buildCommand | build.command |
deploy.startCommand | start |
deploy.healthcheckPath | health.path |
deploy.preDeployCommand | hooks.deploy |
deploy.cronSchedule | a cron job with that schedule and the command |
deploy.numReplicas | node.processes |
| render.yaml | sixpanel.json |
buildCommand, startCommand | build.command, start |
healthCheckPath | health.path |
preDeployCommand | hooks.deploy |
envVars with sync: false | env.required (the value is typed on Environment) |
envVars with generateValue: true | env.generate |
envVars with a value that is not secret | env.defaults |
a databases entry, fromDatabase | databases with env naming the variable |
| a cron job service | a cron job |
| fly.toml | sixpanel.json |
[deploy] release_command | hooks.deploy |
[[http_service.checks]] path | health.path |
[[vm]] memory | node.memoryMb (or python.memoryMb, java.memoryMb) |
[env] | env.defaults (never a secret) |
[processes] with a worker | a cron job with "schedule": "@always" |
internal_port | no key: the app listens on PORT, which the panel gives it |
| Heroku app.json and Procfile | sixpanel.json |
env with "required": true | env.required |
env with "generator": "secret" | env.generate |
env with a value | env.defaults (never a secret) |
Procfile web: | start |
Procfile release: | hooks.deploy |
Procfile worker: | a cron job with "schedule": "@always" |
formation quantity | node.processes |
A secret is never moved into the file: name it in env.required and type its value once on the website's Environment page.
If it went wrong
Each entry starts with the words the deploy log shows. The first group stopped real deploys on a production server in November 2026; the rest are the reader's and the plan's own sentences.
The build ran out of memory
- "the server ran out of memory while this was building, and the kernel stopped the build" — the build needed more memory than the server could give it then. The live website is unchanged. The sentence goes on to say which limit it met, with the kernel's own counters:
- "…the build reached its account's memory limit of N MB" — the website's account package holds the build: raise the account's memory on Accounts, then deploy again.
- "…the build reached a memory limit set on its group" — the build's own memory group was full. The sentence ends with what the next build of the site is planned for, more than this one: deploy again.
- "…ran out of memory and swap while this was building" — every swap slot was taken. The next build of the site is planned for more and given the swap for it: deploy again. When it says the disk has no room for that swap, free disk space first.
- "…although N MB of swap was still free" — memory filled faster than it could be moved to swap (other websites building or busy at the same moment): deploy again when the server is quieter.
node.memoryMb is the running app's limit, not the build's. Write what the build needs as build.memoryMb (a large Next.js build: 4096 to 6144) so the plan does not start from a smaller number. A very large app can be published to npm already built, so nothing is built on the server at all.
- "V8 stopped the build at a heap limit" — the build's main process filled the heap it was given. The next build of the site is planned for more, with a larger heap: deploy again. A Next.js static-generation worker does not take the main process's heap, so a build that fails in "Generating static pages" is helped by
build.memoryMb, not by a--max-old-space-sizein the command.
A variable the app needs has no value
- "sixpanel.json needs the variable APP_SECRET (env.required), and the website has no value for it yet" — nothing was built, and the live version keeps serving. Press Type the missing values on Deploys, type it, and deploy again; or press Update now on a git website, whose dialog asks for it. A git push cannot ask, so it stops here every time until the value is there. A PHP or WordPress website does not stop: the deploy goes on, and its log says "missing variables: APP_SECRET — set them on the website's Environment page". Set it there.
The app did not start: its start file, or the wrong branch
- "the start command runs node_modules/my-app/bin/start.mjs, which this version does not have" — the new version could not start, so visitors kept the old one. The start command names a file the build did not make. When it goes on "…its sixpanel.json asks for branch deploy, while this website deploys main", the file was written for another branch: a website deploys the branch on Deploys → Change git connection, never the one
source.branchsays. Press Update and Switch to deploy and deploy, or change the branch there. Otherwise checkstartagainst the files of that version ("start"in the file, or Settings). - "the start command runs the package.json script "start", which this version's package.json does not have" — the same, for
npm startorpnpm start: add the script, or name the command itself. - "sixpanel.json asks for branch deploy; this website deploys main, and a deploy never switches it" — a note at Read the project, never a stop. The deploy built
main. To deploy the other branch, see the entry above.
A database change runs before the build
- "build.command runs "node scripts/db.mjs up" before the build" (or build.install, or the build command (Settings)) — a warning, never a stop: the command runs as written. Its danger is real: a build that fails after that step (one stopped for memory, say) leaves the database changed while the old version still serves, and the old code then fails against the new schema. Move the migration to
hooks.deploy, or build compile → migrate → generate (Database changes belong after the build). - "listed in .env.example, not set: …" — a note only. A name
.env.examplelists with no value is often one the app makes up itself when it is empty. Only the names inenv.requiredstop a deploy; list "empty = off" names inenv.optional.
The install step: pnpm not found, EALLOWSCRIPTS
pnpm: not found(oryarn: not found) in the install step — Node.js 25 and later ship no corepack, so a barepnpmis no program. Writenpx --yes [email protected] install --frozen-lockfilewith yourpackageManagerversion, or leavebuild.installout: for pnpm and Yarn 2 or later SixPanel then runs that exact version throughnpxitself. Yarn 1 is run as a bareyarn, so writenpx --yes yarn@1 install --frozen-lockfilefor it.EALLOWSCRIPTSin the install step — npm 11 refuses--allow-scriptsin a project's own install. Take the flag out, and approve the packages inpackage.jsoninstead (npm 11 and install scripts).
What the file says is wrong
- "sixpanel.json: … the deploy stopped before anything changed" — the file says something wrong; the message names the key. Fix the file and deploy again. The live version was never touched.
- "it is not valid JSON (…) — strict JSON, no comments" — the file is not plain JSON: a comment, a comma after the last item or a quote that is not
"is the usual cause. The part in brackets says the line and column. Check it with Check sixpanel.json, then deploy again. "version" is 2 — this panel reads version 1— write"version": 1. A file written for a newer SixPanel needs that SixPanel (Settings → Updates).- "sixpanel.json is a link — it must be a plain file at the top of the project" (or "is not a plain file") — commit the file itself at the top of the repository, never a link or a folder.
- "sixpanel.json is 80 KB — at most 64 KB" (or "is larger than 64 KB") — the file holds settings, not data: move long lists (a big redirect table, say) to the app.
- "sixpanel.json could not be read (…)" — the file is there, and reading it failed; the brackets say why (a permission, for example). Commit it as an ordinary file, then deploy again.
- "sixpanel.json is not read for a Docker app" (or a reverse proxy, or a Create with AI website) — that kind of website has no sixpanel.json: its settings stay on its own pages.
- "is written for a Node.js app … and this is a PHP website" —
kindnames another kind. A website is never converted: make a website of that kind, or correctkind. - "asks for Node.js 22, which this server does not have yet" — the server's owner says yes once: tick it on Update and press Update now, or answer the card in the bell. Or write
"autoInstall": truein the file'sruntime. - "… so it is never installed from a file" — the version is past its end of life or not offered here; use one the message names as offered.
- "what Software → Node.js offers could not be read just now (…) — deploy again in a moment" — the list of versions the server can install did not answer (a network moment). Nothing changed; deploy again.
- "…and the server's owner said it is not for this server" — the owner chose to skip that version on this server. Change the line in the file's
runtimeto a version the server has. On a git website the owner may instead tick its line on Update to install it after all. It is asked again when the file names another version. - "Node.js 22 was installed, and is still not on this server" (or PHP, Python, OpenJDK) — the owner's yes was given and Software's own install steps finished, yet the version is not there. Nothing of the website changed. Open that Software page: its install log says what went wrong (a download, a full disk). Deploy again once the version is listed there.
- "sixpanel.json's afterBuild "…" failed — the new release did not go live" (a PHP website: "… this version did not go live") — the command in
hooks.afterBuildexited with an error; the log just above shows its output. On a static website with a build, or a Node.js, Python or Java app, the live version kept serving. On a PHP website the files were already in place, and Put back what was there before puts the old ones back; what the command changed elsewhere (the database, say) stays as it left it. Fix the command, or run it by hand to see why, then deploy again. - "sixpanel.json asks for PHP 8.4: … its sessions are in Redis" — a PHP website whose sessions are in Redis never moves to another PHP version, because everyone would be signed out. Switch Sessions to Files on the website's PHP tab, deploy, then switch back to Redis (everyone signs in again once).
- A cron job that asks an address fails with "not run: this website has no domain that answers over HTTPS yet" — a PHP or WordPress website is asked at its domain: add it on Domain & SSL.
- "HTTP 401" in a job's log — the website has no
CRON_SECRET, or not the one the route expects: set it on the Environment page. - A variable is still missing — the card on the Overview lists it; type its value on the Environment page (the file never holds a secret's value).
- "waits for a yes" — a domain, a database or another item the file asks for has no yes yet: tick it the next time you press Update, or answer it in the bell (the server's owner).
- "…the app needs it before it is built, and it waits for a yes" — a database, the website's Redis or its Supabase has no yes, so the deploy stopped before its build (an app without its database cannot build or start). Tick it on Update and press Update now, or say yes in the bell: a yes there makes it and deploys a git website again.
- "…needs the variable X (env.required)" — press Type the missing values on the Deploys page (or open the website's line in the bell): the Environment page opens with a row for each name. Type the values and deploy again. On a git website, Update asks for them in its own dialog.
- "…this website's account has 768 MB for all its websites" (or "…allows it 8 PHP workers", or "…holds PHP to 256M a request") — the file asks past the account's package; lower the value in the file, or ask the server's owner for a larger package.
- "…the website's own Settings page refuses the same" (or its PHP page, Redis page, Vhost page or Web Rules) — the file sets a value that page would refuse too; the sentence names the key and why. Change it to one the page takes, then deploy again.
- "…php.pool.max_children 500 — the website's PHP page takes 1 to 200" — the PHP workers have the PHP page's own ranges (see
php.poolin Every key). - "sixpanel.json lists 48 cron jobs and the website has 5 of its own — a website has 50 at most" — list fewer jobs in the file, or remove some on the website's Cron jobs page.
- "…for a Java app
build.outputis the JAR its build makes" — name the.jarfile the build writes, liketarget/app.jar, not a folder. - "…X-Frame-Options is one of the security headers SixPanel sends" (or "Set-Cookie is never set or removed from a file") — take that header out of
web.headers. The security headers are changed on Web Rules; a cookie is the app's to set. - "…a name redirects to the website's primary domain" — a
redirectToindomainsnames the website's primary domain (the one with"primary": true), as Domain & SSL does. - "sixpanel.json: databases —
app2: …" — a database name is 1 to 16 lowercase letters and digits, starting with a letter; the sentence says the longest name this website's prefix leaves. - "sixpanel.json: supabase.env — …" — each Supabase value needs its own variable name (letters, digits and
_), and not one the panel sets for every release. - "… — what the file had changed was put back" — the PHP side of the file (its PHP version, root, settings or extensions) could not be written as the version went live. What it had changed went back, and the deploy puts back the version that was live before. The sentence says what failed.
Check sixpanel.json before you deploy
The website's Overview has a sixpanel.json card: which version's file is in force, what it set, what it asked for (made with a yes, waiting for one, or already there), what it ignored and which variables it needs are still missing. Check sixpanel.json reads the file the next deploy would read — from the newest commit of the repository's branch for a git website, or from the last upload — and shows what it would change, without deploying anything.
A file you have not committed yet is checked from the website's own shell (SSH or the panel's Terminal) with sixpanel appfile check: it reads the sixpanel.json in the folder you are in (or the file you name, sixpanel appfile check other.json) and plans it against the website exactly as the card does. It prints whether the file is valid, each error by its key, what the next deploy would change, what it ignores and why, and which variables are still missing. It ends with a non-zero exit while the next deploy would stop on the file, so sixpanel appfile check && git commit commits only a file that works. sixpanel appfile check --committed checks the committed one. Nothing is deployed either way. AI Coding and any MCP client do the same with the check_sixpanel_json tool, which takes the file's text before it is committed.
The JSON Schema
Editors such as VS Code check the file as you type when its first lines name the schema:
"$schema": "https://installer.allsweb.net/sixpanel/sixpanel.schema.json"The panel carries the same schema: the sixpanel.json card on a website's Overview links to it. The schema describes version 1; SixPanel itself is what checks the file at a deploy.
How to check it worked
- Before the deploy: Check sixpanel.json on the website's Overview card shows what the next deploy would change, and Deploys → Update lists each change as a line before you press.
- The deploy log has a sixpanel.json section at Read the project: each change as a line, each key ignored and why, each variable still missing, and each warning (another branch, a migration before the build).
- The Overview card names the version whose file is in force, what it set, and what still waits for a yes. Nothing waiting means the bell holds nothing for it.
- Settings marks each field the file set Set by sixpanel.json; Activity has a line for each change, with who deployed.
- Cron jobs lists the file's jobs marked From sixpanel.json; Run now on a job that asks an address shows the answer's status in its log (
HTTP 200). - A second deploy of the same file changes nothing: its Update has no ticked line.
Something unclear?Ask Tia