diff --git a/.DS_Store b/.DS_Store index 43c9f7c..68a4148 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/app.zip b/app.zip new file mode 100644 index 0000000..95b62df Binary files /dev/null and b/app.zip differ diff --git a/app/core/config.py b/app/core/config.py index a135b91..959e027 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -24,10 +24,10 @@ VOICEPRINT_DIR.mkdir(exist_ok=True) # 数据库配置 DATABASE_CONFIG = { - 'host': os.getenv('DB_HOST', 'localhost'), + 'host': os.getenv('DB_HOST', '10.100.51.161'), 'user': os.getenv('DB_USER', 'root'), 'password': os.getenv('DB_PASSWORD', 'sagacity'), - 'database': os.getenv('DB_NAME', 'imeeting'), + 'database': os.getenv('DB_NAME', 'imeeting_dev'), 'port': int(os.getenv('DB_PORT', '3306')), 'charset': 'utf8mb4' } @@ -51,7 +51,7 @@ APP_CONFIG = { # Redis配置 REDIS_CONFIG = { - 'host': os.getenv('REDIS_HOST', 'localhost'), + 'host': os.getenv('REDIS_HOST', '10.100.51.161'), 'port': int(os.getenv('REDIS_PORT', '6379')), 'db': int(os.getenv('REDIS_DB', '0')), 'password': os.getenv('REDIS_PASSWORD', None),