-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
66 lines (61 loc) · 1.6 KB
/
docker-compose.yml
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
version: '3.7'
services:
pm_wordpress:
image: wordpress:latest
volumes:
- wordpress:/var/www/html:rw
- .:/var/www/html/wp-content/plugins/plebeian_market:ro
ports:
- "8000:80"
restart: always
environment:
- WORDPRESS_DB_HOST=pm_wordpress_db
- WORDPRESS_DB_USER=wordpress
- WORDPRESS_DB_PASSWORD=wordpress
- WORDPRESS_DB_NAME=wordpress
depends_on:
- pm_wordpress_db
pm_wordpress_db:
image: mariadb
command: '--default-authentication-plugin=mysql_native_password'
volumes:
- plebeian_market_wordpress_plugin_db_data:/var/lib/mysql
restart: always
environment:
- MYSQL_ROOT_PASSWORD=pass4root
- MYSQL_DATABASE=wordpress
- MYSQL_USER=wordpress
- MYSQL_PASSWORD=wordpress
expose:
- 3306
- 33060
pb_wordpress_db_phpmyadmin:
image: phpmyadmin
restart: always
ports:
- "8080:80"
environment:
- MYSQL_USERNAME=root
- MYSQL_ROOT_PASSWORD=pass4root
- PMA_HOST=pm_wordpress_db
depends_on:
- pm_wordpress_db
pm_wordpress_cli:
image: wordpress:cli
command: tail -f /dev/null
volumes:
- wordpress:/var/www/html:rw
- .:/var/www/html/wp-content/plugins/plebeian_market:ro
- ./assets:/var/www/html/assets:ro
environment:
- WORDPRESS_DB_HOST=pm_wordpress_db
- WORDPRESS_DB_USER=wordpress
- WORDPRESS_DB_PASSWORD=wordpress
- WORDPRESS_DB_NAME=wordpress
depends_on:
- pm_wordpress
- pm_wordpress_db
user: "33:33"
volumes:
plebeian_market_wordpress_plugin_db_data:
wordpress: