product:down

Stop the active product and its features using Docker Compose.


Development environment

Stop (dev)

splent product:down --env dev

Production environment

Stop (prod)

splent product:down --env prod

Description

This command:

  • Stops the product Docker Compose stack first.
  • Then stops all declared feature stacks.
  • Uses docker compose down for each component.
  • If --v is provided, also removes volumes (docker compose down -v) after confirmation.

Compose files are resolved in this order:

  • docker-compose.<env>.yml (preferred)
  • docker-compose.yml (fallback)

Options

--env <dev|prod>

Selects which compose file variant to use.

--v

Removes volumes for the product and all its features (asks before proceeding).


Requirements

  • A product must be selected (SPLENT_APP set).
  • The product must contain pyproject.toml.