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/ \
-v /etc/certs/

Configure the path to your certificate and key:

$ docker run \
-e DRONE_TLS_CERT=/etc/certs/ \
-e DRONE_TLS_KEY=/etc/certs/

Expose the standard http and https ports:

$ docker run \
-p 80:80 \
-p 443:443