Git Product home page Git Product logo

oxidized-keycloak's Introduction

oxidized-keycloak

Oxidized with Keycloak authentication - pre-provisioned compose stack

TL; DR

Fire up docker-compose up -d, wait a few minutes then log in to http://oxidized.my.domain (add it to your hosts file!) with admin/password:

oxidized-screenshot.png

To add more accounts log in to http://keycloak.my.domain (add it to your hosts file!) with admin/password:

oxidized-screenshot.png

Details

Oxidized is a great tool for switch configuration backup, but the web frontend lacks authentication. Keycloak is used as authentication backend and the gatekeeper is used to authenticate the access to Oxidized

The compose file contains all the service structure, mostly parametric. The .env file contains all of the settings, including the reverse proxy hostnames and Keycloak client urls and security keys.

Infrastructure details

oxidized-keycloak-infra.png

Oxidized - custom image

The official image has no router.db file: when launched, it loops until created. The provided image szabberoni/oxidized has a working config and a sample router.db, see the oxidized directory.

Keycloak - custom image

The official image has a master realm and is emtpy, ready to be configured. The provided image szabberoni/keycloak has a json realm file which is imported at boot and includes a custom Realm with a custom Client with a single admin account.

To customize the image before running the stack:

  • modify the OxidizedRealm.json to suit your needs
  • build the image with ./build.sh latest or by hand
  • modify the .env file accordingly (mind the discovery url, secret etc)
  • run the stack with docker-compose up -d

Important: the realm file is imported only once, you can modify the realm afterwards only via the web interface

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.