-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathset.php
More file actions
99 lines (86 loc) · 2.27 KB
/
Copy pathset.php
File metadata and controls
99 lines (86 loc) · 2.27 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
<?php
namespace Deployer;
require 'recipe/typo3.php';
set('default_timeout', 900);
set('keep_releases', 2);
// TYPO3
set('app_type', 'typo3');
set('web_path', 'public/');
set('bin/typo3cms', './vendor/bin/typo3cms');
set('debug_log_path', 'var/log');
set('debug_log_regex_pattern', '/^(\w+,\s\d+\s\w+\s\d+\s\d+:\d+:\d+\s\+\d+)\s\[(\w+)\]\s(.+?):\s(.+)/');
set('shared_dirs', [
'{{web_path}}fileadmin',
'{{web_path}}uploads',
'var/session',
'var/log',
'var/lock',
'var/charset',
'var/transient',
]);
set('shared_files', [
'.env'
]);
set('writable_mode', 'chmod');
set('writable_chmod_mode', '2770');
set('writable_recursive', false);
set('writable_chmod_mode_files', '644');
set('writable_chmod_mode_dirs', '2755');
set('writable_chmod_mode_writable_dirs', '2775');
set('writable_dirs', [
'{{web_path}}typo3conf',
'{{web_path}}typo3temp',
'{{web_path}}uploads',
'{{web_path}}fileadmin',
'var/session',
'var/log',
'var/lock',
'var/charset',
'var/transient',
]);
set('composer_options', '--verbose --prefer-dist --no-progress --no-interaction --no-dev --optimize-autoloader --no-scripts');
set('run_real_time_output', true);
// Look on https://github.com/sourcebroker/deployer-extended#buffer-start for docs
set('buffer_config', function () {
return [
'index.php' => [
'entrypoint_filename' => get('web_path') . 'index.php',
],
'typo3/index.php' => [
'entrypoint_filename' => get('web_path') . 'typo3/index.php',
],
'typo3/install.php' => [
'entrypoint_filename' => get('web_path') . 'typo3/install.php',
]
];
});
/**
* Rsync settings
*/
set('rsync_default_excludes', [
'.Build',
'.git',
'.gitlab',
'.ddev',
'.deployer',
'.idea',
'.DS_Store',
'.gitlab-ci.yml',
'.npm',
'package.json',
'package-lock.json',
'node_modules/',
'var/session',
'var/log',
'var/lock',
'var/charset',
'var/transient',
'public/fileadmin/',
'public/typo3temp/',
]);
set('feature_index_app_type', 'typo3');
/**
* Env Keys
*/
set('env_key_database_passwort', 'TYPO3_CONF_VARS__DB__Connections__Default__password');
set('env_key_database_name', 'TYPO3_CONF_VARS__DB__Connections__Default__dbname');