The infrastructure chart

This chart deploys the following containers:

  • Keycloak
  • MongoDB
  • Postgres
  • Rabbitmq

Configuration

Keycloak

Docker image: dbos-registry.decisionbrain.cloud/decisionbrain/keycloak:14.0.0

The Keycloak server loads at first startup a realm.json file that contains the configuration (domain, OAuth2 client, etc.). To use your own configuration, put your custom-realm.json file into the dbos-infra chart folder and configure the chart to use this file in the common values.yaml file with :

keycloak:
  realmFileName: 'custom-realm.json'

The chart applies the Helm templating function on the content of the file, thus it can contain Helm syntax.

MongoDB

Docker image: registry.hub.docker.com/library/mongo:4.2.1

The databases to create must be declared in the values.yaml file:

mongo:
  databases:
    - dbos

The names (dbos) must map the databases definitions created by the dbos-secrets chart

PostGres

Docker image: registry.hub.docker.com/centos/postgresql-10-centos7:20200324-f4310a3

The databases to create must be declared in the values.yaml file:

postgres:
  databases:
    - keycloak

The names (keycloak) must map the databases definitions created by the dbos-secrets chart

RabbitMQ

Docker image: registry.hub.docker.com/library/rabbitmq:3.8.12-management RabbitMQ has the following plugins enabled:

Deployment

First installation

Use the command:

helm install dbos-infra ./dbos-infra -f values.yaml

Or

helm install dbos-infra decisionbrain/dbos-infra --version 3.4.1 -f values.yaml

If you added the DecisionBrain Helm registry

Update

Use the command:

helm upgrade dbos-infra ./dbos-infra -f values.yaml

Or

helm upgrade dbos-infra decisionbrain/dbos-infra --version 3.4.1 -f values.yaml

If you added the DecisionBrain Helm registry