forked from jly8866/archer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,27 +112,27 @@ | |
'NAME': 'archer', | ||
'USER': 'archer_rw', | ||
'PASSWORD': 'archer_rw', | ||
'HOST': '127.0.0.1', | ||
'HOST': '172.21.139.1', | ||
'PORT': '5000' | ||
} | ||
} | ||
|
||
#inception组件所在的地址 | ||
INCEPTION_HOST = '192.168.1.11' | ||
INCEPTION_HOST = '172.16.5.7' | ||
INCEPTION_PORT = '6100' | ||
|
||
#查看回滚SQL时候会用到,这里要告诉archer去哪个mysql里读取inception备份的回滚信息和SQL. | ||
#注意这里要和inception组件的inception.conf里的inception_remote_XX部分保持一致. | ||
INCEPTION_REMOTE_BACKUP_HOST='192.168.1.12' | ||
INCEPTION_REMOTE_BACKUP_HOST='172.16.5.10' | ||
INCEPTION_REMOTE_BACKUP_PORT=5621 | ||
INCEPTION_REMOTE_BACKUP_USER='inception' | ||
INCEPTION_REMOTE_BACKUP_PASSWORD='inception' | ||
|
||
#是否开启邮件提醒功能:发起SQL上线后会发送邮件提醒审核人审核,执行完毕会发送给DBA. on是开,off是关,配置为其他值均会被archer认为不开启邮件功能 | ||
MAIL_ON_OFF='on' | ||
|
||
MAIL_REVIEW_SMTP_SERVER='mail.xxx.com' | ||
MAIL_REVIEW_SMTP_SERVER='172.21.129.215' | ||
MAIL_REVIEW_SMTP_PORT=25 | ||
MAIL_REVIEW_FROM_ADDR='[email protected]' #发件人,也是登录SMTP server需要提供的用户名 | ||
MAIL_REVIEW_FROM_PASSWORD='' #发件人邮箱密码,如果为空则不需要login SMTP server | ||
MAIL_REVIEW_DBA_ADDR=['zhangsan@abc.com', 'lisi01@abc.com'] #DBA地址,执行完毕会发邮件给DBA,以list形式保存 | ||
MAIL_REVIEW_DBA_ADDR=['jialiyang@baijiahulian.com', 'zhangpeng@baijiahulian.com'] #DBA地址,执行完毕会发邮件给DBA,以list形式保存 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h4>请认真阅读SQL审核规则:</h4> | ||
https://github.com/jly8866/archer/raw/master/docs/mysql_db_design_guide.docx | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters