Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

fix: Unable to resolve Docling URL via Langflow on Linux

Mike Pawlowskibbfa9270114a
diff --git a/Makefile b/Makefile
index 5859f6858..18c21d42a 100644
--- a/Makefile
+++ b/Makefile
@@ -986,7 +986,13 @@ health: ## Check health of all services
@echo "$(CYAN)Frontend:$(NC) $$(curl -s http://localhost:3000/health 2>/dev/null || echo '$(RED)Not responding$(NC)')"
@echo "$(CYAN)Backend:$(NC) $$(curl -s http://localhost:8000/health 2>/dev/null || echo '$(RED)Not responding$(NC)')"
@echo "$(CYAN)Langflow:$(NC) $$(curl -s http://localhost:7860/health 2>/dev/null || echo '$(RED)Not responding$(NC)')"
- @echo "$(CYAN)OpenSearch:$(NC) $$(curl -s -k -u admin:$${OPENSEARCH_PASSWORD} https://localhost:9200 2>/dev/null | jq -r .tagline 2>/dev/null || echo '$(RED)Not responding$(NC)')"
+ @echo "$(CYAN)OpenSearch:$(NC) $$( \
+ curl -s -k -u ${OPENSEARCH_USERNAME}:${OPENSEARCH_PASSWORD} \
+ https://localhost:9200/_cluster/health 2>/dev/null \
+ | jq -c '{status: (.status // "Not responding")}' 2>/dev/null \
+ || echo '{"status":"Not responding"}' \
+ )"
+ @echo "$(CYAN)Docling:$(NC) $$(curl -s http://localhost:5001/health 2>/dev/null || echo '$(RED)Not responding$(NC)')"
######################
# DATABASE OPERATIONS
diff --git a/docker-compose.yml b/docker-compose.yml
index 014b126cf..7bc8d844d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -110,6 +110,9 @@ services:
- ${OPENRAG_FLOWS_PATH:-./flows}:/app/flows:U,z
- ${OPENRAG_CONFIG_PATH:-./config}:/app/config:U,z
- ${OPENRAG_DATA_PATH:-./data}:/app/data:U,z
+ # Linux: Docker Engine does not auto-inject host.docker.internal; map it to the host gateway
+ extra_hosts:
+ - "host.docker.internal:host-gateway"
openrag-frontend:
image: langflowai/openrag-frontend:${OPENRAG_VERSION:-latest}
@@ -125,11 +128,6 @@ services:
- "${FRONTEND_PORT:-3000}:3000"
langflow:
- volumes:
- - ${OPENRAG_FLOWS_PATH:-./flows}:/app/flows:U,z
- - ${LANGFLOW_DATA_PATH:-./langflow-data}:/app/langflow-data:U,z
- extra_hosts:
- - "host.docker.internal:host-gateway"
image: langflowai/openrag-langflow:${OPENRAG_VERSION:-latest}
build:
context: .
@@ -137,6 +135,12 @@ services:
container_name: langflow
ports:
- "${LANGFLOW_PORT:-7860}:7860"
+ volumes:
+ - ${OPENRAG_FLOWS_PATH:-./flows}:/app/flows:U,z
+ - ${LANGFLOW_DATA_PATH:-./langflow-data}:/app/langflow-data:U,z
+ # Linux: Docker Engine does not auto-inject host.docker.internal; map it to the host gateway
+ extra_hosts:
+ - "host.docker.internal:host-gateway"
environment:
- LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY:-}
- LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY:-}