-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfig_projects_example.php
66 lines (65 loc) · 1.57 KB
/
config_projects_example.php
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
55
56
57
58
59
60
61
62
63
64
65
66
<?php
$serverHost = \Yaconf::get('syserver.base.server.host');
return [
0 => [
'git_branch' => 'master',
'module_type' => 'api',
'module_path' => 'sy_api',
'module_name' => 'a01api',
'listens' => [
0 => [
'host' => $serverHost,
'port' => 7100,
'register_type' => 'nginx',
],
],
],
1 => [
'git_branch' => 'master',
'module_type' => 'rpc',
'module_path' => 'sy_order',
'module_name' => 'a01order',
'listens' => [
0 => [
'host' => $serverHost,
'port' => 7120,
],
],
],
2 => [
'git_branch' => 'master',
'module_type' => 'rpc',
'module_path' => 'sy_user',
'module_name' => 'a01user',
'listens' => [
0 => [
'host' => $serverHost,
'port' => 7140,
],
],
],
3 => [
'git_branch' => 'master',
'module_type' => 'rpc',
'module_path' => 'sy_services',
'module_name' => 'a01services',
'listens' => [
0 => [
'host' => $serverHost,
'port' => 7160,
],
],
],
4 => [
'git_branch' => 'master',
'module_type' => 'rpc',
'module_path' => 'sy_content',
'module_name' => 'a01content',
'listens' => [
0 => [
'host' => $serverHost,
'port' => 7180,
],
],
],
];