2 minutes Docker deployment SprinBoot integrated Flowable enterprise workflow engine

Article Directory

1. Introduction

Enterprise-level process center (based on flowable and bpmn.js packaged process engine, using Springboot, Mybatis-plus, Ehcache, Shiro and other framework technologies, front-end using Vue3&Antd, Vben)

Code Cloud Open Source: https://gitee.com/lwj/flow
GitHub open source address: https://github.com/ecnice/flow
Insert picture description here


Insert picture description here
Insert picture description here


Attachment: Operation manual
(enterprise level) SprinBoot2.X integrated Flowable6.6 workflow engine

Two, docker process engine deployment
2.1. jdk installation and configuration

CentOS 7 install jdk

2.2. Download the packaged tar package

QQ scan code to join the group (group number: 633168411)
to see the group announcement

2.3. Upload the tar package

Local path

Insert picture description here


Server path:

Insert picture description here
2.4. Install Docker online
yum install docker
2.5. Verify that the installation is successful
docker --version
Insert picture description here
Three, tar to docker image
3.1. View the current image
docker images
Insert picture description here


Note: I have pulled the Redis/Mysql/Jdk mirror before

3.2. Load the backup flow-mysql.tar image file
# 进入flow-docker目录
cd cd /app/flow-docker/

# 加载mysql镜像文件
docker load -i flow-mysql.tar
Insert picture description here
3.3. Load the backup flow-admin.tar image file
docker load -i flow-admin.tar
Insert picture description here
3.4. Load the backup flow-portal.tar image file
docker load -i flow-portal.tar
Insert picture description here
3.5. View the mirror list
docker images
Insert picture description here
Fourth, start mysql mirroring and database configuration
4.1. Create flow-mysql container
docker run --name=flowmysql -e MYSQL_ROOT_PASSWORD=123456 -d -p 3306:3306 flow-mysql:latest
Insert picture description here


Note: The mysql container has been configured

4.2. Create a database

Create a name called flow-6.6database

Insert picture description here
4.3. Initialize the table structure
Insert picture description here


Insert picture description here


Insert picture description here
Five, process engine background
5.1. Create flow-admin container
docker run -p 8988:8988 --name flow-admin --link flowmysql:flowmysql -d flow-admin:1.0
Insert picture description here
5.2. View the startup log
docker logs -f flow-admin
Insert picture description here


See, ### PROCESS DAEMON STARTED SUCCESSFULLY##### indicates successful startup

5.3. Browser access

http://192.168.60.128:8988

Insert picture description here


Insert picture description here
Insert picture description here
Six, process engine front-end portal
6.1. Create flow-portal container
docker run -p 8990:8990 --name flow-portal --link flowmysql:flowmysql --link flow-admin:flow-admin -d flow-portal:1.0
Insert picture description here
6.2. View the startup log
docker logs -f flow-portal
Insert picture description here


Insert picture description here

See, ### PROCESS FRONT PORTAL PROGRAM STARTED SUCCESSFULLY##### indicates successful startup

6.3. Browser access

http://192.168.60.128:8990

Insert picture description here


Insert picture description here
Want to read more about the flowable column of process engine knowledge
Want to read more about docker container knowledge
docker column