Skip to content
Snippets Groups Projects
Select Git revision
  • e602030e927a3e984dba08d8fee0d55ee323fd0f
  • main default protected
2 results

logs

Blame
  • user avatar
    Stefano Alberto Russo authored
    Moved to docker-compose-defaulkt.yml. Default behaviour of the run script is now to daemonize. Added view logs scrips.
    e602030e
    History
    logs 263 B
    #!/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