mirror of
https://github.com/PlayEdu/docker-compose.git
synced 2025-06-07 05:17:46 +08:00
update
This commit is contained in:
parent
4add691e38
commit
d1463c6fe8
@ -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
|
||||
```
|
||||
|
||||
#### 第二步、构建镜像
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user