Running camunda docker image on RHEL OpenShift platform


#1

Hello,

I want to run the camunda docker image on RHEL OpenShift platform however, it requests that I configure the database.

[user]# oc logs pod/camunda-bpm-platform-1-9rjbk

Configure database
failed to load external entity “/camunda/conf/server.xml”


#2

Well, you’re going to need to have to do one of three things:

  • Live with just the in-memory H2 database and risk losing data if the container crashes

  • Connect to a standard, external database instance

  • Configure docker to provide a persistent storage volume somewhere and then either add a database like MySQL to the container, or configure the H2 database to use local persistence.

I have never done any of the above as I don’t run Camunda in docker. But folks I work with are running it in Kubernetes using SpringBoot, etc., etc., etc. and these are the options we arrived at for them. They chose to connect to a standalone external database.


#3

Hi, I’ve not done this but actually I’m planning to do something similar on kubernetes, I would add:

  • a 4th option to the ones mentioned which consists in deploying a database in the kubernetes cluster and to configure the engine to use this DB

I’ve not tried it yet but will do (hopefully soon) and will keep you informed, I’m obviously also interested in any similar experiences

See my question here : Building resilient cloud native app with Camunda and K8S