Skip to main content

Stopping Services

Stop But Keep Data

docker compose down

This stops and removes containers but preserves the database volume. All data remains intact.

Stop And Delete ALL Data

⚠️ WARNING: This deletes all inventory data permanently:

docker compose down -v

The -v flag removes volumes, including the database. Use only when:

  • You want to start completely fresh
  • You're done testing and want to clean up
  • You've backed up data elsewhere

Stop Single Service

docker compose stop backend
docker compose stop frontend
docker compose stop db  # ⚠️ Stops database - all services affected

Start Previously Stopped Service

docker compose start backend