Camunda-bpm-platform Docker image SwaggerUI

This might be the wrong category but I could not find a SwaggerUI section.

I am currently trying to deploy the camunda-bpm-platform Docker image version 7.18 into a kubernetes environment. I have successfully been able to deploy the platform and load/execute a process instance which utilized external tasks.

The issue I am having is that the swaggerui page is not loading. For simplicity, lets use the following example:

Download Docker Image from DockerHub:

docker pull camunda/camunda-bpm-platform:7.18

Run the Docker Image:

docker run -d --name camunda -p 8080:8080 camunda/camunda-bpm-platform:latest ./camunda.sh --webapps --rest --swaggerui

The container starts and I am able to access http://localhost:8080/camunda

However, when I try to access http://localhost:8080/swaggerui I am met with a default 404 Apache Tomcat page saying the requested resource is unavailable.

Any help or pointers would be appreciated.

You are using Camunda Platform instead of Camunda Platform Run. Run package contains swaggerui.

bash-5.1$ ls -l
total 92368
-rw-rw-r-- 1 camunda camunda 94549722 Oct 4 07:22 camunda-bpm-run-core.jar
drwxr-xr-x 2 camunda camunda 4096 Oct 4 08:06 example
drwxr-xr-x 2 camunda camunda 4096 Oct 4 07:21 rest
-rwxr-xr-x 1 camunda camunda 4232 Oct 4 07:22 run.bat
-rwxr-xr-x 1 camunda camunda 4929 Oct 4 07:22 run.sh
drwxr-xr-x 2 camunda camunda 4096 Oct 4 08:06 swaggerui
drwxr-xr-x 2 camunda camunda 4096 Oct 4 07:23 webapps



Steps:

root@bpm:~# docker pull camunda/camunda-bpm-platform:run-latest
run-latest: Pulling from camunda/camunda-bpm-platform
9621f1afde84: Pull complete
77ea2492534d: Pull complete
cd1d84f706bf: Pull complete
f5378a286e0c: Pull complete
Digest: sha256:46f7025c4be0606cc4833e95167770dcd6d083ebd62225e5a1ad50526e9fed8b
Status: Downloaded newer image for camunda/camunda-bpm-platform:run-latest
docker.io/camunda/camunda-bpm-platform:run-latest
root@bpm:~# docker run -d --name camunda -p 8080:8080 camunda/camunda-bpm-platform:run-latest --webapps --rest --swaggerui

Reference:

1 Like

Thanks for the answer. That did it.