Files
flow/docker_example/pre.docker-compose.yml
T
2025-03-28 22:44:48 +00:00

31 lines
740 B
YAML

version: "3.8"
services:
hanzoflow:
image: hanzoflowai/hanzoflow:1.0-alpha
ports:
- "7860:7860"
depends_on:
- postgres
environment:
- HANZOFLOW_DATABASE_URL=postgresql://hanzoflow:hanzoflow@postgres:5432/hanzoflow
# This variable defines where the logs, file storage, monitor data and secret keys are stored.
- HANZOFLOW_CONFIG_DIR=app/hanzoflow
volumes:
- hanzoflow-data:/app/hanzoflow
postgres:
image: postgres:16
environment:
POSTGRES_USER: hanzoflow
POSTGRES_PASSWORD: hanzoflow
POSTGRES_DB: hanzoflow
ports:
- "5432:5432"
volumes:
- hanzoflow-postgres:/var/lib/postgresql/data
volumes:
hanzoflow-postgres:
hanzoflow-data: