fix(scripts): dev.sh down --remove-orphans (cleans up prod-test leftovers)
This commit is contained in:
parent
e68e64065a
commit
abc2f1b78d
@ -51,10 +51,14 @@ case "${1:-}" in
|
||||
"${COMPOSE[@]}" ps
|
||||
;;
|
||||
down)
|
||||
"${COMPOSE[@]}" down
|
||||
# --remove-orphans cleans up containers from manual `docker compose
|
||||
# -f docker-compose.yml ...` invocations (e.g., the prod-mode gunicorn
|
||||
# smoke test) that landed in the same compose project but aren't
|
||||
# services in the override.
|
||||
"${COMPOSE[@]}" down --remove-orphans
|
||||
;;
|
||||
reset-db)
|
||||
"${COMPOSE[@]}" down --volumes
|
||||
"${COMPOSE[@]}" down --volumes --remove-orphans
|
||||
"${COMPOSE[@]}" up -d --build mysql api-server web-view
|
||||
;;
|
||||
logs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user