-
Notifications
You must be signed in to change notification settings - Fork 32
/
wordpress.pmx
45 lines (41 loc) · 1.15 KB
/
wordpress.pmx
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
name: Wordpress with MySQL
description: Wordpress container linked to a MySQL container
keywords: wordpress, mysql, public
recommended: true
documentation: |
Wordpress with MySQL
============================
The alias for the link between Wordpress and MySQL needs to be _DB_1_. If this is changed, the template will not work.
Also, the password can be changed, but the environmental variables need to be changed on both services.
To view the GUI after launching the template go to http://10.0.0.200:8080 or http://panamax.local:8080 in a browser
authors:
type: wordpress
images:
- name: WP
source: centurylink/wordpress:3.9.1
description: Wordpress
environment:
- variable: DB_PASSWORD
value: pass@word01
- variable: DB_NAME
value: wordpress
links:
- service: DB
alias: DB_1
ports:
- host_port: 8080
container_port: 80
category: Web Tier
type: wordpress
- name: DB
source: centurylink/mysql:5.5
description: MySQL
environment:
- variable: MYSQL_ROOT_PASSWORD
value: pass@word01
ports:
- host_port: 3306
container_port: 3306
category: DB Tier
type: mysql