-
Notifications
You must be signed in to change notification settings - Fork 94
/
concrete5-mcclanahan.pmx
66 lines (54 loc) · 2.22 KB
/
concrete5-mcclanahan.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Concrete5 with MySQL
description: Concrete5 container linked to a MySQL container
keywords: concrete5, mysql, all
recommended: true
documentation: |
#Concrete5 with MySQL#
This template will install concrete5 version 5.6.3.1 on one container and link to a new MySQL database container.
##System Requirements##
Recommended 2 Cores, 2GB of RAM
##Setup##
The alias for the link between Concrete5 and MySQL needs to be DB_1. If this is changed, the template will not be able to create the concrete5 database.
The password can be changed, but the environmental variables will need to be changed on both services.
##Port-Forwarding##
The template has been setup to allow access from the CoreOS to the webserver on port 8080. To get access from your local machine create a port forward on the VirtualBox by entering the following at a terminal:
VboxManage controlvm panamax-vm natpf1 rule,tcp,,8997,,8080
This allows the local machine to connect to the concrete5 app by going to http://127.0.0.1:8997 in a browser.
Detailed instructions can be found at [https://github.com/CenturyLinkLabs/panamax-ui/wiki/How-To%3A-Port-Forwarding-on-VirtualBox](https://github.com/CenturyLinkLabs/panamax-ui/wiki/How-To%3A-Port-Forwarding-on-VirtualBox)
##Post-Run Instructions##
After the template has launched and you have port forwarding setup as described above go to http://127.0.0.1:8997 in a browser and follow the concrete5 install steps. Use the following information to get started quiclky:
Server: DB_1
MySQL Username: root
MySQL Password: pass@word01
Database Name: concrete5
authors:
type: concrete5
images:
- 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
- name: Concrete5
source: mcclanahan/docker-concrete5:latest
description: concrete5
environment:
- variable: DB_PASSWORD
value: pass@word01
- variable: DB_NAME
value: concrete5
links:
- service: DB
alias: DB_1
ports:
- host_port: 8080
container_port: 80
category: Web Tier
type: Default