Skip to content

Commit eb7648e

Browse files
committed
minor: optimize docker compose service config
1 parent fd960fb commit eb7648e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ services:
3434
networks:
3535
services:
3636
- ipv4_address: 10.0.8.252
37+
healthcheck:
38+
test: ['CMD', 'curl', '-k', '-f', 'https://127.0.0.1:443']
39+
retries: 3
40+
timeout: 5s
41+
interval: 1m30s
42+
start_period: 10s
3743
depends_on:
3844
step:
3945
condition: service_healthy

0 commit comments

Comments
 (0)