-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwp-instances.json
More file actions
52 lines (52 loc) · 1.44 KB
/
wp-instances.json
File metadata and controls
52 lines (52 loc) · 1.44 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
{
"instanceName": "my-local-wordpress",
"containerPort": 8060,
"phpVersion": "7.3",
"wordpressVersion": "latest",
"locale": "en_US",
"image": "my/wordpress/container/image.tar",
"uploads": "my/uploads/folder",
"database": {
"mysqlDumpfile": "dumpfiles/testdatabase.sql",
"flushOnRestart": false,
"dbName": "dbname",
"dbPrefix": "dbprefix_"
},
"env": {
"ARBITRARY_ENVIRONMENT_VARIABLE_1": "value1",
"ARBITRARY_ENVIRONMENT_VARIABLE_2": "value2",
"WP_DEBUG": 1,
"WP_DEBUG_DISPLAY": 1
},
"customInitScripts": [
"/absolute/path/to/script",
"relative/path/to/script",
"../relative/path/to/script"
],
"downloadPlugins": ["wordpress-plugin-1", "wordpress-plugin-2"],
"downloadThemes": ["wordpress-theme-1", "wordpress-theme-2"],
"localPlugins": [
"/absolute/path/to/plugin/directory",
"relative/path/to/plugin/directory",
"../relative/path/to/plugin/directory"
],
"localThemes": [
"/absolute/path/to/theme/directory",
"relative/path/to/theme/directory",
"../relative/path/to/theme/directory"
],
"ftp": [
{
"confname": "my-ftp-config",
"plugins": ["relative/path/to/plugin/zipfile/noextension"],
"themes": ["relative/path/to/theme/zipfile/noextension"]
}
],
"ssh": [
{
"confname": "my-ssh-config",
"plugins": ["relative/path/to/plugin/zipfile/noextension"],
"themes": ["relative/path/to/theme/zipfile/noextension"]
}
]
}