Skip to content

Commit 318f281

Browse files
authored
Update caddy.md
1 parent 9086117 commit 318f281

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/administration/docker/caddy.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ services:
3737
volumes:
3838
- espocrm-db:/var/lib/mysql
3939
restart: always
40+
healthcheck:
41+
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
42+
interval: 20s
43+
start_period: 10s
44+
timeout: 10s
45+
retries: 3
4046
4147
espocrm:
4248
image: espocrm/espocrm
@@ -53,7 +59,8 @@ services:
5359
- espocrm:/var/www/html
5460
restart: always
5561
depends_on:
56-
- espocrm-db
62+
espocrm-db:
63+
condition: service_healthy
5764
expose:
5865
- 80
5966

0 commit comments

Comments
 (0)