Skip to content

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

Python

fix: add extra_hosts for hostname resolution in Langflow on Linux

bekzodrakhmonov70898fb40dae4
diff --git a/docker-compose.yml b/docker-compose.yml
index f0fd620a5..014b126cf 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -128,6 +128,8 @@ services:
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: .