|
@@ -31,7 +31,7 @@ class BaseConfig:
|
|
|
PLATFORM = platform.system().lower()
|
|
|
|
|
|
# 文件上传配置
|
|
|
- ALLOWED_EXTENSIONS = {'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif', 'xlsx', 'xls', 'csv'}
|
|
|
+ ALLOWED_EXTENSIONS = {'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif', 'xlsx', 'xls', 'csv', 'sql', 'dll'}
|
|
|
|
|
|
# 数据抽取配置
|
|
|
DATA_EXTRACT_BATCH_SIZE = 1000 # 每批处理的记录数
|
|
@@ -62,7 +62,7 @@ class DevelopmentConfig(BaseConfig):
|
|
|
PORT = 5500
|
|
|
|
|
|
# 开发环境 MinIO 配置
|
|
|
- MINIO_HOST = '192.168.67.138:9000'
|
|
|
+ MINIO_HOST = 'localhost:9000'
|
|
|
MINIO_USER = 'citu-test'
|
|
|
MINIO_PASSWORD = 'citu-test'
|
|
|
MINIO_SECURE = False
|
|
@@ -70,13 +70,13 @@ class DevelopmentConfig(BaseConfig):
|
|
|
PREFIX = ''
|
|
|
|
|
|
# 开发环境 PostgreSQL 配置
|
|
|
- SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres@192.168.67.138:5432/dataops'
|
|
|
+ SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres@localhost:5432/dataops'
|
|
|
|
|
|
# 开发环境 Neo4j 配置
|
|
|
- NEO4J_URI = "bolt://192.168.67.138:7687"
|
|
|
- NEO4J_HTTP_URI = "http://192.168.67.138:7474"
|
|
|
+ NEO4J_URI = "bolt://localhost:7687"
|
|
|
+ NEO4J_HTTP_URI = "http://localhost:7474"
|
|
|
NEO4J_USER = "neo4j"
|
|
|
- NEO4J_PASSWORD = "password"
|
|
|
+ NEO4J_PASSWORD = "Passw0rd"
|
|
|
NEO4J_ENCRYPTED = False
|
|
|
|
|
|
# 开发环境文件路径配置
|