-
Notifications
You must be signed in to change notification settings - Fork 0
/
cegi.pmx
113 lines (108 loc) · 2.97 KB
/
cegi.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
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
name: Auto cAdvisor
description: A Docker Container metrics dashboard with Grafana, InfluxDB and ElasticSearch
keywords: cAdvisor, grafana, influxdb, elasticsearch, all
recommended:
type: Default
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, map your local host machine to port _8080_. If using Virtual Box, use the following command in your terminal to create the port forwarding rule:
`VboxManage controlvm panamax-vm natpf1 wordpress,tcp,,8997,,8080`
Where, wordpress is the friendly name of the rule, tcp is the protocol. Replace port _8997_ with the local free port of your choice. If you change the port bindings on the Wordpress service, _8080_ will need to be changed to match that too.
After you run this command locally, browse to **http://localhost:8997** to see the GUI, as per the example.
authors:
images:
- category:
name: influxdb
source: tutum/influxdb:latest
description:
type: Default
expose: []
ports:
- host_port: '8086'
container_port: '8086'
- host_port: '8083'
container_port: '8083'
links: []
environment:
- variable: PRE_CREATE_DB
value: cadvisor
volumes: []
- category:
name: cadvisor
source: tifayuki/cadvisor:latest
description:
type: Default
expose: []
ports:
- host_port: '8080'
container_port: '8080'
links:
- service: influxdb
alias: influxdb
environment:
- variable: DB_NAME
value: cadvisor
- variable: DB_USER
value: root
- variable: DB_PASS
value: root
volumes:
- host_path: "/var/run"
container_path: "/var/run"
- host_path: "/sys/fs/cgroup/"
container_path: "/sys/fs/cgroup/"
- host_path: "/var/lib/docker/"
container_path: "/var/lib/docker/"
- category:
name: elasticsearch
source: tutum/elasticsearch
description:
type: Default
expose: []
ports:
- host_port: '9200'
container_port: '9200'
links: []
environment:
- variable: ELASTICSEARCH_USER
value: admin
- variable: ELASTICSEARCH_PASS
value: password
volumes: []
- category:
name: grafana
source: tutum/grafana:latest
description:
type: Default
expose: []
ports:
- host_port: '80'
container_port: '80'
links: []
environment:
- variable: INFLUXDB_HOST
value: localhost
- variable: INFLUXDB_PORT
value: 8086
- variable: INFLUXDB_NAME
value: cadvisor
- variable: INFLUXDB_USER
value: root
- variable: INFLUXDB_PASS
value: root
- variable: ELASTICSEARCH_HOST
value: localhost
- variable: ELASTICSEARCH_PORT
value: 9200
- variable: ELASTICSEARCH_USER
value: admin
- variable: ELASTICSEARCH_PASS
value: password
- variable: HTTP_USER
value: adminGrafana
- variable: HTTP_PASS
value: passGrafana
volumes: []