Drone supports ssl configuration by mounting certificates into the server container. Note that automated Lets Encrypt is also supported.
Mount your certificate and key into the server container:
$ docker run \ -v /etc/certs/drone.company.com/server.crt:/etc/certs/drone.company.com/server.crt \ -v /etc/certs/drone.company.com/server.key:/etc/certs/drone.company.com/server.key
Configure the path to your certificate and key:
$ docker run \ -e DRONE_TLS_CERT=/etc/certs/drone.company.com/server.crt \ -e DRONE_TLS_KEY=/etc/certs/drone.company.com/server.key
Expose the standard http and https ports:
$ docker run \ -p 80:80 \ -p 443:443