File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ jobs:
167
167
cleanup_container
168
168
169
169
echo "Starting Ollama container (Attempt $(($retry_count + 1))/$MAX_RETRIES)"
170
- docker run -d -v ollama:/root/.ollama --network host --name ollama ollama/ollama
170
+ docker run -d -v ollama:/root/.ollama --network host --name ollama -e OLLAMA_LOG_LEVEL=DEBUG ollama/ollama
171
171
172
172
# Wait for endpoint to be available
173
173
endpoint_wait=0
@@ -191,7 +191,7 @@ jobs:
191
191
192
192
# Monitor container and model status
193
193
monitor_count=0
194
- while [ $monitor_count -lt 60 ]; do # 5 minute timeout per attempt
194
+ while [ $monitor_count -lt 90 ]; do # 7.5 minutes
195
195
# Check if container is still running
196
196
if ! docker ps | grep -q ollama; then
197
197
echo "Container crashed, logs:"
@@ -206,12 +206,12 @@ jobs:
206
206
exit 0 # Success!
207
207
fi
208
208
209
- echo "Model not ready yet. Waiting... ($(($monitor_count + 1))/60 )"
209
+ echo "Model not ready yet. Waiting... ($(($monitor_count + 1))/90 )"
210
210
sleep 5
211
211
monitor_count=$((monitor_count + 1))
212
212
done
213
213
214
- if [ $monitor_count -eq 60 ]; then
214
+ if [ $monitor_count -eq 90 ]; then
215
215
echo "Timeout waiting for model, container logs:"
216
216
docker logs ollama
217
217
retry_count=$((retry_count + 1))
You can’t perform that action at this time.
0 commit comments