Installation from binary

Binary distribution is available for 64 bit Linux and MacOS.

NOTE LeanLabs Kanban requires Redis server.

Running the binary

  1. Download

    Download the latest binary release.

  2. Install Redis

    Official Redis server documentation.

    Or you could do it like this for Ubuntu:

    apt-get install redis-server
    service redis-server start

    NOTE For now LeanLabs Kanban can access Redis only via port, e.g. "".

  3. Setup application for OAuth in GitLab.

    Go to your GitLab profile section "Application" and press button "New Application"

    applications page

    After this you will see the "New application" form, where "Name" is an arbitrary name, e.g. "kanban", and "Redirect URI" is an URL in kanban where users will be sent after authorization in GitLab.

    new application

    IMPORTANT The "Redirect URI" is composed of 2 parts: the hostname of your kanban installation, and the fixed path part, referring to the actual route to redirect to.

    The path part is always the same - "/assets/html/user/views/oauth.html", the hostname part strongly depends on kanban "--server-hostname" option, the hostname of the redirect URI and option must be the same, including protocol and port information.

    IMPORTANT Redirect URL must include the port if it is not 80 or 443.

    Here are some examples of composing redirect uri:

    --server-hostname="", then the "Redirect URI" must be ""

    --server-hostname="", then "Redirect URI" must be ""

    For now we do not support setting up kanban in a GitLab "subdirectory", e.g. you can not setup kanban to be accessed via "", this is planned in future releases.

  4. Start LeanLabs Kanban application

    Now you could start kanban, do not forget to provide GitLab OAuth client ID and client secret to kanban.

    kanban server
        --gitlab-client="Application ID"
        --gitlab-secret="Application secret"

    That is it. Now you should be able to access the board on "" and login via GitLab OAuth.

Available configuration options

NOTE The variables that are not explicitly set will take the default values.

NOTE You could configure LeanLabs Kanban via command line options, or via environment variables.

Here are the list of available command line option and mirroring env variables:

  • --server-listen (env KANBAN_SERVER_LISTEN) - default to "". The IP:PORT (e.g. which kanban will listen for incoming requests.

  • --server-hostname (env KANBAN_SERVER_HOSTNAME) - default to "http://localhost". The URL on which LeanLabs Kanban will be reachable (e.g. The hostname must be composed of the protocol part ("http://" or "https://"), the domain or ip (e.g. or and the port, if it is not 80 or 443 (e.g. ":9000"). For example, if the board will be reachable on domain "" and port 9000 the resulting value must be "".

  • --security-secret (env KANBAN_SECURITY_SECRET) - default to "qwerty". This string is used to generate user auth tokens. Kanban uses JSON web tokens to identify users, this string is used to encrypt those tokens. You must change it to something more random than "qwerty" if your installation could be exposed to the whole internet.

  • --gitlab-url (env KANBAN_GITLAB_URL) - default to "". Your GitLab host URL, if you use self hosted GitLab installation the value must also include the protocol, domain or IP and the port if it is not 80 or 443.

    WARNING The kanban board should be able to resolve the GitLab installation domain. If your GitLab installation domain could not be resolved, then you must explicitly define the GitLab server IP, e.g. via hosts file or dnsmasq.

  • --gitlab-client (env KANBAN_GITLAB_CLIENT) - default to "qwerty". Your GitLab OAuth client id

  • --gitlab-secret (env KANBAN_GITLAB_SECRET) - default to "qwerty". Your GitLab OAuth client secret key

  • --redis-addr (env KANBAN_REDIS_ADDR) - default to "". The Redis server address - IP:PORT. You may also use a unix socket, if you set address as "unix:///path/to/sock.sock". LeanLabs Kanban requires the Redis server to function properly, it stores users identities there.

  • --redis-password (env KANBAN_REDIS_PASSWORD) - default to "" (empty string). The Redis server password if any.

  • --redis-db (env KANBAN_REDIS_DB) - default to "0". The Redis server database numeric index, from 0 to 16, also rarely required to be changed if ever.

  • --enable-signup (env KANBAN_ENABLE_SIGNUP) - default to "true". Allow user register or login only oauth.

  • --auto-comments (env KANBAN_AUTO_COMMENTS) - dafault to "true". Comment add if stage changed.

You can list available options with "--help" subcommand:

kanban server --help

Setting up behind proxy.

LeanLabs Kanban board processes HTTP requests directly, but sometimes you may want to set it up behind a proxy, e.g. if you want HTTPS you definitely should use proxy, because for now kanban is not able to handle HTTPS traffic directly.

Proxy configuration, including supported configuration files, is described in our docs.