#!/bin/bash

# Check if we are in the right place
if [ ! -d ./services ]; then
    echo "You must run this command from the project's root folder."
    exit 1
fi


if [[ "x$1" != "x" ]] ; then
    docker-compose logs -f $1
else
    docker-compose logs -f   
fi


