Amri
December 7, 2018, 1:32pm
1
Hello,
I would like to deploy the community edition of Camunda for a small internal project. I am trying to use GitHub - camunda/camunda-bpm-platform: Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Spring, Spring Boot, CDI. .
When I run the image, it creates demo data. The issue I am having is with the static credentials. I assume this file is responsible
/*
* Copyright © 2012 - 2018 camunda services GmbH and various authors (info@camunda.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.camunda.bpm.example.invoice;
import static org.camunda.bpm.engine.authorization.Authorization.ANY;
import static org.camunda.bpm.engine.authorization.Authorization.AUTH_TYPE_GRANT;
import static org.camunda.bpm.engine.authorization.Permissions.ACCESS;
This file has been truncated. show original
Is there a way to change this behavior preferably while still using the same docker image?
Thanks
Hi @Amri ,
the data are created from the camunda-invoice.war.
Just delete it before you start the server, maybe in your own docker file.
Hope this helps, Ingo
Amri
December 10, 2018, 12:10pm
3
Thanks @Ingo_Richtsmeier
I could not find a camunda-invoice.war file but I removed the folder /camunda/webapps/camunda-invoice. My problem is resolved
faroni
February 5, 2020, 9:13am
4
Would it be better to not bundle camuda-invoice.war by default ?
If someone wants to automatically deploy camunda, it sounds odd to have a default password
Niall
February 5, 2020, 9:20am
5
We’re considering making it optional - thanks for the feedback!
faroni
February 5, 2020, 9:22am
6
So, the provider Dockerfile is not ready for production ?
We have to fork, customize the Dockerfile ?
remove camunda-invoice.war
add somehting to create a custom “admin” account with custom/random password
Niall
February 5, 2020, 9:32am
7
On docker hub we describe the image as
This Camunda BPM community project provides docker images of the latest Camunda BPM platform releases. The images can be used to demonstrate and test the Camunda BPM platform or can be extended with own process applications. It is planned to provide images on the official docker registry for every upcoming release, which includes alpha releases.
We don’t intend this to be used out of the box in a production system.