diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99969cd..4527ef4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/setting.py b/setting.py index ce69fb9..611aef8 100644 --- a/setting.py +++ b/setting.py @@ -1,3 +1,3 @@ # 应用配置 APP_NAME = 'tfse_app_api' -APP_PORT = 51020 +APP_PORT = '51020'