1.前置条件
docker已经安装
mysql已经安装且数据库zyplayer-doc存在
服务器ip:192.168.168.99/
数据库账户:root,密码:123456
2.拉取镜像
docker pull zyplayer/zyplayer-doc:latest
3.启动
docker run -d \--restart unless-stopped \--name zyplayer-doc \-p 8083:8083 \-e DATASOURCE_HOST_PORT=192.168.168.99:3306 \-e DATASOURCE_USER=root \-e DATASOURCE_PASSWORD=123456 \zyplayer/zyplayer-doc:latest
4.登陆
http://192.168.168.99/
默认账号:zyplayer 密码:123456