Docker: Camunda 7: How to get access to Files like configurations?

Hello,

I have installed Camunda (as well as test Camunda Run) over Docker.
The whole thing is up and running. However, I can’t find a way to do the following:

  1. remove the sample projects
  2. customize the configuration files

Problem: I have no way to access the files.
I have already tried to mount a path in Docker, however it does not contain my files that I want to modify as I would have expected.

How should I proceed to get access to them?

Hi @lul,

to start Camunda Run without examples and without swagger, you use this command:

docker run -p 8080:8080 --name camunda-run-7.17.0 camunda/camunda-bpm-platform:run-7.17.0 ./camunda.sh --webapps --rest

See more about command line parameters here: Camunda Platform Run | docs.camunda.org

One way to use your own configuration (and database driver, …) is to copy the files into the image and create a new container from your own image with a Dockerfile like this:

# syntax=docker/dockerfile:1
ARG CAMUNDA_VERSION
FROM registry.camunda.cloud/cambpm-ee/camunda-bpm-platform-ee:run-$CAMUNDA_VERSION
WORKDIR /camunda
COPY target/configuration/resources/* configuration/resources/
COPY target/configuration/default.yml configuration/default.yml
COPY target/configuration/userlib configuration/userlib/

This examples uses an enterprise image from our private registry.

Hope this helps, Ingo