mirror of
https://github.com/PlayEdu/docker-compose.git
synced 2025-06-15 03:18:28 +08:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
582fc53a5f | ||
|
da5af54d2c | ||
|
b14d1dd351 | ||
|
d08d9cb74e | ||
|
d1463c6fe8 | ||
|
4add691e38 | ||
|
1e767304e6 |
@ -4,7 +4,7 @@
|
||||
|
||||
此项目提供 `docker-compose` 一键运行 `PlayEdu` 。提供一下软件环境:
|
||||
|
||||
- PlayEdu v1.3
|
||||
- PlayEdu v1.6
|
||||
- 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.6 https://github.com/PlayEdu/docker-compose.git playedu-docker-compose
|
||||
```
|
||||
|
||||
#### 第二步、构建镜像
|
||||
|
2
data/minio/.gitignore
vendored
Normal file
2
data/minio/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
@ -24,7 +24,7 @@ volumes:
|
||||
|
||||
services:
|
||||
playedu:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/playedu/light:1.3
|
||||
image: registry.cn-hangzhou.aliyuncs.com/playedu/light:1.6
|
||||
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