Docker-compose vs Dockerfile

Hi, I have 2 issues:

  1. I am starting a new container with the latest version of camunda:

Docker-Compose

camunda:
    image: camunda/camunda-bpm-platform
    container_name: ${PROJECT_NAME}_camunda

In this way when I check the camunda container logs I see that there is also demo data executed and when I open camunda I see some Invoice processes.

Also my endpoint is: localhost:PORT/camunda → redirect to camunda login page

When I start the container over a seprate docker file:

Dockerfile:

FROM camunda/camunda-bpm-platform

Docker-Compose

camunda:
    build: ./docker/camunda
    container_name: ${PROJECT_NAME}_camunda

Then something else is tarted and there is also no demo data available.
Also the endpoint : localhost:PORT/camunda is not working anymore and I need to type: localhost:PORT only or localhost:PORT/camunda/

For me this is totally strange. I would like to have the extra Dockerfile but start the version with the demo. How to do this?

Second questions:
When I run the version with the extra Dockerfile I have this error, when I want to close an external task:

How can I fix it?

Thanks!

Hello @nnikolay ,

could you please provide the rest of the Dockerfile as well?

At first glance, it looks like you modify the entrypoint to the container.

Wild guess: You create a spring-boot app using ZIP format for the jar creation, place this in the docker image and let it be executed?

Jonathan