build(docker): map port 7860 to host

Changed from 'expose' to 'ports' to make the Langflow service accessible from the host machine rather than only to linked services.
This commit is contained in:
nafer committed 2026-02-25 01:57:18 +03:00
1 parent 806b998293
commit 851681bc92
1 file changed
-3
-3
View File
@@ -5,10 +5,7 @@ services:
build:
context: .
dockerfile: Dockerfile
container_name: langflow
restart: unless-stopped
ports:
- "7860:7860"
environment:
LANGFLOW_SECRET_KEY: ${LANGFLOW_SECRET_KEY:-changeme}
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}