configure.py 669 Bytes
# coding=utf-8

# 程序部署ip:host
deploy_ip_host = "172.26.99.160:8840"
# 系统数据库

SQLALCHEMY_DATABASE_URI = "postgresql://postgres:postgres@172.26.40.254:5433/dmap_dms_test1"
# SQLALCHEMY_DATABASE_URI = "postgresql://postgres:chinadci@172.26.99.160:5432/dmap_dms_test"


# 部署模式cluster,standalone
deployment_mode = "cluster"
# 部署模式味cluster时有用,master,slave
application_name = "master"

zookeeper = "172.26.99.168:2181"

# 固定配置不需要修改
swagger_configure = {"title": "DMapManager"}
entry_data_thread = 3
scan_module = ["app.modules"]  # API所在的模块
SECRET_KEY = b'_5#y2L"F4Q8z\n\xec]/'