通过docker运行门户casdoor

firewall-cmd --zone=public --add-port=7001/tcp --permanent
firewall-cmd --reload

docker run -p 9000:8000 casbin/casdoor-all-in-one

docker pull casbin/casdoor

docker run --name my-casdoor2 -p 7001:8000 -v /opt/conf/app.conf:/conf/app.conf casbin/casdoor:latest
或者
docker run --name my-casdoor2 -p 7001:8000 -v /home/docker/conf:/conf casbin/casdoor:latest

docker run --name my-casdoor
-e driverName=mysql
-e dataSourceName='root:123456@tcp(170.0.19.14:3306)/'
-p 7001:8000
casbin/casdoor:latest

posted @ 2024-02-24 16:17  windlog  阅读(91)  评论(0编辑  收藏  举报