-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwordpress.skeleton
107 lines (107 loc) · 2.11 KB
/
wordpress.skeleton
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
{
name: `Wordpress`,
description: `Open source software you can use to create a beautiful website, blog, or app.`,
uuid: `9A6C3BAB-68EC-49BB-9914-D4F7AAFB7CA6`,
image: `wordpress:latest`,
tags: [
`Blog`,
`Web`
],
delay: 5,
actions: [
{
type: `Text`,
text: `All configuration takes place in the Wordpress app.`
},
{
type: `SetEnvironment`,
name: `DB_NAME`,
value: `wp`
},
{
type: `SetEnvironment`,
name: `DB_ROOT_PASSWORD`,
value: `wp-password`
}
],
properties: [
{
type: `Environment`,
name: `WORDPRESS_DB_HOST`,
value: `127.0.0.1`
},
{
type: `Environment`,
name: `WORDPRESS_DB_NAME`,
value: `{{DB_NAME}}`
},
{
type: `Environment`,
name: `WORDPRESS_DB_USER`,
value: `root`
},
{
type: `Environment`,
name: `WORDPRESS_DB_PASSWORD`,
value: `{{DB_ROOT_PASSWORD}}`
},
{
type: `File`,
name: `/usr/local/etc/php/conf.d/conf.ini`
},
{
type: `Directory`,
name: `/var/www/html`,
use: `wp-app`
},
{
type: `Port`,
name: `80/tcp`,
protocol: `TCP`,
port: 80,
web: {
path: `/`,
tab: `newtab`
}
},
{
type: `Network`,
name: `primary`,
value: `home`
}
],
secondary: [
{
image: `mysql:latest`,
properties: [
{
type: `Arguments`,
value: [
`--default_authentication_plugin=mysql_native_password`,
`--character-set-server=utf8mb4`,
`--collation-server=utf8mb4_unicode_ci`
]
},
{
type: `Environment`,
name: `MYSQL_DATABASE`,
value: `{{DB_NAME}}`
},
{
type: `Environment`,
name: `MYSQL_ROOT_PASSWORD`,
value: `{{DB_ROOT_PASSWORD}}`
},
{
type: `Directory`,
name: `/docker-entrypoint-initdb.d`
},
{
type: `Directory`,
name: `/var/lib/mysql`,
use: `db_data`
}
]
}
]
}