Skip to the content.

Drone

To get started with Drone, read the documentation, where you can find the following snippet:

It states the following:

Preparing dokku and the image

Set the env variables

Set all the env variables mentioned in the [documentation])(https://docs.drone.io/server/provider/bitbucket-cloud/).

Careful! Make sure you disable the HTTPS redirect option. Dokku terminates the SSL connection with Nginx and internally proxies requests to the container by HTTP. This makes Drone believe an HTTP request arrived and it issues a redirect to HTTPS, resulting in an infinite loop.

Mount a persistend host directory

Change port mapping

Deploy the image

Run dokku git:from-image drone-server drone/drone:1.9.1

Update

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

docker pull drone/drone:2.5.0
dokku git:from-image drone-server drone/drone:2.5.0

The application will be rebuilt automatically.