Based on Camunda Spring Boot starter app
This example packages Camunda BPM platform as Spring Boot Web application with following configured:
- Spring Boot 2.1 + Java 8
- Embedded Camunda engine
- Camunda web applications (cockpit, admin, tasklist)
- Sample process application and one BPMN process deployed
- Test user configured with login and password in
application.properties
- BPMN Process sample
- DMN Decision table sample
- Service task sample
- External service task sample
- Process unit testing
- Introduction and welcome page - launchpad
- Swagger UI + OpenSchema.json
Execute following:
mvn clean package
To run application at http://localhost:8080 execute:
mvn clean package spring-boot:run
Execute following to start via Docker
docker build . -t camundacloud/camunda-demo
docker run -d -p 8080:8080 camundacloud/camunda-demo
By default, when running in Docker password are generated for user demo when you run it first time. It is shown on the first line printed by container when it starts:
========= YOUR CAMUNDA PASSWORD IS 123 =========
Specify fixed password by providing CAMUNDA_PWD environment variable using docker or Google Cloud Run.
gcloud beta run deploy --image gcr.io/camundacloud/camunda-demo --memory=1G
Create your GCR in Google Cloud and use your own Docker image.
docker build . -t camundacloud/camunda-demo
docker tag camundacloud/camunda-demo gcr.io/camundacloud/camunda-demo
docker push gcr.io/camundacloud/camunda-demo