Dokploy

Example

Multi server allows you to deploy your apps remotely to different servers without needing to build and run them where the Dokploy UI is installed.

Requirements

  1. To install Dokploy UI, follow the installation guide.

  2. Create an SSH key by going to /dashboard/settings/ssh-keys and add a new key. Be sure to copy the public key.

    Architecture Diagram
  3. Decide which remote server to deploy your apps on. We recommend these reliable providers:

  1. When creating the server, it should ask for SSH keys. Ideally, use your computer's public key and the key you generated in the previous step. Here's how to add the public key in Hostinger:

    Adding SSH key
The steps are similar across other providers.
  1. Copy the server’s IP address and ensure you know the username (often root). Fill in all fields and click Create.

    Add server
  2. To test connectivity, open the server dropdown and click Enter Terminal. If everything is correct, you should be able to interact with the remote server.

  3. Click Setup Server to proceed. There are two tabs: SSH Keys and Deployments. This guide explains the easy way, but you can follow the manual process via the Dokploy UI if you prefer.

    Setup process
  4. Click Deployments, then Setup Server. If everything is correct, you should see output similar to this:

    Server setup output

You only need to run this setup once. If Dokploy updates later, check the release notes to see if rerunning this command is required.

  1. You're ready to deploy your apps! Let's test it out:

    Add app
  2. To check which server an app belongs to, you’ll see the server name at the top. If no server is selected, it defaults to Dokploy Server. Click Deploy to start building your app on the remote server. You can check the Logs tab to see the build process. For this example, we’ll use a test repo:
    Repo: https://github.com/Dokploy/examples.git
    Branch: main
    Build Path: /astro

    App setup
  3. Once the build is done, go to Domains and create a free domain. Just click Create and you’re good to go! 🎊

Finished setup

On this page