mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
Single generic package name for white-label compatibility. - git mv src/backend/base/hanzoflow/ -> src/backend/base/flow/ - git rm src/backend/base/langflow/ (compat shim, no longer needed) - git mv src/backend/hanzoflow/ -> src/backend/flow/ (root package) - Rename langflow_launcher.py -> launcher.py - Update all Python imports: from langflow/hanzoflow -> from flow - Update all string module references in mock targets, JSON data files - Update pyproject.toml entry points, hatch build targets, mypy/codeflash config - Update Dockerfile, Makefile, compose files, CI workflows, codecov.yml - Rename internal classes: HanzoflowApplication -> FlowApplication, etc. - Update alembic.ini database name - Keep PyPI package names (hanzoflow, langflow-base) unchanged - Keep LANGFLOW_* env var names for backwards compatibility
30 lines
810 B
YAML
30 lines
810 B
YAML
services:
|
|
flow:
|
|
image: ghcr.io/hanzoai/flow:latest # or another version tag on https://hub.docker.com/r/ghcr.io/hanzoai/flow
|
|
pull_policy: always # set to 'always' when using 'latest' image
|
|
ports:
|
|
- "7860:7860"
|
|
depends_on:
|
|
- postgres
|
|
environment:
|
|
- LANGFLOW_DATABASE_URL=postgresql://flow:flow@postgres:5432/flow
|
|
# This variable defines where the logs, file storage, monitor data and secret keys are stored.
|
|
- LANGFLOW_CONFIG_DIR=/app/flow
|
|
volumes:
|
|
- flow-data:/app/flow
|
|
|
|
postgres:
|
|
image: postgres:16
|
|
environment:
|
|
POSTGRES_USER: flow
|
|
POSTGRES_PASSWORD: flow
|
|
POSTGRES_DB: flow
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- flow-postgres:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
flow-postgres:
|
|
flow-data:
|