- Docker Engine 1.10.0+
- Docker Compose 1.6.0+
- Valid SSL certificates from a CA for the domain Rancher will be available at.
- Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits. Generate
with
openssl dhparam -out dhparams.pem 2048.
-
Clone this repo or download the latest release.
-
Place SSL certificates and
dhparams.pemin folder/certson the host. Alternatively you may change the location of this folder in the docker-compose.yml file. -
Copy
rancher.sample.envtorancher.envand set appropriate values for your environment. -
Run
docker-compose up -d- Give all the services a few moments to start up properly. Once everything is
up and running Rancher should be available at
https://RANCHER_FQDN
-
If you cloned the repo, pull the latest master, otherwise download the latest release.
-
Run
docker-compose up -d- Give all the services a few moments to start up properly. Once everything is
up and running Rancher should be available at
https://RANCHER_FQDN
- Make sure the SSL certificates are valid, issued by a trusted CA and readable by nginx.
- Make sure the
dhparams.pemfile is readable. - Make sure that the ports
80and443are available on the host.