Skip to content

Commit 4469657

Browse files
committed
Bump healthcheck interval to 10s
1 parent b7ac5e1 commit 4469657

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/django-channels-redis-postgres/compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ services:
1818
# wget or curl required for healthchecks on services with a published port
1919
# this gets parsed by Defang and provided to the load balancers as well
2020
test: ["CMD", "python3", "-c", "import sys, urllib.request; urllib.request.urlopen(sys.argv[1]).read()", "http://localhost:8000/"]
21+
interval: 10s
2122
depends_on:
2223
- redis-service
2324
- postgres-service

0 commit comments

Comments
 (0)