Add params to camunda in docker

Hi,

I have camunda (7.15) running in docker (image: camunda/camunda-bpm-platform) and I need to add a param “restrictUserOperationLogToAuthenticatedUsers=false” (History and Audit Event Log | docs.camunda.org). I found this post on the forum: Turning off user operation log authentication restriction fails to log unauthenticated user-operations - #2 by Ingo_Richtsmeier
How can I add this param to the camunda running in docker?

I highly appreciate any feedback from you.
Thanks!

Hi @mitmafiy
You can update configuration files inside the container using docker volumes.
I would suggest you take a look at the Camunda Platform Docker Images project on Github to get an understanding of how it’s built and specifically on the Change Configuration Files section in your case.

Regards,
Alex

1 Like

thank you for your quick response.
Yes, of course, I looked at the project on github.
I add the following into block:

<process-engine name="default">
<properties>
	<property name="restrictUserOperationLogToAuthenticatedUsers">false</property>

in bpm-platform.xml and mounted this file into a docker conteiner. But I’m not sure, I add it into right file/block.

I think you might need to have <process-application> around the properties.

<process-application
xmlns="http://www.camunda.org/schema/1.0/ProcessApplication"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...
</process-application>

in the file bpm-platform.xml, there is no such block. I found it into /camunda/webapps/camunda-invoice/WEB-INF/classes/META-INF/processes.xml. Do I need add the parameter into this file?

Yes, I personally never tried to update this property but I would try to set it “processes.xml”.
You can get more details on the processes.xml configuration file and syntax here -
The processes.xml Deployment Descriptor | docs.camunda.org and processes.xml | docs.camunda.org

Thanks for this case. I also have the same case.

The software must run correctly on the system that it’s going to be used on. Many programs are written for general purpose PCs. If the program being developed by https://mlsdev.com is for a different system, the software may run on that system or not. You may also need to check the documentation for the particular system software to make sure that it will work.