Hi.
That could be done by setting the property;
flowable.content.storage.root-folder
and mapping it.
docker run -p 8080:8080 -d
-v /tmp/flowable-data:/data
-e FLOWABLE_CONTENT_STORAGE_ROOT-FOLDER=/data
-e FLOWABLE_COMMON_APP_IDM-URL=http://192.168.1.9/flowable-idm
-e SPRING_DATASOURCE_DRIVER-CLASS-NAME=org.postgresql.Driver
-e SPRING_DATASOURCE_URL=jdbc:postgresql://192.168.1.9:5432/flowable
-e SPRING_DATASOURCE_USERNAME=dbuser
-e SPRING_DATASOURCE_PASSWORD=dbpasswd
flowable/all-in-one
By the way. You’re using the all-in-one image. Which is of course fine.
But if you want to deploy in a more true ‘microservice’ way you can use the separete images. This way each container has 1 responsibility.
Here are some example configurations: flowable-engine/docker at main · flowable/flowable-engine · GitHub.
Hope this helps.
Regards,
Yvo