Public | Automated Build

Last pushed: 2 years ago
Short Description
Local auth backend for Kontena (automated build of jnummelin/kontena-auth)
Full Description


This project provides local self-contained authentication backend for Kontena.

The main purpose is to allow organizations to setup fully private Kontena masters that do not need any access to external services.


The APi is implemented using Roda REST API framework. As a persistent storage all user information is stored in local sqlite DB.

The passwords are hashed using BCrypt algorithm which is pretty secure by nature and has salts etc. built in.

Running the auth api

Naturally this should be run with Docker.

docker run -d -p 3000:3000 jnummelin/kontena-auth

Running in prod


  • Describe volume setup for the DB file
  • Describe easy SSL setup for HAProxy etc.


Tests are implemented using rspec and ca be run by issuing:

rsec spec/

Testing with Kontena master

For local testing with Kontena master there's ready made docker-compose.yml that sets up Kontena master and Mongo for it. It also sets the master to use this local auth container as its auth backend.

Integrating with Kontena master

To setup your own Kontena master to use this auth API as backend use following env variable for the master:

Docker Pull Command
Source Repository