Process docker-compose logs so they can be handled properly by tools like pino-pretty
.
See pinojs/pino#178 for details.
set -euo pipefail
docker-compose -f ./docker-compose.yml up --exit-code-from important-container | npx docker-compose-logs-processor | npx pino-pretty