Skip to the content.

Drone Runner

For the runner, follow the same steps as fot the server, but make sure you follow the instructions for the runners.

The instructions state that

Preparing dokku and the image

Set the env variables

Set all the env variables mentioned in the [documentation])(https://docs.drone.io/runner/docker/installation/linux/).

Mount a persistend host directory

Change port mapping

Deploy the image

Run dokku git:from-image drone-runner drone/drone-runner-docker:1.5.2

Update

To update to a specific version (e.g. 1.8.0 or latest) lookup the tags on https://hub.docker.com/r/drone/drone-runner-docker/tags and run on your dokku server:

docker pull drone/drone-runner-docker:1.8.0
dokku git:from-image drone-runner drone/drone-runner-docker:1.8.0

The application will be rebuilt automatically.