fix: docker-compose now creates a working dev environment

#21
This commit is contained in:
Gabriel Almeida 2023-03-15 14:40:07 -03:00
commit 03430c7944
3 changed files with 19 additions and 12 deletions

View file

@ -9,13 +9,17 @@ services:
- "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: ./langflow/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
- BACKEND="http://backend:5003"