-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_compose_wordpress_v2.yml
More file actions
53 lines (49 loc) · 1.13 KB
/
example_compose_wordpress_v2.yml
File metadata and controls
53 lines (49 loc) · 1.13 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
53
version: '2'
services:
db:
image: jorgeandrada/mariadb-pmm:latest
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
restart: always
depends_on:
- pmmserver
environment:
MYSQL_ROOT_PASSWORD: root
wordpress:
depends_on:
- db
image: wordpress:latest
ports:
- "8082:80"
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_PASSWORD: root
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
pmmserver:
image: percona/pmm-server
ports:
- 81:80
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
pmmclient:
image: jorgeandrada/pmmclient:latest
environment:
PMM_SERVER: pmmserver
PMM_SERVER_PORT: 80
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: root
MYSQL_HOST: db
PMM_CLIENT_PASSWORD: monitoring
WAITTIME: 30
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./pmm:/usr/local/percona/pmm-client
depends_on:
- pmmserver
- db