feat 环境更新

This commit is contained in:
zhouchengrong
2024-04-17 09:41:35 +08:00
parent 51d9247886
commit 004607a958
3 changed files with 4 additions and 4 deletions

View File

@@ -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"]
CMD ["gunicorn", "-c", "gunicorn_config.py", "app.main:app" , "-e", "SR_RABBITMQ_QUEUES=SuperResolution-dev" ,"-e", "GI_RABBITMQ_QUEUES=GenerateImage-dev"]

View File

@@ -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()

View File

@@ -6,4 +6,4 @@ services:
volumes:
- ./trinity_client_aida:/trinity
ports:
- "10201:4562"
- "10200:4562"