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