参考github地址:https://github.com/jboss-dockerfiles/keycloak
首先使用git 下载该项目
使用docker-compose运行项目,需要进入至docker-compose-examples文件夹
docker-compose -f keycloak-postgres.yml up
在本地打开http://localhost:8080/
通过docker命令查看mysql的文件地址
关于keycloak集成至react项目中的使用,请参考《keycloak学习》