-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·70 lines (66 loc) · 1.7 KB
/
docker-compose.yml
File metadata and controls
executable file
·70 lines (66 loc) · 1.7 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
services:
db:
image: mariadb:12
container_name: pluginpass-db
restart: unless-stopped
env_file: .env
command: >
--character-set-server=utf8mb4
--collation-server=utf8mb4_unicode_ci
--skip-innodb-read-only-compressed
volumes:
- db_data:/var/lib/mysql
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 20
wordpress:
depends_on:
db:
condition: service_healthy
build: ./dockerfiles
container_name: pluginpass-wordpress
restart: unless-stopped
ports:
- "8000:80"
env_file: .env
environment:
WORDPRESS_DEBUG: 1
WORDPRESS_DEBUG_LOG: 1
WORDPRESS_DEBUG_DISPLAY: 0
WORDPRESS_CONFIG_EXTRA: |
define('WP_ENVIRONMENT_TYPE', 'local');
define('SCRIPT_DEBUG', true);
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
volumes:
- ./pluginpass-pro-plugintheme-licensing:/plugins-external/pluginpass-pro-plugintheme-licensing
- ./pluginpass-demo:/plugins-external/pluginpass-demo
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/wp-login.php"]
interval: 30s
timeout: 10s
retries: 5
phpmyadmin:
image: phpmyadmin:latest
container_name: pluginpass-phpmyadmin
depends_on:
db:
condition: service_healthy
restart: unless-stopped
ports:
- "8080:80"
env_file: .env
environment:
PMA_HOST: db
mailhog:
image: mailhog/mailhog
container_name: pluginpass-mailhog
platform: linux/amd64
restart: unless-stopped
ports:
- "8025:8025"
- "1025:1025"
volumes:
db_data: