docker pull flowable/flowable-ui
docker run -d --name flowable -p 8081:8080 flowable/flowable-ui
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#localhost设置会启动失败
#spring.datasource.url=jdbc:mysql://localhost:3306/flowable?characterEncoding=UTF-8
#必须是本机的ip才可以启动成功
spring.datasource.url=jdbc:mysql://172.27.16.1:3306/flowable?characterEncoding=UTF-8
mysql 8.0.33
)
注意:网速可能会比较慢,成功后页面docker桌面会出现flowable-ui
注意:注释掉原本的url配置
# spring.datasource.url=jdbc:h2:~/flowable-db/engine-db;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9093;DB_CLOSE_DELAY=-1
然后加入自己的数据库配置
https://mvnrepository.com/artifact/com.mysql/mysql-connector-j
注意:拖拽拷贝即可
日志没有报错就可以登陆页面啦
http://localhost:8081/flowable-ui/idm/#/login
用户名:admin
密码:test