Skip to content

Process docker-compose logs so they can be handled properly by tools like pino-pretty

License

Notifications You must be signed in to change notification settings

DanielHreben/docker-compose-logs-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-logs-processor

Process docker-compose logs so they can be handled properly by tools like pino-pretty. See pinojs/pino#178 for details.

Usage

set -euo pipefail
docker-compose -f ./docker-compose.yml up --exit-code-from important-container | npx docker-compose-logs-processor | npx pino-pretty

About

Process docker-compose logs so they can be handled properly by tools like pino-pretty

Resources

License

Stars

Watchers

Forks

Packages

No packages published