SSL

The autoscaler supports ssl configuration by mounting certificates into the server container. Note that if your server is public you should also consider using Lets Encrypt.

SSL with Lets Encrypt /installation/security/ssl-lets-encrypt

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