To install this component, you will need a working instance of the Rancher Management Server. Instructions to set this up can be found in the Rancher documentation.
For a quick set up, you can run the Rancher Management Server inside a docker container with the following command:
docker run -d --restart=always -p 8080:8080 rancher/server
It is always useful to rename a running Docker container.
docker rename <container-id> rancher
To see the output logs for the running Rancher Management Server container:
docker logs -f rancher
To build the component files, clone the ProfitBricks Rancher UI repository on GitHub and run the following commands:
$ npm install $ bower install $ npm run build
You will then need to copy the contents of the
dist/ directory to your webserver. There should be three files in total as follows:
Note: If your Rancher is configured to use HA or SSL, the server must also be available via HTTPS.
Machine Drivers (Admin -> Machine Drivers)
Add Machine Driverbutton and a modal drop down will appear.
Custom UI URLfield. This should look something like
Note: When creating a host, ensure that the version of Docker being installed is the latest version. To do this, you will need to expand the Advanced Options tab at the bottom of the page and select Latest for the Docker install URL. The URL pointing to the
https://releases.rancher.com/install-docker/1.10.sh script, which is specified by default, will not work with the image used to provision the host.
(Infrastructure -> Hosts)
Add Hostbutton and a new screen will appear that shows a list of hosting providers along the top.
If you need any help please visit ProfitBricks DevOps Central.
Please submit any bugs, issues, or feature requests to profitbricks/ui-driver-profitbricks.