# ==================================
# 开发环境配置文件
# ==================================

ENVIRONMENT = "prod"

# 服务器配置
SERVER_HOST = '0.0.0.0'     # 允许访问的IP地址
SERVER_PORT = 8001          # 服务端口

# 文档配置
DEBUG = False                       # 调试模式
TITLE = "🎉 hdcranegs 🎉 -prod"  # 文档标题
VERSION = '0.1.0'                   # 版本号
SUMMARY = "接口汇总"                 # 文档概述
DOCS_URL = "/docs"                  # Swagger UI路径
REDOC_URL = "/redoc"                # ReDoc路径
ROOT_PATH = "/api/v1"               # API路由前缀
DESCRIPTION = "恒达行车地面站管理系统"  # 文档描述

# 是否启用演示模式
DEMO_ENABLE = True

# 数据库配置
DATABASE_TYPE = "mysql"     # mysql、postgres、[qlite、dm这俩种不支持代码生成]

# 数据库配置
DATABASE_HOST = "mysql"
DATABASE_PORT = 3306        # MySQL默认端口3006 PostgreSQL默认端口5432
DATABASE_USER = "root"      # PostgreSQL 用户是 postgres
DATABASE_PASSWORD = "!23Qwe"
DATABASE_NAME = "cmis_gs"

# Redis配置
REDIS_ENABLE = True 
REDIS_HOST = "redis"
REDIS_PORT = 6379
REDIS_USER = ''
REDIS_PASSWORD = '!23Qwe'
REDIS_DB_NAME = 1

# 日志配置
LOGGER_LEVEL = 'INFO'

# 大模型配置
OPENAI_BASE_URL = https://dashscope.aliyuncs.com/compatible-mode/v1
OPENAI_API_KEY = sk-e688534f2d984e7fa2eb46add409422f
OPENAI_MODEL = qwen-plus
