product:up

Start the active product and all its declared features using Docker Compose.


Development environment

Start (dev)

splent product:up --dev

Uses, in order:

  • docker-compose.dev.yml (preferred)
  • docker-compose.yml (fallback)

Production environment

Start (prod)

splent product:up --prod

Uses, in order:

  • docker-compose.prod.yml (preferred)
  • docker-compose.yml (fallback)

Description

This command:

  • Reads the declared features from the active product pyproject.toml.
  • For each feature, launches its Docker Compose stack from the cached feature directory:
    • <workspace>/.splent_cache/features/<feature>/docker/
  • Launches the product Docker Compose stack last from:
    • <workspace>/<product>/docker/

Each stack is started with docker compose up -d using an isolated compose project name derived from the component name and the environment.


Requirements

  • A product must be selected (SPLENT_APP set).
  • The product must contain pyproject.toml.
  • Each component (feature/product) must provide a Docker Compose file under its docker/ directory.