Files
clientsflow/compose.yaml

37 lines
866 B
YAML

services:
frontend:
image: node:22-bookworm-slim
working_dir: /app/Frontend
volumes:
- .:/app
- clientsflow_data:/app/.data
ports:
- "3000:3000"
environment:
DATABASE_URL: "file:../../.data/clientsflow-dev.db"
REDIS_URL: "redis://redis:6379"
CF_AGENT_MODE: "langgraph"
OPENAI_MODEL: "gpt-4o-mini"
GIGACHAT_AUTH_KEY: "${GIGACHAT_AUTH_KEY:-}"
GIGACHAT_MODEL: "${GIGACHAT_MODEL:-GigaChat-2-Max}"
GIGACHAT_SCOPE: "${GIGACHAT_SCOPE:-GIGACHAT_API_PERS}"
# Set this in your shell or a compose override:
# OPENAI_API_KEY: "..."
command: >
bash -lc "
./scripts/compose-dev.sh
"
depends_on:
- redis
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redis_data:/data
volumes:
clientsflow_data:
redis_data: