运维配置
This commit is contained in:
parent
381b8857ec
commit
b162b832e5
|
@ -4,8 +4,8 @@ stages:
|
|||
job:
|
||||
stage: deploy
|
||||
script:
|
||||
# - docker stop tfse_app_api
|
||||
# - docker rm tfse_app_api
|
||||
- docker stop tfse_app_api
|
||||
- docker rm 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
|
||||
only:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# 应用配置
|
||||
APP_NAME = 'tfse_app_api'
|
||||
APP_PORT = 51020
|
||||
APP_PORT = '51020'
|
||||
|
|
Loading…
Reference in New Issue