File tree Expand file tree Collapse file tree 5 files changed +37
-23
lines changed
Expand file tree Collapse file tree 5 files changed +37
-23
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,13 @@ docker compose config > compose-stack.yaml
3838
3939### 4. 下载前端文件
4040
41+ #### 使用Docker自动下载
42+
43+ - [ compose-track.yaml] ( ./web-downloader/compose-track.yaml ) : 自动下载track
44+ - [ compose-bus.yaml] ( ./web-downloader/compose-bus.yaml ) : 自动下载bus
45+
46+ #### 手动下载
47+
4148部署distar等项目的前端:
4249[ 说明文件] ( projects/README.md )
4350
Original file line number Diff line number Diff line change 1+ services :
2+ web-downloader-base :
3+ image : alpine/curl
4+ command : /home/docker/web-downloader/web-downloader.sh
5+ volumes :
6+ - " ${DATA_DIR:-/data}/nginx/html:/data/nginx/html"
7+ - ./web-downloader.sh:/home/docker/web-downloader/web-downloader.sh
8+ - ../projects/teamcity-download-artifact.sh:/home/docker/projects/teamcity-download-artifact.sh
Original file line number Diff line number Diff line change 1+ services :
2+ web-downloader-bus :
3+ extends :
4+ file : ./compose-base.yaml
5+ service : web-downloader-base
6+ environment :
7+ # tag starts with 'v', eg: v5.30.0
8+ - TEAMCITY_TAG=v${BUS_WEB_VERSION:?required}
9+ - TEAMCITY_BUILD_NAME=CityBusVueAdmin_Release
10+ - TEAMCITY_BUILD_ZIP_NAME=bus.zip
11+ - NGINX_HTML_DIR_NAME=bus
Original file line number Diff line number Diff line change 1+ services :
2+ web-downloader-track :
3+ extends :
4+ file : ./compose-base.yaml
5+ service : web-downloader-base
6+ environment :
7+ # tag starts with 'v', eg: v1.53.0
8+ - TEAMCITY_TAG=v${TRACK_WEB_VERSION:?required}
9+ - TEAMCITY_BUILD_NAME=MaintainVbenAdmin_Release
10+ - TEAMCITY_BUILD_ZIP_NAME=maintain.zip
11+ - NGINX_HTML_DIR_NAME=track
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments