-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvaletbp-config-sample.php
139 lines (124 loc) · 3.25 KB
/
valetbp-config-sample.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
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
130
131
132
133
134
135
136
137
138
139
<?php
return [
'site' => [
'title' => 'example title',
'secure' => true,
],
/**
* This user data is used during site creation and is also used as part of the automatic login process.
*/
'auth' => [
'username' => 'admin',
'email' => 'user@example.com',
'password' => 'password',
],
'db' => [
'name' => 'example_db_name',
'user' => 'root',
'password' => '',
'host' => 'localhost',
'charset' => 'utf8',
'collate' => '',
'table_prefix' => 'wp_',
],
'urls' => [
'prod' => [
'protocol' => 'https:',
'host' => 'example.com',
],
'dev' => [
'protocol' => 'https:',
'host' => 'example.com.test',
],
],
/**
* Defines plugins to install and activate as part of the initial install process.
*/
'install' => [
'themes' => [
// the first theme listed will be activate on installation
//'twentynineteen',
],
'plugins' => [
'query-monitor',
'wp-smtp-config',
],
],
/**
* Defines plugins to install and activate along with plugins to deactivate during the `wp valetdb sync` command.
* If a string is provided, it is treated as the WordPress.org slug. If any other src is needed here, use an array
* with the 'slug' and 'src' keys.
*
* If 'src' => FALSE, the plugin will be skipped from installation. This is useful if the wp plugin install command
* results in an error where a plugin isn't available via WordPress.org.
*/
'sync' => [
'plugins' => [
'activate' => [
'query-monitor',
'wp-smtp-config',
'log-emails',
[ 'slug' => 'wp-migrate-db-pro', 'src' => false ],
],
'deactivate' => [],
],
],
/**
* WP Migrate DB Pro
*
* This is being installed using Composer and will need a composer API key in order for that to happen.
* @see https://deliciousbrains.com/wp-migrate-db-pro/doc/installing-via-composer/
*/
'wpmdbpro' => [
'license_key' => '',
'remote_key' => '',
'strings_to_replace' => [
'//example.com' => '//example.com.test',
'/remote/path' => '/Users/SYSTEM_USERNAME/Sites/valet/example.com',
],
'tables_to_migrate' => [],
'exclude_spam' => true,
],
'acf' => [
'key' => '',
],
/**
* Attempt to load uploads from remote domain when the file doesn't exist locally.
* Set to FALSE to disable.
*/
'remote_uploads' => [
'uri_base' => '/wp-content/uploads/'
],
/**
* Configured for brew-installed MailHog running at http://localhost:8025/. These settings are set up as constants
* in wp-config.php for use by the wp-smtp-config plugin.
*
* @see https://wordpress.org/plugins/wp-smtp-config/
* @see https://pascalbaljetmedia.com/en/blog/setup-mailhog-with-laravel-valet
*/
'smtp' => [
'host' => '0.0.0.0',
'port' => 1025,
'encryption' => null,
'user' => 'testuser',
'password' => 'testpwd',
'from' => 'Local Dev <email@localdev.com>',
'replyto' => 'Local Dev <email@localdev.com>',
'test' => [
'to' => 'test@email.com',
'subject' => 'SMTP Test',
'message' => 'If you received this email it means you have configured SMTP correctly on your WordPress website.',
'mailhog_url' => 'http://localhost:8025/',
]
],
/**
* Define log file paths
*/
'logs' => [
'dev' => dirname( __FILE__ ) . '/logs/dev.log',
'debug' => dirname( __FILE__ ) . '/logs/debug.log',
],
'google_maps' => [
'api_key' => ''
],
];