Browse documentation

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 Yeni 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 ve Python guides.

  • Java Upload a runnable JAR that includes its dependencies and set JAR_FILE to its path. The runtime uses Java 21. For the Discord JDA example, use the JDA build steps.
  • Bun Set MAIN_FILE to your JavaScript or TypeScript entry. Include package.json and your Bun lockfile where the app uses dependencies.
  • Go Upload your source with go.mod at the project root for a module build, or use MAIN_FILE to select a standalone Go file or an executable Linux binary built for your worker.
  • Rust Set MAIN_FILE şuraya Cargo.toml for a source build from the portal. When the package builds multiple binaries, set RUST_BINARY to select one. For a prebuilt Linux executable matching your worker, set MAIN_FILE to 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 Web sitesi hosting'i or the Node.js or Python product.

Choose 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.