fix: unable to start api

This commit is contained in:
Marvin Zhang
2024-11-22 21:19:17 +08:00
parent 7a322ae6c8
commit 858e5c2b89
6 changed files with 78 additions and 27 deletions

View File

@@ -314,6 +314,11 @@ jobs:
env:
CRAWLAB_NODE_MASTER: N
CRAWLAB_MASTER_HOST: master
options: >-
--health-cmd "curl -f http://localhost:8000/health || exit 1"
--health-interval 30s
--health-timeout 10s
--health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v4