#!/bin/bash # Check for the environment parameter if [ "$1" = "local" ]; then COMPOSE_FILES="-f docker-compose.yml -f docker-compose.local.yml" else COMPOSE_FILES="-f docker-compose.yml" fi # Stop and remove the Docker Compose services docker-compose $COMPOSE_FILES down