Merge branch 'develop'
This commit is contained in:
@@ -73,6 +73,7 @@ class Settings(BaseSettings):
|
|||||||
CATEGORY_PATH: str = Field(default="/app/service/attribute/config/descriptor/category/category_dis.csv", description="")
|
CATEGORY_PATH: str = Field(default="/app/service/attribute/config/descriptor/category/category_dis.csv", description="")
|
||||||
SEG_CACHE_PATH: str = Field(default="/seg_cache/", description="")
|
SEG_CACHE_PATH: str = Field(default="/seg_cache/", description="")
|
||||||
RECOMMEND_PATH_PREFIX: str = Field(default="/app/service/recommend/", description="")
|
RECOMMEND_PATH_PREFIX: str = Field(default="/app/service/recommend/", description="")
|
||||||
|
SERVE_PORT: int = Field(default=2010, description="")
|
||||||
|
|
||||||
|
|
||||||
settings = Settings()
|
settings = Settings()
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
working_dir: /app
|
working_dir: /app
|
||||||
volumes:
|
volumes:
|
||||||
- ./app:/app/app
|
- ./app:/app/app
|
||||||
- ./.env_prod:/app/.env
|
- ./.env:/app/.env
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./seg_cache:/seg_cache
|
- ./seg_cache:/seg_cache
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user