Skip to content

Commit 4e83e64

Browse files
committed
Update docker-compose.yml
1 parent 4a7672c commit 4e83e64

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
@@ -24,6 +24,12 @@ services:
2424
links:
2525
- database
2626
- redis
27+
healthcheck:
28+
test: ["CMD-SHELL", "curl -fk https://${DOMAIN_NAME} || exit 1"]
29+
interval: 6s
30+
timeout: 5s
31+
retries: 4
32+
start_period: 60s
2733
environment:
2834
TZ: '${LOCAL_TIMEZONE}'
2935
labels:

0 commit comments

Comments
 (0)