product:down

Stop the active product and its features using Docker Compose.


Usage

splent product:down [--dev | --prod] [-v]

Options

Option Description
--dev Stop the development environment (compose files: docker-compose.dev.yml or docker-compose.yml).
--prod Stop the production deployment (docker-compose.deploy.yml).
-v Remove volumes for the product and all its features (asks for confirmation).

If neither --dev nor --prod is provided, the command auto-detects which environment is currently running and stops it.


Description

This command:

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

Examples

splent product:down --dev       # Stop the dev environment
splent product:down --prod      # Stop the production deployment
splent product:down --prod -v   # Stop prod and remove volumes
splent product:down             # Auto-detect and stop whichever is running

Requirements

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

Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es