-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathexample_env
36 lines (35 loc) · 1.18 KB
/
example_env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#基础配置
#除非你是专业人员正在对网站进行调试,否则在何种情况下都应该默认将'debug'项和'trace'项的值设置为False
[app]
debug = true #调试模式
trace = true #详细日志
urlDomainRoot = weibo.test #网站URL
chatSocketDomain = ws://weibo.test/
staticDomain =
beian=xxxxxxx #填入备案号
noRegister = false #禁止注册
[database]
type = mysql
hostname = 127.0.0.1
database = #数据库名
username = root #数据库用户名
password = root #数据库密码
hostport = 3306 #数据库端口,默认为3306
charset = utf8mb4 #数据库字符集
prefix = #数据库表前缀,默认为wb_
debug = true #数据库调试模式
#进阶配置
[storage]
type = File
[s3Config] #AWS API调用
awsAccessKey = ERFSEGEHSEF
awsSecretKey = DVFASSADVFFSADSADASD
bucket = test
endpoint = http://192.168.1.11/
region = 中国华北一区
[wechat] #微信API调用
app_id = wadfas
secret = sdfasdaasdffdsg
token = asdfasdfdsfdddadweqwdeff
aes_key = ''
callback = /examples/oauth_callback.php