mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
2a0f03a511
Co-authored-by: takatost <takatost@gmail.com>
27 lines
553 B
Python
27 lines
553 B
Python
from pydantic import BaseModel, Field
|
|
|
|
|
|
class DeploymentConfig(BaseModel):
|
|
"""
|
|
Deployment configs
|
|
"""
|
|
APPLICATION_NAME: str = Field(
|
|
description='application name',
|
|
default='langgenius/dify',
|
|
)
|
|
|
|
TESTING: bool = Field(
|
|
description='',
|
|
default=False,
|
|
)
|
|
|
|
EDITION: str = Field(
|
|
description='deployment edition',
|
|
default='SELF_HOSTED',
|
|
)
|
|
|
|
DEPLOY_ENV: str = Field(
|
|
description='deployment environment, default to PRODUCTION.',
|
|
default='PRODUCTION',
|
|
)
|