Skip to content

Commit adcab9b

Browse files
committed
refactor: 实例放到examples文件夹里面去
1 parent b323540 commit adcab9b

File tree

8 files changed

+27
-26
lines changed

8 files changed

+27
-26
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ git clone https://github.com/TranscodeGroup/docker.git /home/docker
1616

1717
创建`/home/docker-compose/compose.yaml`文件, 参考如下示例:
1818

19-
- [video.storage.stack.yaml](./video.storage.stack.yaml): RTP存储
20-
- [video.stream.stack.yaml](./video.stream.stack.yaml): RTP视频
21-
- [single.stack.yaml](./single.stack.yaml): V2单机部署
19+
- [video-storage](./examples/video-storage/compose.yaml): RTP存储
20+
- [video-stream](./examples/video-stream/compose.yaml): RTP视频
21+
- [track](./examples/track/compose.yaml): Tracker V2单机部署
2222

2323
### 3. 配置`.env`
2424

examples/docker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../

examples/track/compose.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## V2单机部署方案
2+
# 1. 修改.env文件. 初始化各种密码
3+
# 2. docker compose up -d启动服务
4+
# 3. 配置/home/token秘钥
5+
# 4. 初始化数据库脚本和默认数据 user_info|organize_role|system_config|system_alarm_platform|system_dictionary
6+
include:
7+
- ../docker/mysql8/compose.yml
8+
- ../docker/redis/compose.yml
9+
- ../docker/mongodb/compose.yml
10+
- ../docker/rabbitmq/compose.yml
11+
- ../docker/minio/compose.yml
12+
- ../docker/maintain/compose.yml
13+
- ../docker/jtt808/compose.yml
14+
- path:
15+
- ../docker/nginx/compose.yml
16+
- ../docker/nginx/compose.track.yml
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# 默认开放端口: 直播9000,录像9001,对接9002, 监听9003,广播9004,RTMP9005:1935(srs)
55
# Nginx代理9085-9089: http-flv(srs:8080端口), wss(rtp:9006端口), 拦截mdvr和ws关键字
66
include:
7-
- minio/compose.yml
7+
- ../docker/minio/compose.yml
88
- path:
9-
- video/compose.yml
10-
- video/compose.storage.yaml
9+
- ../docker/video/compose.yml
10+
- ../docker/video/compose.storage.yaml
1111
- path:
12-
- video-nginx/compose.yml
13-
- video-nginx/compose.minio.yml
12+
- ../docker/video-nginx/compose.yml
13+
- ../docker/video-nginx/compose.minio.yml
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# 默认开放端口: 直播9000,录像9001,对接9002, 监听9003,广播9004,RTMP9005:1935(srs)
55
# Nginx代理9085-9089: http-flv(srs:8080端口), wss(rtp:9006端口), 拦截mdvr和ws关键字
66
include:
7-
- video-nginx/compose.yml
7+
- ../docker/video-nginx/compose.yml
88
- path:
9-
- video/compose.yml
9+
- ../docker/video/compose.yml

single.stack.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)