configure.py
471 Bytes
# coding=utf-8
# 程序部署ip:host
deploy_ip_host = "172.26.99.160:8840"
# 系统数据库
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"
# 固定配置不需要修改
swagger_configure={"title":"DMapManager"}
entry_data_thread = 3
scan_module = ["app.modules"]# API所在的模块