官网地址:PlayEdu企业培训系统_内部培训系统_在线培训系统
安装步骤
前提
参照官网文档
本次按照利用已有MySQL数据库实例,不部署MySQL容器
安装Docker
该步骤自行查找资料安装
安装Redis
sudo docker run -d --restart=always \
--network playedu-network \
--name playedu-redis \
redis:7.0.12
安装Minio
mkdir -p playedu-minio/conf && mkdir playedu-minio/data
chmod a+rwx playedu-minio
docker run -d --restart=always \
--name playedu-minio \
--network playedu-network \
-p 9002:9000 -p 50002:50000 \
-e "MINIO_ROOT_USER=username" \
-e "MINIO_ROOT_PASSWORD=password1" \
-v /root/playedu-minio/data:/data \
-v /root/playedu-minio/conf:/root/.minio \
minio/minio server --console-address ":50000" /data
创建playedu桶,并设为public
安装playedu
sudo docker run -d --restart=always \
--network playedu-network \
--name playedu-light \
-p 9700:80 \
-p 9800:9800 \
-p 9801:9801 \
-p 9900:9900 \
-e DB_HOST=10.6.6.111 \
-e DB_PORT=3306 \
-e DB_NAME=playedu \
-e DB_USER=root \
-e DB_PASS=xxxxxxxxxxxxx \
-e REDIS_HOST=playedu-redis \
-e REDIS_PORT=6379 \
-e REDIS_PASS= \
-e SA_TOKEN_JWT_SECRET_KEY=playeduxyz \
registry.cn-hangzhou.aliyuncs.com/playedu/light:1.4