mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
Cleaned the concurrent session's half-rebrand inconsistency (166 files): - pip/pypi refs hanzoflow -> hanzo-flow (matches hanzo-flow-base/sdk) - module paths/commands/devcontainer hanzoflow -> flow (the import name + CLI) - env vars HANZOFLOW_ -> FLOW_ (was inconsistent with the LANGFLOW_->FLOW_ sweep) - fixed a stale src/backend/base/hanzoflow/ path that didn't exist - product display HanzoFlow -> 'Hanzo Flow' in docs; kept HanzoFlow only as a code identifier where a space is illegal Canonical: pip install hanzo-flow / import flow / `flow` CLI. compileall clean.
38 lines
838 B
YAML
38 lines
838 B
YAML
version: "3"
|
|
networks:
|
|
flow:
|
|
|
|
services:
|
|
backend:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./dev.Dockerfile
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "7860:7860"
|
|
volumes:
|
|
- ./:/app
|
|
command: bash -c "uvicorn --factory flow.main:create_app --host 0.0.0.0 --port 7860 --reload --loop asyncio"
|
|
networks:
|
|
- flow
|
|
frontend:
|
|
build:
|
|
context: ./src/frontend
|
|
dockerfile: ./cdk.Dockerfile
|
|
args:
|
|
- BACKEND_URL=http://backend:7860
|
|
depends_on:
|
|
- backend
|
|
environment:
|
|
- VITE_PROXY_TARGET=http://backend:7860
|
|
ports:
|
|
- "8080:3000"
|
|
volumes:
|
|
- ./src/frontend/public:/home/node/app/public
|
|
- ./src/frontend/src:/home/node/app/src
|
|
- ./src/frontend/package.json:/home/node/app/package.json
|
|
restart: on-failure
|
|
networks:
|
|
- flow
|