Deploying Runbot in Rancher


= Foreword =

In this article, we will deploy Runbot within a Rancher environment. If you are looking to deploy Runbot in Docker but without Rancher, check out this article.

Runbot is a module for Odoo that will build, test, and subsequently run other Odoo instances based on commits in a git repo. For more information on using Runbot, check out these docs.

Rancher is a complete container management platform that makes managing and using containers in production really easy.

We will use the LasLabs Rancher Catalog to facilitate this deploy, and receive updates for the stack when they are released.

= Requirements =

This assumes that you already have a working Traefik load balancer setup in your Rancher deploy. More information about setting up Traefik in Rancher can be found in the docs.

= Basic Setup =

* Follow the Rancher Guide to add the LasLabs Catalog to your Rancher deploy (``). You should use the `master` branch.
* Add a stack from catalog and search for “Runbot”
* Enter the information as prompted
* Hit Launch
* Wait for the `runbot-install` to stop

= SSH Volume =

An SSH volume (`runbot-ssh-data`) is created, which should be used to store SSH keys and configurations, as you would in a `.ssh` folder on your computer. If you plan on using SSH repos in your Runbot installation, you must add the proper data in this folder. More reading on what should be in the folder:


= Private Addons =

A `runbot-private-addons` is created for you to store any custom addons that your Runbot installation requires.

= Accessing =

Runbot will be accessible at the standard automated domain provided by the Traefik backend rancher integration (`service.stack.traefik_domain`). It will also be accessible at the host defined during the stack setup.

Runbot instances will be available directly on the Traefik subdomain that is defined during setup.

For example, if you:
* Name the stack: `runbot_stack`
* Define Traefik Domain: ``
* Define Traefik Host: ``

Runbot will be accessible on:

Runbot builds will be accessible at:






2 responses to “Deploying Runbot in Rancher”

  1. Luis Triana Avatar
    Luis Triana

    Do you have any dummy guide to noobies that we want to initialize in Rancher environment???

    1. Dave Lasley Avatar

      Sorry I’m not sure I understand the question. Are you asking for an easy way to deploy Rancher itself? If so, the Rancher QuickStart guide is really quite awesome –

Leave a Reply

Your email address will not be published. Required fields are marked *