mirror of
https://github.com/PlayEdu/docker-compose.git
synced 2025-12-20 21:05:44 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d954cdf977 | ||
|
|
d5be8ed872 | ||
|
|
1d5677b159 | ||
|
|
e99b0e2cd0 |
16
README.md
16
README.md
@@ -63,15 +63,15 @@ docker-compose up -d playedu
|
|||||||
| `AccessKey` | `username` |
|
| `AccessKey` | `username` |
|
||||||
| `SecretKey` | `password` |
|
| `SecretKey` | `password` |
|
||||||
| `Bucket` | `playedu` |
|
| `Bucket` | `playedu` |
|
||||||
| `Endpoint` | `http://你的服务器IP:9000` |
|
| `Endpoint` | `http://你的服务器IP:9002` |
|
||||||
| `Domain` | `http://你的服务器IP:9002` |
|
| `Domain` | `http://你的服务器IP:9002` |
|
||||||
|
|
||||||
### 链接
|
### 链接
|
||||||
|
|
||||||
| 平台 | 地址 | 默认账号 | 密码 |
|
| 平台 | 地址 | 默认账号 | 密码 |
|
||||||
| -------------- | -------------------------- | ------------------- | ---------- |
|
| -------------- | --------------------------- | ------------------- | ---------- |
|
||||||
| API 服务 | `http://你的服务器IP:9700` | - | - |
|
| API 服务 | `http://你的服务器IP:9700` | - | - |
|
||||||
| PC 学员端口 | `http://你的服务器IP:9800` | - | - |
|
| PC 学员端口 | `http://你的服务器IP:9800` | - | - |
|
||||||
| H5 学员端口 | `http://你的服务器IP:9801` | - | - |
|
| H5 学员端口 | `http://你的服务器IP:9801` | - | - |
|
||||||
| 后台管理端口 | `http://你的服务器IP:9900` | `admin@playedu.xyz` | `playedu` |
|
| 后台管理端口 | `http://你的服务器IP:9900` | `admin@playedu.xyz` | `playedu` |
|
||||||
| MinIO 管理端口 | `http://你的服务器IP:9002` | `username` | `password` |
|
| MinIO 管理端口 | `http://你的服务器IP:50002` | `username` | `password` |
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ x-logging: &default-logging
|
|||||||
networks:
|
networks:
|
||||||
backend:
|
backend:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
# ipam:
|
ipam:
|
||||||
# driver: default
|
driver: default
|
||||||
# config:
|
config:
|
||||||
# - subnet: 172.10.10.0/24
|
- subnet: 172.10.10.0/24
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mysql:
|
mysql:
|
||||||
@@ -25,10 +25,10 @@ volumes:
|
|||||||
services:
|
services:
|
||||||
### PlayEdu ################################################
|
### PlayEdu ################################################
|
||||||
playedu:
|
playedu:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/playedu/light:1.1
|
image: registry.cn-hangzhou.aliyuncs.com/playedu/light:1.2
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
# volumes:
|
||||||
- ./data/logs/nginx:/var/log/nginx
|
# - ./data/logs/nginx:/var/log/nginx
|
||||||
environment:
|
environment:
|
||||||
- DB_HOST=mysql
|
- DB_HOST=mysql
|
||||||
- DB_PORT=3306
|
- DB_PORT=3306
|
||||||
@@ -56,10 +56,10 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
build: ./redis
|
build: ./redis
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
# volumes:
|
||||||
- ./data/redis:/data
|
# - ./data/redis:/data
|
||||||
ports:
|
ports:
|
||||||
- "${REDIS_PORT:-6379}:6379"
|
- "${REDIS_PORT:-16379}:6379"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
@@ -72,10 +72,10 @@ services:
|
|||||||
- MYSQL_DATABASE=playedu
|
- MYSQL_DATABASE=playedu
|
||||||
- MYSQL_ROOT_PASSWORD=playeduxyz
|
- MYSQL_ROOT_PASSWORD=playeduxyz
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
volumes:
|
# volumes:
|
||||||
- ./data/mysql:/var/lib/mysql
|
# - ./data/mysql:/var/lib/mysql
|
||||||
ports:
|
ports:
|
||||||
- "${MYSQL_PORT:-3306}:3306"
|
- "${MYSQL_PORT:-33063}:3306"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
@@ -88,11 +88,11 @@ services:
|
|||||||
- MINIO_ROOT_USER=${MINIO_ROOT_USER:-username}
|
- MINIO_ROOT_USER=${MINIO_ROOT_USER:-username}
|
||||||
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD:-password}
|
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD:-password}
|
||||||
- MINIO_DEFAULT_BUCKETS=${MINIO_BUCKETS:-playedu:public}
|
- MINIO_DEFAULT_BUCKETS=${MINIO_BUCKETS:-playedu:public}
|
||||||
volumes:
|
# volumes:
|
||||||
- ./data/minio/data:/data
|
# - ./data/minio/data:/data
|
||||||
ports:
|
ports:
|
||||||
- "${MINIO_PORT:-9000}:9000"
|
- "${MINIO_PORT:-9002}:9000"
|
||||||
- "${MINIO_CONSOLE_PORT:-9001}:9001"
|
- "${MINIO_CONSOLE_PORT:-50002}:9001"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
|
|||||||
Reference in New Issue
Block a user