fix: change default port

Port change to make it easier to deploy to spaces
This commit is contained in:
Gabriel Almeida 2023-03-17 16:47:27 -03:00
commit 19af1e1996
5 changed files with 10 additions and 12 deletions

View file

@ -6,10 +6,10 @@ services:
context: ./
dockerfile: ./dev.Dockerfile
ports:
- "5003:5003"
- "7860:7860"
volumes:
- ./:/app
command: bash -c "uvicorn langflow.main:app --host 0.0.0.0 --port 5003 --reload"
command: bash -c "uvicorn langflow.main:app --host 0.0.0.0 --port 7860 --reload"
frontend:
build:
@ -21,4 +21,6 @@ services:
- ./src/frontend:/app
# Set process.env.BACKEND to the backend service
environment:
- BACKEND="http://backend:5003"
- BACKEND_HOST="http://backend"
- BACKEND_PORT="7860"
restart: on-failure