Skip to content

Instantly share code, notes, and snippets.

@colossus9
Created December 8, 2016 20:01
Show Gist options
  • Save colossus9/dddde7da285b05be002f1850e620f202 to your computer and use it in GitHub Desktop.
Save colossus9/dddde7da285b05be002f1850e620f202 to your computer and use it in GitHub Desktop.
Generate Service Architecture for your docker-compose.yml
#!/bin/sh
#
# Use this script to generate a Service Architecture
# for your docker-compose.yml file.
#
cd $PATH_TO_COMPOSE_FILE
cat docker-compose.yml | \
docker run -i funkwerk/compose_plantuml --link-graph --boundaries | \
docker run -i think/plantuml -tpng > output.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment