How to configure persistence in Flowable All in One image

Hi! I found that the quickest and straigthfoward way to use Flowable Modeler is run it’s docker image. However, as h2 is configured in memory by default, it’s tricky to upload all my several DMN tables to work with my process every time the application starts. How can I configure persistence in docker Flowable All in One image?


You just need to mount a volume and then configure the Spring Datasource URL, for example:

# docker pull flowable/all-in-one:6.5.0
docker run -d --name flowable \
  -p 8080:8080 \
  -v ~/serendipity-db:/serendipity-db \
  -e "spring.datasource.url=jdbc:h2:/serendipity-db/db;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9091;DB_CLOSE_DELAY=-1" \
1 Like


Take a look here;

This config makes use of a postgresql db with persisted storage.
You can start it using this script;



1 Like