This commit is contained in:
Yuhong Sun 2024-09-15 10:32:58 -07:00 committed by GitHub
parent 290f4f0f8c
commit 3ff2ba7ee4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,13 +83,12 @@ jobs:
docker compose -f docker-compose.dev.yml -p danswer-stack up -d
id: start_docker
- name: Stream API server logs
run: docker logs -f danswer-stack-api_server-1 &
- name: Wait for service to be ready
run: |
echo "Starting wait-for-service script..."
docker logs -f danswer-stack-api_server-1 &
start_time=$(date +%s)
timeout=300 # 5 minutes in seconds