From 004607a9583fffd0c27a12dbced240f6a1268359 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Wed, 17 Apr 2024 09:41:35 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E7=8E=AF=E5=A2=83=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- app/core/config.py | 4 ++-- docker-compose.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0bd3e74..c1e42d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ LABEL maintainer="zchengrong@yeah.net" \ name="trinity_aida" -CMD ["gunicorn", "-c", "gunicorn_config.py", "app.main:app" , "-e", "SR_RABBITMQ_QUEUES=SuperResolution-local" ,"-e", "GI_RABBITMQ_QUEUES=GenerateImage-local"] \ No newline at end of file +CMD ["gunicorn", "-c", "gunicorn_config.py", "app.main:app" , "-e", "SR_RABBITMQ_QUEUES=SuperResolution-dev" ,"-e", "GI_RABBITMQ_QUEUES=GenerateImage-dev"] \ No newline at end of file diff --git a/app/core/config.py b/app/core/config.py index 4889db8..b88390c 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -28,8 +28,8 @@ else: CATEGORY_PATH = "app/service/attribute/config/descriptor/category/category_dis.csv" # RABBITMQ_ENV = "" # 生产环境 -# RABBITMQ_ENV = "-dev" # 开发环境 -RABBITMQ_ENV = "-local" # 本地测试环境 +RABBITMQ_ENV = "-dev" # 开发环境 +# RABBITMQ_ENV = "-local" # 本地测试环境 settings = Settings() diff --git a/docker-compose.yml b/docker-compose.yml index 9d3b725..a550e44 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,4 +6,4 @@ services: volumes: - ./trinity_client_aida:/trinity ports: - - "10201:4562" \ No newline at end of file + - "10200:4562" \ No newline at end of file