This commit is contained in:
xxx 2023-11-15 16:00:27 +08:00
parent 4add691e38
commit d1463c6fe8
2 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,7 @@
此项目提供 `docker-compose` 一键运行 `PlayEdu` 。提供一下软件环境:
- PlayEdu v1.4
- PlayEdu v1.5
- MySQL 5.7.42
- Redis 7.0.2
- MinIO - 由 bitnami 封装的 MinIO 发行版本
@ -16,7 +16,7 @@
#### 第一步、克隆本仓库
```
git clone https://github.com/PlayEdu/docker-compose.git playedu-docker-compose
git clone -b 1.5 https://github.com/PlayEdu/docker-compose.git playedu-docker-compose
```
#### 第二步、构建镜像

View File

@ -24,7 +24,7 @@ volumes:
services:
playedu:
image: registry.cn-hangzhou.aliyuncs.com/playedu/light:1.4
image: registry.cn-hangzhou.aliyuncs.com/playedu/light:v1.5
restart: always
volumes:
- ./data/logs/nginx:/var/log/nginx
@ -37,6 +37,8 @@ services:
- REDIS_HOST=redis
- REDIS_PASS=playeduxyz
- REDIS_PORT=6379
- REDIS_DB=2
- SA_TOKEN_IS_CONCURRENT=false
- SA_TOKEN_JWT_SECRET_KEY=${PLAYEDU_JWT_KEY:-playeduxyz}
ports:
- "${PLAYEDU_API_PORT:-9700}:80"