-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.override.yaml
executable file
·46 lines (43 loc) · 1.12 KB
/
compose.override.yaml
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
services:
php:
env_file:
- path: .env.prod.local
required: false
depends_on:
db:
condition: service_healthy
healthcheck:
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
php-worker:
env_file:
- path: .env.prod.local
required: false
healthcheck:
test: ['CMD', 'supervisorctl', 'status']
interval: 5s
timeout: 5s
retries: 3
depends_on:
php:
condition: service_healthy
db:
condition: service_healthy
db:
env_file:
- path: .env.prod.local
required: false
healthcheck:
test: ['CMD', 'healthcheck.sh', '--connect', '--innodb_initialized']
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
phpmyadmin:
environment:
HIDE_PHP_VERSION: true
depends_on:
db:
condition: service_healthy