#!/bin/bash

print_help () {
    echo "Stops all running services"
}

while test $# -gt 0; do
    case "$1" in
        -h|--help)
            print_help
            exit 0
            ;;
        *)
            shift
            ;;
    esac
done

current_dir=$(pwd)
cd "$(dirname "${BASH_SOURCE[0]}")" || exit 1
docker-compose down
cd "$current_dir" || exit 1