langflow/docker-compose.yml
2023-03-15 14:40:07 -03:00

25 lines
557 B
YAML

version: '3'
services:
backend:
build:
context: ./
dockerfile: ./dev.Dockerfile
ports:
- "5003:5003"
volumes:
- ./:/app
platform: linux/amd64
command: bash -c "uvicorn langflow_backend.main:app --host 0.0.0.0 --port 5003 --reload"
frontend:
build:
context: ./langflow/frontend
dockerfile: ./dev.Dockerfile
ports:
- "3000:3000"
volumes:
- ./langflow/frontend:/app
# Set process.env.BACKEND to the backend service
environment:
- BACKEND="http://backend:5003"