2 Star 0 Fork 0

Qi Zhang/rainbond-console

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
console.py 2.76 KB
一键复制 编辑 原始数据 按行查看 历史
barnettZQG 提交于 2020-05-01 22:41 . format code
DEBUG = True
TEMPLATE_DEBUG = False
ZMQ_LOG_ADDRESS = 'tcp://127.0.0.1:9341'
DEFAULT_HANDLERS = ['file_handler']
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'xxxx.xxx.xxx'
EMAIL_PORT = 465
EMAIL_HOST_USER = 'xxx@xxx.com'
EMAIL_HOST_PASSWORD = 'xxxx'
EMAIL_USE_SSL = True
DISCOURSE_SECRET_KEY = 'xxxxx'
REGION_TOKEN = ""
WILD_DOMAIN = ".<domain>"
STREAM_DOMAIN = True
STREAM_DOMAIN_URL = {"cloudbang": "10.80.86.19"}
WILD_DOMAINS = {"cloudbang": ".<domain>"}
WILD_PORTS = {"cloudbang": "80"}
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': (),
'DEFAULT_AUTHENTICATION_CLASSES': (),
}
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '',
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': 3306,
},
}
REGION_SERVICE_API = [{'url': 'http://region.goodrain.me:8888', 'apitype': 'region service', 'region_name': 'cloudbang'}]
WEBSOCKET_URL = {
'cloudbang': 'ws://:/websocket',
}
EVENT_WEBSOCKET_URL = {
'cloudbang': 'auto',
}
APP_SERVICE_API = {'url': 'http://app.goodrain.com:80', 'apitype': 'app service'}
REGION_RULE = {
'dev': {
'personal_money': 0.069,
'company_money': 0.276,
'personal_month_money': 50,
'company_month_money': 100
},
}
REGION_FEE_RULE = {
'dev': {
'memory_money': 0.069,
'disk_money': 0.0041,
'net_money': 0.8
},
}
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
MODULES = {
"Owned_Fee": False,
"Memory_Limit": False,
"GitLab_Project": False,
"GitLab_User": False,
"Git_Hub": False,
"Git_Code_Manual": True,
"Finance_Center": False,
"Team_Invite": True,
"Monitor_Control": False,
"User_Register": True,
"Sms_Check": False,
"Email_Invite": True,
"Package_Show": False,
"RegionToken": False,
"Add_Port": True,
"License_Center": False,
"WeChat_Module": False,
"Docker_Console": True,
"Publish_YunShi": False,
"Publish_Service": False,
}
REGIONS = ({"name": "cloudbang", "label": 'cloudbang', "enable": True}, )
SN = '01d1S-WMrCLEKypQ_jCW78MEkB-LqhgMIvZIlK3x9vuS-WlUjMkUG5OK8OCe_\
4KvrfYptfyc8PWe7adI21D57JnbHMU7paNCLxu4xMCK3ACXO97LifX8EBpkJUdjv8AnK\
0uZ0qXkoe2t0KFr_3cKfsYyG7F--QniyVElkjp6UJTBqXFU5E88easFVqA4YP9ARCGdbc\
xlp3ga6rfMq1KlRPv3G73hN4diUvcoP_0aOLbD7v17cuWWRXTfIcP5d1JuDTOHc0z-lGjw\
VQj4iJesBS1QaD5YpgrsJXzKAvI01'
# log domain
LOG_DOMAIN = {"cloudbang": "auto"}
IS_OPEN_API = False
WECHAT_CALLBACK = {
"console": "",
"console_bind": "",
"console_goodrain": "",
"console_bind_goodrain": "",
"index": "",
}
DOCKER_WSS_URL = {
'is_wide_domain': True,
'type': 'ws',
'cloudbang': 'auto',
}
OAUTH2_APP = {
'CLIENT_ID': '""',
'CLIENT_SECRET': '""',
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangbigqi/rainbond-console.git
git@gitee.com:zhangbigqi/rainbond-console.git
zhangbigqi
rainbond-console
rainbond-console
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385