Installation

How to install, configure and update.

Recommended

The easiest way: a partner hosting provider

Answer three questions and pick one of our partner hosting providers. They install Deplo for you: no terminal, no code, you get a link and create your account. Deplo earns a commission from the partner, and your price stays the same.

Start the onboarding

Install it yourself

One shell script, run as root on a fresh Linux server.

curl -fsSL https://deplo.build/install.sh | bash

The dashboard comes up on a generated HTTPS address such as https://deplo-cb00710a.deplo.site (for IP 203.0.113.10). The installer prints the real one.

An IPv6-only server needs nothing extra. On a server with both, IPv4 is the default and bash -s -- --ipv6 picks IPv6. See IPv6.

Already have Deplo running?

Don't run this script on a second machine. To add a server for your apps, a build server or a backup host, paste the command from Settings -> Servers on it instead. See Add a server and Server roles.

What you need

WhatRequirement
A clean serverUbuntu 24.04 LTS or newer, Debian 12 or 13, or one of the other supported distributions, x86-64 or arm64, with systemd for the agent.
Size2 cores, 4 GB of RAM, 30 GB of disk minimum, 4 cores and 8 GB comfortable. Deplo itself fits in about 1 GB; the rest is for your apps. The installer warns below the minimum and refuses below 8 GB free on /.
Ports80 and 443 reachable from the internet, nothing else. Behind a home or office router, serve the panel through a Cloudflare Tunnel.
Outbound HTTPSghcr.io (the image), github.com (the server agent), get.docker.com (when Docker is missing) and Let's Encrypt. The preflight checks all but GitHub.
A domainOptional: the generated deplo.site address works from the first deploy.

To check a machine without changing anything, run only the preflight:

curl -fsSL https://deplo.build/install.sh | bash -s -- --check

Create your first account

The installer ends with a setup link under Next:

 Next
   1  Open https://deplo-cb00710a.deplo.site/setup?key=4f9c2a7e1b8d3f60a5e2c9d4b7f1e083 and create your account.
   2  Connect a repository from Settings > Git.
   3  Deploy your first app.

That first account gets the Owner role.

Installed by your hosting provider?

Sign in with the email and temporary password from their welcome email. Deplo then asks for a password of your own. Hosting providers, see Offer Deplo to your customers.

What the installer does

Change on the hostWhy
Installs Docker if absentFrom get.docker.com, then enables the service
Sets default-address-pools in /etc/docker/daemon.jsonDocker's defaults allow about 31 networks and Deplo uses one per Environment. An existing pool config is left alone; the old file is kept as daemon.json.deplo-bak and the new one checked with dockerd --validate first
Creates the deplo Docker networkFor Traefik and the control plane only. Apps get their own Environment network
Enrolls this machine as a serverWaits for /api/health, then runs the agent installer against the panel on 127.0.0.1

Then four containers come up:

ImagePurposeExposed ports
postgres:16-alpineThe control plane's databaseNone
ghcr.io/deplocloud/deplo:latestThe control plane3000 and 3101, on 127.0.0.1 only
traefik:v3.7.17Routes your apps' domains80, 443
tecnativa/docker-socket-proxy:v0.5.0Lets Traefik read container labels, read-onlyNone

Neither Traefik nor the control plane gets the Docker socket: see How Deplo works.

How to update

Settings -> Deplo -> Updates installs a new version with one button, and the panel tells you when one is out. Running the install script again also updates in place. See Update for the server agents and version pinning.

Run it with Compose instead

docker-compose.yml in the repository runs the control plane and its Postgres, routed by labels through a Traefik you already run on the external deplo network.

docker network create deplo
export DEPLO_DOMAIN=deplo.example.com   # required: the only address it serves
export DEPLO_SECRET=$(openssl rand -base64 48)
export DEPLO_DB_PASSWORD=$(openssl rand -base64 24)
export DEPLO_SETUP_KEY=$(openssl rand -hex 16)   # then open /setup?key=<key>
docker compose up -d

Then enroll the host yourself from Settings -> Servers, like any other machine. Good to know:

  • One port is published, 3101 on 127.0.0.1, for this machine's own server agent. DEPLO_LINK_PORT changes it.
  • DEPLO_SETUP_KEY is optional. Unset, Deplo derives one from DEPLO_SECRET and prints the link at boot: docker compose logs deplo | grep setup.
  • DEPLO_SECRET cannot be rotated. It derives every encryption key, session signature and agent certificate: change it and stored secrets become unreadable. Back it up (the installer keeps it in /opt/deplo/.env).
  • The domain must resolve first. Let's Encrypt validates over HTTP on port 80.

Troubleshooting

SymptomWhat to check
docker compose not foundCompose v2 is required. Install Docker's own packages, not a distribution's docker.io.
The dashboard does not answerOn the server, curl http://127.0.0.1:3000/api/health. If it answers, look at the proxy: docker logs deplo-traefik. If not, docker logs deplo-deplo-1; a failure to reach Postgres is the usual cause.
The domain shows a certificate warningThe A record does not point at this server yet, or port 80 is closed.
Agent enrollment failedNot fatal: the dashboard still comes up and says so. Run the installer again to retry.

More in Servers and agents and Domains and TLS.

Next steps

Did this page help you?

On this page