Skip to content

Commit d024f61

Browse files
committed
Update docker-compose.yml
1 parent 022b533 commit d024f61

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ services:
2525
- database
2626
- redis
2727
- varnish
28+
healthcheck:
29+
test: ["CMD-SHELL", "curl -fk https://${DOMAIN_NAME} || exit 1"]
30+
interval: 10s
31+
timeout: 5s
32+
retries: 4
33+
start_period: 30s
2834
environment:
2935
WORDPRESS_DB_HOST: 'database'
3036
WORDPRESS_DB_USER: '${WORDPRESS_DB_USER}'

0 commit comments

Comments
 (0)