Files
langchain-browser/docker-compose.yml
T
nafer 851681bc92 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.
2026-02-25 01:57:18 +03:00

21 lines
549 B
YAML

version: '3.8'
services:
langflow:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
environment:
LANGFLOW_SECRET_KEY: ${LANGFLOW_SECRET_KEY:-changeme}
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
OPENROUTER_BASE_URL: https://openrouter.ai/api/v1
BROWSERLESS_API_URL: http://browserless.home
BROWSER_HEADLESS: "true"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7860/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s