运维配置

This commit is contained in:
王思川 2021-12-01 01:46:11 +08:00
parent b162b832e5
commit 336ad7b758
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ job:
- docker stop tfse_app_api - docker stop tfse_app_api
- docker rm tfse_app_api - docker rm tfse_app_api
- docker build -t tfse_app_api . - docker build -t tfse_app_api .
- docker run -d -p 51020:51020 --name tfse_app_api -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro tfse_app_api - docker run -d -p 51010:51010 --name tfse_app_api -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro tfse_app_api
only: only:
- master - master
tags: tags:

View File

@ -1,3 +1,3 @@
# 应用配置 # 应用配置
APP_NAME = 'tfse_app_api' APP_NAME = 'tfse_app_api'
APP_PORT = '51020' APP_PORT = '51010'