Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Alexis-benoist/draw-compose

Render Docker compose files.
https://github.com/Alexis-benoist/draw-compose

Last synced: about 2 months ago
JSON representation

Render Docker compose files.

Awesome Lists containing this project

README

        

# Draw compose

Render compose files with one command line!

This project needs graphviz installed.

## Simple example

![Simple example](https://raw.githubusercontent.com/Alexis-benoist/draw-compose/master/fixtures/simple.png?raw=true "Simple Example")

## Classic python example
![Python classic](https://raw.githubusercontent.com/Alexis-benoist/draw-compose/master/fixtures/real.png?raw=true "Python web app")

# Install
## On OSX:
Install graphviz `brew install graphviz` and draw-compose:

$ pip install draw-compose

# Use

Renders by default `docker-compose.yml` in the current folder.

$ draw-compose -o docker.png

Or a specific docker file can be rendered:

$ draw-compose -i fixtures/real.yml -o docker-specific.png

# Notes
Released under an Apache License 2.0

Similar:
- [docker-compose-graphviz](https://github.com/abesto/docker-compose-graphviz) written in GoLang
- [compose-plantuml](https://github.com/funkwerk/compose_plantuml) written in Python

Creator: Alexis Benoist @Alexis_Benoist

Inspired by [ERAlchemy](https://github.com/Alexis-benoist/ERAlchemy)