-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example
54 lines (53 loc) · 1.33 KB
/
config.example
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* 基础配置
*/
return [
"MYSQL" => [
'host' => '127.0.0.1',
'port' => '3306',
'user' => 'root',
'timeout' => '5',
'charset' => 'utf8mb4',
'password' => '123456',
'database' => 'rd029',
'POOL_MAX_NUM' => '50',
'POOL_MIN_NUM' => '1',
'POOL_TIME_OUT' => '0.1',
],
"MYSQL-SlAVE" => [
'host' => '127.0.0.1',
'port' => '3306',
'user' => 'rd029',
'timeout' => '5',
'charset' => 'utf8mb4',
'password' => 'reading029',
'database' => 'rd029',
'POOL_MAX_NUM' => '50',
'POOL_MIN_NUM' => '1',
'POOL_TIME_OUT' => '0.1',
],
"REDIS" => [
'host' => '127.0.0.1',
'port' => '6379',
'auth' => '',
'POOL_MAX_NUM' => '20',
'POOL_MIN_NUM' => '1',
'POOL_TIME_OUT' => '0.1',
],
"RABBIT" => [
'host' => '127.0.0.1',
'port' => '5672',
'user' => 'admin',
'password' => '123456',
'vhost' => '/'
],
"ELASTIC" => "elasticsearch:9200",
"AliYun" => [
'Web_Hook' => 'https://oapi.dingtalk.com/robot/send?access_token=9c13c48eb59aba7013eeda428d90dd45ecbf51f1e6472fd29816c7f5f23c84b0',
],
'ORIGIN' => [
'http://localhost:8080',
'http://bar.rd029.com',
]
];