-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenvoy.config.php
More file actions
129 lines (117 loc) · 2.84 KB
/
envoy.config.php
File metadata and controls
129 lines (117 loc) · 2.84 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?php return [
/**
* Git repository
*
* If using private repos use the git@ format to avoid being
* asked for password. For public Github repos use https protocl
*
* @example 'git@localhost:user/myrepo.git'
*/
'repository' => 'https://github.com/UTCWeb/utcapiproxy.git',
/**
* Deployment tactic
*
* Available tactics: html, laravel, bedrock
*
* @example 'html'
*/
'deploy_tactic' => 'laravel',
/**
* Deployment server
*
* Connection information with the required paramaters
*
* @example '-i ~/.ssh/id_deployex deployer@host'
* @example 'deployer@host'
*/
'deploy_server' => 'laravelapitest@twebvmin11.is.utc.edu',
'prod_server' => 'web@pwebvmin11.is.utc.edu',
/**
* Deployment path
*
* Base path. Make sure it's absolute.
*
* @example '/var/www/project'
*/
'deploy_path' => '/tvirtualmin/laravelapitest',
'prod_path' => '/pvirtualmin/web',
/**
* Deployment public dir (optional)
*
* Public dir from the root folder (without the leading /).
* Can be set to empty if public dir is root of the project
*
* @default 'public'
* @example 'web'
*/
'public_dir' => 'public_html/utcapiproxy',
/**
* Shared subdirs (optional)
*
* Link this subdirs from shared to the current release
*/
'shared_dirs' => [
'storage',
],
/**
* Composer install (optional)
*
* Do we run composer install on this deployment
*
* @example false
*/
'composer_install' => true,
/**
* NPM install (optional)
*
* Do we run npm install on this deployment
*
* @example false
*/
'npm_install' => false,
/**
* Node version (optional)
*
* if Set changes node version using nvm to the specified value
*
* @example 11
*/
'node_version' => false,
/**
* Keep releases count (optional)
*
* Number of releases to keep on remote, use -1 to disable purging
*
* @example -1
* @example 10
*/
'release_keep_count' => 5,
/**
* Default git branch (optional)
*
* @example 'develop'
*/
'branch_default' => 'develop',
'branch_main' => 'main',
/**
* Default subdirs (optional)
*
* Default deployment directories
* - releases: location where the releases are being stored
* - current: symlink location
* - shared: symlink shared from this location
*
*/
'dirs' => [
'releases' => 'releases',
'current' => 'current',
'shared' => 'shared',
]
/**
* Default services to reload (optional)
*
* Every service will be reloaded using /usr/sbin/service
*
*/
// 'reload_services' => ['nginx', 'php7.3-fpm'],
];