Host Drone CI on VeloxaHost
Drone is a continuous integration system: it reads a .drone.yml pipeline from your repository and runs each step in its own Docker container whenever you push or open a pull request. Teams that host their code on GitHub, Gitea, GitLab or Bitbucket self-host it to run builds and tests on their own server.
The one-click install puts Docker Engine from Docker's APT repository on Ubuntu 24.04, pulls the drone/drone:2 server image and the drone/drone-runner-docker:1 runner image, and creates a Docker network called drone. It starts two containers on that network: drone, the server, with its data in /var/lib/drone, port 8080 published to its port 80 and sign-up closed (DRONE_REGISTRATION_CLOSED=true), and drone-runner, which reaches the server by name, runs up to two pipelines at a time and starts their steps through the server's Docker socket. Both share a generated RPC secret.
Connect a Git provider first
Drone signs users in through their Git provider, and the server does not start until it has one. As installed, the drone container has no provider settings, so it exits and Docker keeps restarting it. Finish the setup from the browser terminal on the server's page:
- Every server gets a block of ports (10 by default) on the region's shared IPv4 address. The first forwards to SSH; under How to connect, forward another to 8080. Drone's address is then
http://<shared address>:<port>. - Create an OAuth application at your provider with that address as the homepage and
http://<shared address>:<port>/loginas the callback URL. On Gitea, tick the confidential client option. Note the client ID and secret. - Find the RPC secret: VeloxaHost replaces the install script's placeholder with a random value at deploy time and shows it as the password on the server's page.
- Recreate the server container with your provider's settings. For GitHub:
For Gitea, usedocker rm -f drone docker run -d --name=drone --network=drone --restart=always \ -v /var/lib/drone:/data -p 8080:80 \ -e DRONE_GITHUB_CLIENT_ID=<client id> \ -e DRONE_GITHUB_CLIENT_SECRET=<client secret> \ -e DRONE_RPC_SECRET=<rpc secret> \ -e DRONE_SERVER_HOST=<shared address>:<port> \ -e DRONE_SERVER_PROTO=http \ -e DRONE_REGISTRATION_CLOSED=true \ -e DRONE_USER_CREATE=username:<your username>,admin:true \ drone/drone:2DRONE_GITEA_SERVER(withhttps://),DRONE_GITEA_CLIENT_IDandDRONE_GITEA_CLIENT_SECRETinstead; GitLab and Bitbucket have their own variables in Drone's provider docs. - Check the runner:
docker logs drone-runnershould show "successfully pinged the remote server". Then open Drone's address, sign in with your Git account and activate a repository.
Who can sign in
Drone's docs say registration "is open by default. This means any user can register an account and use the system", which would let anyone with an account at your Git provider run pipelines on your server. The install closes it with DRONE_REGISTRATION_CLOSED=true: as Drone's docs put it, "a system administrator must create user accounts before the user can login". Keep that setting when you recreate the container. DRONE_USER_CREATE creates your own account as the admin, and you add other people from there. If you would rather let a whole organisation in, Drone's DRONE_USER_FILTER limits registration to the accounts and organisations you list.
The runner controls the server's Docker through its socket, so pipelines from any repository you activate run on this server. Activate only repositories whose contributors you trust.
What it needs
Drone's docs set no hardware figures. The server itself is light; the builds are not, since each step is a container with its own image, and the runner allows two pipelines at once. The catalogue's minimum is 1 vCPU and 1 GB. The recommended 2 vCPU and 4 GB, with disk for images and build caches, is the Veloxa 2 size: 2 vCPU, 4 GB RAM and 80 GB of disk for $15 a month, billed at $0.03 an hour and capped at the monthly price. Heavy builds can raise CPU and memory from the console: on a container the change applies without a restart.
HTTPS and webhooks
Your Git provider sends a webhook to Drone's address on every push, so the address must stay reachable. For a domain with HTTPS on port 443, use a dedicated IPv4 address (a paid add-on with limited availability) with Caddy or Nginx in front of port 8080, then recreate the container with DRONE_SERVER_HOST set to the domain and DRONE_SERVER_PROTO=https, and update the OAuth callback URL to match. IPv6 is not available in US East yet.
Backups and updates
Drone keeps users, repositories, secrets and build history in an embedded SQLite database by default, in its data folder /var/lib/drone on the server. Turn on automatic snapshots on the server page (hourly up to weekly, kept for 1 to 30 days) or scheduled backups (every 6 hours up to weekly, keeping 1 to 10); both capture the folder with the rest of the disk.
To update, take a snapshot, docker pull drone/drone:2 and docker pull drone/drone-runner-docker:1, then recreate each container with the same settings. The 2 tag was at 2.28.2 on Docker Hub at this page's check.
FAQ
Why is the Drone page not loading after the install?
The server does not start until it has a Git provider. Follow the steps above to recreate the drone container with your provider's OAuth settings.
Which Git providers work?
GitHub, GitHub Enterprise, Gitea, Gogs, Gitee, GitLab, Bitbucket Cloud and Bitbucket Server, each with its own OAuth settings. A Gitea server is also one click away on VeloxaHost.
Is Drone free to use?
The official drone/drone image is Drone's Enterprise Edition. Drone's FAQ says it is free for individuals, students and organisations under $1 million in annual gross revenue, and it includes a free trial of up to 5,000 builds; its license text also has small-business and low-usage waivers. Drone's Apache License 2.0 edition has no official image and has to be built from source.
Is Drone still maintained?
Harness, which develops Drone, describes its newer Harness platform as the next generation of Drone and keeps Drone on a separate branch. The drone/drone:2 image was last updated in April 2026, at version 2.28.2.
Which VeloxaHost size fits Drone?
The recommended 2 vCPU and 4 GB of RAM is a Veloxa 2: 2 vCPU, 4 GB RAM and 80 GB of disk for $15 a month, billed at $0.03 an hour and capped at that price.