Deployment Types and Runtimes
What you can deploy, which versions are offered, and what happens when your deployment starts.
Updated Dec 1, 2026When you create a deployment, you pick one of four types. The type is fixed at creation. The runtime, engine or service inside it can be changed later from Startup.
| Type | Use it for |
|---|---|
| Application | Your own code. Discord and Telegram bots, APIs, workers, scripts |
| Database | A managed MySQL, PostgreSQL, MongoDB or Redis |
| Service | A ready-made program. Websites without a build step, a Lavalink audio node, an Uptime Kuma monitor |
| Restore a backup | A new deployment rebuilt from a backup of another one, current or deleted |
Application runtimes
| Runtime | Versions | Default | Default entry file |
|---|---|---|---|
| Node.js | 26, 24, 22, 21, 20, 19, 18, 17, 16, 15, 14, 12 | 24 | index.js |
| Python | 3.14, 3.13, 3.12, 3.11, 3.10, 3.9, 3.8 | 3.14 | main.py |
| Java | 26, 25, 21, 17, 11, 8 | 25 | app.jar |
| PHP | 8.5, 8.4, 8.3, 8.2, 8.1, 8.0 | 8.5 | bot.php |
| Go | 1.26 down to 1.14 | 1.26 | main.go |
| Rust | latest, 1.60, 1.56, 1.31 | latest | src/main.rs |
| C++ | 26, 23, 20, 17, 14, 11 (language standard) | 23 | main.cpp |
| Lua (Luvit) | latest | latest | main.lua |
| Nodemon | 3, 2 | 3 | index.js |
| Bun | latest, canary | latest | index.ts |
What happens at each start
Every start runs the default start command of the runtime, unless you override it in Startup. It always works from the root of your files (/home/container).
- Node.js runs
npm installwhen apackage.jsonexists, thennodeon your entry file. - Nodemon does the same, then runs your entry file with
nodemon, which restarts the app when a file changes. - Bun runs
bun installwhen apackage.jsonexists, thenbun runon your entry file. TypeScript runs without a build step. - Python installs
requirements.txtwith pip into the.localfolder, then runspython3 -uon your entry file. - Java runs
java -jaron your.jar. Upload the built jar, no build happens on the server. - PHP runs
composer installwhen acomposer.jsonexists, thenphpon your entry file. It is meant for command line bots such as DiscordPHP. For a website, use the PHP Site service. - Go runs
go mod tidyandgo buildwhen ago.modexists (otherwise it builds the entry file), then runs the binary. Modules that need cgo get a C compiler automatically. Extra Alpine packages can be listed in anApkfile. - Rust runs
cargo run --releasewhen aCargo.tomlexists, otherwise compiles the entry file withrustc. Common system libraries (OpenSSL, Opus) are installed when yourCargo.lockneeds them. Extra Debian packages can be listed in anAptfile. - C++ builds with
CMakeLists.txt, then aMakefile, then abuild.sh, and otherwise compiles every.cppfile withg++. When the entry file is a.cpp, the newest executable is started. You can also set the entry file to your binary, for examplebuild/mybot. Extra Debian packages can be listed in anAptfile. - Lua (Luvit) runs
lit installwhen apackage.luaexists, thenluviton your entry file.
Compiling (Go, Rust, C++) uses memory. If the build is killed, give the deployment more RAM in Settings and Resources.
Database engines
| Engine | Versions | Default | Credentials created for you |
|---|---|---|---|
| MySQL (runs MariaDB) | 11.4, 10.6, 10.3 | 11.4 | root, with a generated root password |
| PostgreSQL | 18, 17, 16, 14 | 18 | postgres, with a generated password |
| MongoDB | 8, 7, 6 | 8 | admin, with a generated password |
| Redis | 8, 7, 6 | 8 | A generated password |
Passwords are generated at creation. Connection details and a ready-to-copy connection URI are in the Database tab. See Databases. SQLite needs no deployment, it is a file inside your application, and you can browse it from the Files tab.
Services
| Service | What it does | Versions |
|---|---|---|
| Static Site | Serves HTML, CSS and JS over HTTPS | latest |
| PHP Site | Dashboards and sites running on PHP, with nginx and PHP-FPM | 8.5, 8.4, 8.3, 8.2, 8.1, 8.0 |
| Lavalink | Audio node for Discord music bots | 4.2.2 |
| Uptime Kuma | Self-hosted monitoring and status pages | 2.5.5 |
- Static Site and PHP Site look for your site in
public/, thendist/, thenwww/, then the root, and serve the first folder that holds anindex.html(orindex.phpfor PHP Site). The console prints the document root it picked. PHP Site runscomposer installwhen acomposer.jsonexists, so Laravel and Symfony work without extra setup. - Lavalink gets a generated password, stored in the
LAVALINK_SERVER_PASSWORDvariable. Its Java memory follows the RAM you give the deployment. - Static Site, PHP Site and Uptime Kuma get their free HTTPS address automatically at creation. See Domains.
Templates
Templates are ready-made projects (bots, dashboards, tools) published by the Bot-Hosting team and the community. Deploying one creates a normal deployment with the right runtime, files and variables, and asks you only for the values it needs. Browse them from Templates in the sidebar or at /templates. Community templates are reviewed, but you run the code under your own account, so read the source before deploying.