Deploy Java, Bun, Go, Rust or Lavalink
Choose a runtime in Other languages and services, set the entry file, and check the process from Console.
Choose a runtime and upload the project
From Nuovo deploy, open Other languages and services. The chooser shows which runtimes your plan and host support. Use Files to upload the project or follow GitHub push deployments. The Node.js and Python options here are the same worker profiles covered by the Node.js e Python guides.
- Java Upload a runnable JAR that includes its dependencies and set
JAR_FILEto its path. The runtime uses Java 21. For the Discord JDA example, use the JDA build steps. - Bun Set
MAIN_FILEto your JavaScript or TypeScript entry. Includepackage.jsonand your Bun lockfile where the app uses dependencies. - Go Upload your source with
go.modat the project root for a module build, or useMAIN_FILEto select a standalone Go file or an executable Linux binary built for your worker. - Rust Set
MAIN_FILEaCargo.tomlfor a source build from the portal. When the package builds multiple binaries, setRUST_BINARYto select one. For a prebuilt Linux executable matching your worker, setMAIN_FILEto its path.
Verify startup and one real operation
Save the variables your code reads, start from Overview, and check Console for a successful build or a startup message from your app. Test a command or event that exercises the deployed process. If startup fails, compare the runtime and entry path with the files in your deployment. For a public HTTP address, choose a dedicated HTTP profile from Hosting di siti or the Node.js or Python product.
Set up a Lavalink music server
Scegli Lavalink on an eligible paid plan. Start the managed service and wait for the ready message in Console. A separate music bot needs its own slot and resources. Configure the bot with the Lavalink endpoint reachable from its worker and the service password. Follow the placement and playback guide to verify a track in Discord.