Skip to content

Commit 344b312

Browse files
committed
wip: 更新readme
1 parent 2c6dbf7 commit 344b312

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ git clone https://github.com/TranscodeGroup/docker.git /home/docker
1919
- [video-storage](./examples/video-storage/compose.yaml): RTP存储
2020
- [video-stream](./examples/video-stream/compose.yaml): RTP视频
2121
- [track](./examples/track/compose.yaml): Tracker V2单机部署
22+
- etc.
2223

2324
### 3. 配置`.env`
2425

@@ -40,6 +41,8 @@ docker compose config > compose-stack.yaml
4041

4142
#### 使用Docker自动下载
4243

44+
`/home/docker-compose/compose.yaml`文件中, `include`如下服务, 即可自动下载前端
45+
4346
- [compose-track.yaml](./web-downloader/compose-track.yaml): 自动下载track
4447
- [compose-bus.yaml](./web-downloader/compose-bus.yaml): 自动下载bus
4548

web-downloader/web-downloader.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010
cd /data/nginx/html || exit 1
1111

12-
version_file="${NGINX_HTML_DIR_NAME}/.version"
12+
version_file="${NGINX_HTML_DIR_NAME}/.version-for-web-downloader"
1313

1414
# Check if the version already exists
1515
if [ -f "$version_file" ]; then
@@ -34,3 +34,5 @@ unzip "${TEAMCITY_BUILD_ZIP_NAME}" -d "${NGINX_HTML_DIR_NAME}"
3434
rm -f "${TEAMCITY_BUILD_ZIP_NAME}"
3535
# rm "${TEAMCITY_BUILD_NAME}-${TEAMCITY_TAG}.zip"
3636
echo "${TEAMCITY_TAG}" > "$version_file"
37+
38+
echo "Downloaded version ${TEAMCITY_TAG}"

0 commit comments

Comments
 (0)