From b162b832e51114a6c12e391e1ffd24c41543de0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=9D=E5=B7=9D?= Date: Wed, 1 Dec 2021 01:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E7=BB=B4=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 4 ++-- setting.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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'